-
Notifications
You must be signed in to change notification settings - Fork 2
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
Empty State - Style Update and Prop Deprecation #1915
Conversation
d8ceef8
to
c264692
Compare
9e569c6
to
dedaaf9
Compare
a6260eb
to
a8ca37e
Compare
dedaaf9
to
28fab7b
Compare
7ac8bb2
to
c811884
Compare
504d035
to
c8a9d09
Compare
319e941
to
d8e410b
Compare
791bda1
to
15627c9
Compare
@@ -4,6 +4,7 @@ class SageIconCard < SageComponent | |||
background_color: [:optional, NilClass, String], | |||
color: [:optional, NilClass, SageSchemas::STATUSES], | |||
foreground_color: [:optional, NilClass, String], | |||
gradient: [:optional, NilClass, {topColor: String, bottomColor: String}], |
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.
For my own curiousity, how would this work for left to right gradients?
15627c9
to
aa214f9
Compare
@@ -11,6 +11,7 @@ style = { | |||
sage-icon-card | |||
<%= "sage-icon-card--#{color}" if color.present? %> | |||
<%= "sage-icon-card--round" if component.round %> | |||
<%= "sage-icon-card--gradient" if component.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.
do we want to have this here, even though we aren't using it?
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.
Good to go
Description
Renames the
scope
prop tosize
and updates styles to match Figma.This PR does not include a gradient.
Screenshots
Testing in
sage-lib
Testing in
kajabi-products
scope
prop tosize
and updates styles to match FigmaRelated
DSS-737