Skip to content

Conversation

@JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Sep 18, 2025

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 OcCard component.

closes #937

@JammingBen JammingBen self-assigned this Sep 18, 2025
@JammingBen JammingBen force-pushed the docs/tailwind-ods-docs branch 2 times, most recently from 08c236f to ac69a9b Compare September 19, 2025 09:03

## 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.
Copy link
Contributor Author

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.

@JammingBen JammingBen force-pushed the docs/tailwind-ods-docs branch from ac69a9b to 5d1112c Compare September 19, 2025 09:12
@JammingBen JammingBen marked this pull request as ready for review September 19, 2025 10:59
Copilot AI review requested due to automatic review settings September 19, 2025 10:59
Copy link
Contributor

Copilot AI left a 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.

Copy link
Contributor

@kulmann kulmann left a 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>
@JammingBen JammingBen merged commit 286758e into main Sep 22, 2025
28 checks passed
@JammingBen JammingBen deleted the docs/tailwind-ods-docs branch September 22, 2025 10:59
openclouders pushed a commit that referenced this pull request Sep 22, 2025
docs(design-system): add tailwind migration docs
@openclouders openclouders mentioned this pull request Sep 22, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce Tailwind CSS for layouting (viewport sizes, margins, paddings, etc)

3 participants