-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: CU-1n5w3vb add loading and variants to badge #167
feat: CU-1n5w3vb add loading and variants to badge #167
Conversation
Task linked: CU-1n5w3vb Badges: update and clean code |
} | ||
|
||
// this is a workaround because styled-system does not support theme colors for `linear-gradient` |
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.
098eb2c
to
29d02db
Compare
@@ -69,7 +69,8 @@ const theme: ITheme = { | |||
red: '#EB5757', | |||
orange: '#f2994a', | |||
purple: '#9B51E0', | |||
yellow: '#FFF066', | |||
yellow: '#FFE600', |
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 yellow was just wrong, see Figma
'> span': { | ||
color: 'white', | ||
color: 'grayShade3', |
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.
the base color was changed
Card: https://app.clickup.com/t/1n5w3vb
This PR adds:
mode
icon
propBREAKING:
this PR removes these values from
variant
prop:bold
, which is replaced withdefault
nowborder
, we now use themode="bordered"
To be noted:
warning
variant colors are changed, but this should not lead to changes to the code, as the semantics stay the sameDEMO:
bandicam.2021-12-06.21-40-51-888.mp4