-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
Compose Convert the base color styles #5198
Conversation
paperColor = ThemeColors.White, | ||
backgroundColor = ThemeColors.Gray100, | ||
borderColor = ThemeColors.Gray200, | ||
inactiveColor = ThemeColors.Gray400, | ||
placeholderColor = ThemeColors.Gray500, | ||
secondaryColor = ThemeColors.Gray600, | ||
primaryColor = ThemeColors.Gray700, | ||
progressiveColor = ThemeColors.Blue600, | ||
successColor = ThemeColors.Green700, | ||
destructiveColor = ThemeColors.Red700, | ||
warningColor = ThemeColors.Yellow700, | ||
highlightColor = ThemeColors.Yellow500, | ||
focusColor = ThemeColors.Orange500, | ||
additionColor = ThemeColors.Blue300_15, | ||
overlayColor = ThemeColors.Black_30 |
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.
Can we have the same order as the WikipediaColor
?
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.
done.
) | ||
} | ||
|
||
val lightColors = WikipediaColor( |
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.
Just curious: the naming here starts with a lowercase, is there anything special meaning for the colors?
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.
fixed this, it was a function before converting to val that's why it had lowercase.
Another idea: do we want to move all Compose-related classes to a |
yes, added a new package called compose |
What does this do?
Convert the base color styles to Compose
Why is this needed?
To make it easier to use our color system with compose.
Phabricator:
https://phabricator.wikimedia.org/T381828
https://phabricator.wikimedia.org/T381910
Testing color base style
#5208