Skip to content

Commit

Permalink
chore: removes unneeded gradient references
Browse files Browse the repository at this point in the history
  • Loading branch information
anechol authored and kajabi-bot committed Sep 16, 2024
1 parent 3da9c62 commit 22bdc34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/lib/sage_rails/app/sage_components/sage_icon_card.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ 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}],
icon: String,
label: [:optional, NilClass, String],
round: [:optional, NilClass, TrueClass],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ 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 %>
<%= component.generated_css_classes %>
"
<% component.attributes.each do |key, value| %>
Expand Down

0 comments on commit 22bdc34

Please sign in to comment.