Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

Commit 188126d

Browse files
committed
Fix activity view "new" button styles
1 parent 1a2d973 commit 188126d

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

app/components/button_component.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<%= container do %>
22
<% if icon && (icon_position != :right) %>
3-
<%= helpers.icon(icon, size: size, color: icon_color) %>
3+
<%= helpers.icon(icon, size: size, color: icon_color, class: icon_classes) %>
44
<% end %>
55

66
<% unless icon_only? %>

app/components/buttonish_component.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class ButtonishComponent < ViewComponent::Base
55
icon_classes: "fg-inverse"
66
},
77
secondary: {
8-
container_classes: "text-secondary bg-gray-50 theme-dark:bg-gray-700 hover:bg-gray-100 theme-dark:hover:bg-gray-600 disabled:bg-gray-200 theme-dark:disabled:bg-gray-600",
8+
container_classes: "text-primary bg-gray-50 theme-dark:bg-gray-700 hover:bg-gray-100 theme-dark:hover:bg-gray-600 disabled:bg-gray-200 theme-dark:disabled:bg-gray-600",
99
icon_classes: "fg-primary"
1010
},
1111
destructive: {

db/schema.rb

Lines changed: 1 addition & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)