Skip to content

Commit

Permalink
Convert indigo to violet
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelroudnitski committed Jan 2, 2025
1 parent 76c80c9 commit 89780e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
class SnFilterable::BaseComponents::ButtonComponent < SnFilterable::BaseComponents::BaseComponent
DEFAULT_BUTTON_TYPE = :default
BUTTON_TYPE_MAPPINGS = {
DEFAULT_BUTTON_TYPE => "shadow-sm border-gray-300 text-gray-700 bg-white hover:bg-gray-50 focus:ring-indigo-500",
:primary => "shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:ring-indigo-500",
DEFAULT_BUTTON_TYPE => "shadow-sm border-gray-300 text-gray-700 bg-white hover:bg-gray-50 focus:ring-violet-500",
:primary => "shadow-sm text-white bg-violet-600 hover:bg-violet-700 focus:ring-violet-500",
:danger => "border-transparent text-red-700 bg-red-100 hover:bg-red-200 focus:ring-red-500",
:disabled => "shadow-sm border-gray-300 text-gray-700 bg-gray-200 cursor-default"
}.freeze
Expand Down
2 changes: 1 addition & 1 deletion app/components/sn_filterable/search_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%= heroicon "magnifying-glass", options: { class: "h-5 w-5 text-gray-400" } %>
</div>
<%= content_tag :input, "",
class: "focus:ring-indigo-500 focus:border-indigo-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md",
class: "focus:ring-violet-500 focus:border-violet-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md",
placeholder: "Search...",
type: "search",
":name": "hasValue && `filter[#{@filter_name}]`",
Expand Down

0 comments on commit 89780e4

Please sign in to comment.