feat: set a tailwind prefix (lsd) to prevent conflicts where lib is used#1
feat: set a tailwind prefix (lsd) to prevent conflicts where lib is used#1
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a Tailwind CSS prefix (lsd:) to prevent conflicts when the library is used in consuming applications. The change includes updating the Tailwind configuration and systematically prefixing all utility classes throughout the codebase.
Key Changes:
- Added
prefix(lsd)to the Tailwind CSS import insrc/style.css - Prefixed all Tailwind utility classes with
lsd:across component and fixture files - Updated base layer styles to use the prefix
Reviewed changes
Copilot reviewed 57 out of 57 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/style.css | Core Tailwind configuration with prefix(lsd) added |
| src/components/ui/*.tsx | All component files updated with lsd: prefix on Tailwind classes |
| src/cosmos/fixtures/*.tsx | All fixture/demo files updated with lsd: prefix |
| src/cosmos/*.tsx | Helper components updated with lsd: prefix |
The implementation appears comprehensive and systematic. All Tailwind utility classes have been prefixed consistently across the codebase, including components, fixtures, and example code. The approach correctly handles pseudo-classes, data attributes, arbitrary values, and responsive modifiers.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2f64933 to
840155d
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 58 out of 59 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.