-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
fix(ds): fix (negative) elevations #17616
Conversation
WalkthroughThe changes update how negative elevation values are handled across the codebase. In the button styling utility, the mapping for elevation -1 now returns a new token, replacing the previous one. In the theme configuration, multiple new properties have been added to both light and dark themes for managing negative elevation, while deprecated or invalid tokens have been removed. Additionally, the palette conversion script now normalizes names by replacing instances of "-1" with "Negative" before further processing. No changes were made to the public API declarations. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (6)
🔇 Additional comments (2)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@@ -22,6 +22,7 @@ import { hideBin } from 'yargs/helpers'; | |||
|
|||
const normalizeName = (name: string) => | |||
name | |||
.replace(/(-1)/g, 'Negative') |
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.
This caused bug that I forgot to add these "negative" colors 😅
(-1 was converted to 1 and it was replaced with next 1 token)
8a2e798
to
8bdbb70
Compare
Description
Related Issue
Resolve
Screenshots: