From 2393a1372fbaf3840a1cbc51ef9bb4f7035df472 Mon Sep 17 00:00:00 2001 From: Ashley Echols Date: Mon, 5 Aug 2024 15:30:11 -0500 Subject: [PATCH] chore: removes unneeded gradient references --- docs/lib/sage_rails/app/sage_components/sage_icon_card.rb | 1 - .../app/views/sage_components/_sage_icon_card.html.erb | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/lib/sage_rails/app/sage_components/sage_icon_card.rb b/docs/lib/sage_rails/app/sage_components/sage_icon_card.rb index f2bee59ee7..796d73fc8f 100644 --- a/docs/lib/sage_rails/app/sage_components/sage_icon_card.rb +++ b/docs/lib/sage_rails/app/sage_components/sage_icon_card.rb @@ -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], diff --git a/docs/lib/sage_rails/app/views/sage_components/_sage_icon_card.html.erb b/docs/lib/sage_rails/app/views/sage_components/_sage_icon_card.html.erb index 07ec06daf3..8cfee6764a 100644 --- a/docs/lib/sage_rails/app/views/sage_components/_sage_icon_card.html.erb +++ b/docs/lib/sage_rails/app/views/sage_components/_sage_icon_card.html.erb @@ -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| %>