-
Notifications
You must be signed in to change notification settings - Fork 2
fix: update README.md for proper style override #175
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
…ytro/rewrite-default-tailwind
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.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| /* biome-ignore lint/style/noDescendingSpecificity: TODO */ | ||
| :not(pre) > code { | ||
| @apply break-words rounded-md px-2 py-0.5 text-gray-600 dark:text-gray-200 dark:border-gray-800 bg-gray-100/50 dark:bg-white/5; | ||
| @apply wrap-break-word rounded-md px-2 py-0.5 text-stone-600 dark:text-stone-200 dark:border-stone-800 bg-stone-100/50 dark:bg-white/5; |
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.
Tailwind v3 incompatibility with wrap-break-word class
Medium Severity
The class wrap-break-word replaces break-words, but wrap-break-word is a Tailwind CSS v4-only utility class. Tailwind v3 uses break-words for the same purpose. Since the README explicitly states support for "Tailwind CSS v3 or v4", this change breaks compatibility for v3 users who would encounter build errors when the @apply directive tries to reference the non-existent wrap-break-word class.
Summary
Test Plan
Note
gray/zinc/neutralwithstone-*classes andprose-stoneacross components (Accordion, Badge stories, Callout, Card, CodeBlock/CodeGroup, Expandable, Frame, Tabs, Tooltip, Tree, Steps, Tile, etc.) and Storybook preview.code.css(inline code, line highlighting, lint ignores).styles.css, retaining core variables.Written by Cursor Bugbot for commit 2de4e4a. This will update automatically on new commits. Configure here.