-
Notifications
You must be signed in to change notification settings - Fork 25
docs(design-system): add tailwind migration docs #1221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
08c236f to
ac69a9b
Compare
|
|
||
| ## Helper methods | ||
|
|
||
| The design-system provides a set of helper methods and composables that might be helpful, especially when developing apps or extensions within the OpenCloud ecosystem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally here should be a link to the docs for the helper methods, unfortunately they don't exist yet.
ac69a9b to
5d1112c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive documentation for migrating to Tailwind CSS in the design-system v4 and restructures the documentation organization. The main purpose is to help developers transition from the old custom utility classes to Tailwind's standardized approach.
- Adds a detailed Tailwind migration guide with mapping tables for utility classes, components, and custom CSS
- Restructures documentation by moving installation/usage guides from README to dedicated docs files
- Adds documentation for the new OcCard component
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/design-system/src/components/OcCard/OcCard.vue | Minor comment formatting fix removing HTML tags |
| packages/design-system/docs/gettingStarted/usage.md | New usage guide explaining components, utility classes, and helper methods |
| packages/design-system/docs/gettingStarted/tailwindMigration.md | Comprehensive migration guide with utility class mappings and component changes |
| packages/design-system/docs/gettingStarted/installation.md | New installation guide moved from README with setup instructions |
| packages/design-system/docs/designTokens/colorRoles.md | Updates styling and adds Tailwind utility class usage examples |
| packages/design-system/docs/designTokens/colorPalette.md | Removes redundant styling |
| packages/design-system/docs/components/OcCard/OcCard.md | New component documentation for OcCard |
| packages/design-system/docs/.vitepress/theme/custom.scss | Adds styling for documentation tables and live code blocks |
| packages/design-system/docs/.vitepress/config.ts | Updates navigation to include new getting started section |
| packages/design-system/README.md | Simplifies README by moving detailed content to dedicated docs |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
packages/design-system/docs/gettingStarted/tailwindMigration.md
Outdated
Show resolved
Hide resolved
5d1112c to
ab3f795
Compare
kulmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 🤩
Co-authored-by: Benedikt Kulmann <b.kulmann@opencloud.eu>
docs(design-system): add tailwind migration docs
Adds tailwind migration docs and restructures the design-system docs in general. The guide on how to install and initialize it has been moved from the readme file to the docs.
Also adds docs for the new
OcCardcomponent.closes #937