-
Notifications
You must be signed in to change notification settings - Fork 139
fix: raised card design #2526
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
base: main
Are you sure you want to change the base?
fix: raised card design #2526
Conversation
|
Preview is ready. |
|
🎭 Component Tests Report is ready. |
|
The fixed shadow looks great! From the design perspective – regarding the stroke, I'd challenge that decoration. When 2 types of raised cards are displayed in one interface, the stroke doesn't seem to properly communicate the card's interactivity, but creates more visual chaos. So in my opinion we can get rid of the steoke both in Figma and implemented component. @korvin89 wdyt? |
| } | ||
| } | ||
|
|
||
| @at-root &#{$block}_size_l { |
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.
Let's also move --_--box-shadow: 0px 1px 5px var(--g-color-sfx-shadow); declaration from above under @at-root &#{$block}_size_m section here to be symmetrical with &_type_container styles below
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
84dab34 to
86c86c4
Compare
Added border for Card variant raised, fixed shadows for Card variant raised size l. According to the design of Figma