Skip to content

Commit

Permalink
Merge pull request #14179 from opf/50779-wrong-color-used-in-the-Boxe…
Browse files Browse the repository at this point in the history
…s-of-the-share-WP-modal-and-storages-pages

[50779] Wrong color used in the Boxes of the share WP modal and storages pages
  • Loading branch information
HDinger authored Nov 20, 2023
2 parents 0cda27c + 2a99fc4 commit cef3108
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions app/components/work_packages/share/modal_body_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
controller: 'work-packages--share--bulk-selection',
application_target: 'dynamic' }) do
border_box_with_id(insert_target_modifier_id) do |border_box|
border_box.with_header(color: :subtle, data: { 'test-selector': 'op-share-wp-header' }) do
border_box.with_header(color: :muted, data: { 'test-selector': 'op-share-wp-header' }) do
grid_layout('op-share-wp-modal-body--header', tag: :div, align_items: :center) do |header_grid|
header_grid.with_area(:counter, tag: :div) do
render(WorkPackages::Share::CounterComponent.new(work_package: @work_package, count: @shares.size))
Expand All @@ -38,9 +38,9 @@
header_actions.with_column(mr: 2) do
render(Primer::Alpha::ActionMenu.new(anchor_align: :end,
select_variant: :single,
color: :subtle,
color: :muted,
data: { 'test-selector': 'op-share-wp-filter-type' })) do |menu|
menu.with_show_button(scheme: :invisible, color: :subtle) do |button|
menu.with_show_button(scheme: :invisible, color: :muted) do |button|
button.with_trailing_action_icon(icon: "triangle-down")
I18n.t('work_package.sharing.filter.type')
end
Expand All @@ -58,9 +58,9 @@
header_actions.with_column do
render(Primer::Alpha::ActionMenu.new(anchor_align: :end,
select_variant: :single,
color: :subtle,
color: :muted,
data: { 'test-selector': 'op-share-wp-filter-role' })) do |menu|
menu.with_show_button(scheme: :invisible, color: :subtle) do |button|
menu.with_show_button(scheme: :invisible, color: :muted) do |button|
button.with_trailing_action_icon(icon: "triangle-down")
I18n.t('work_package.sharing.filter.role')
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
render(Primer::Beta::Text.new(font_weight: :semibold)) { I18n.t('storages.label_name') }
end

grid.with_area(:user, tag: :div, color: :subtle, mr: 3, hide: :sm) do
grid.with_area(:user, tag: :div, color: :muted, mr: 3, hide: :sm) do
render(Primer::Beta::Text.new(font_weight: :semibold)) { I18n.t('storages.label_creator') }
end

grid.with_area(:provider, tag: :div, color: :subtle, mr: 3, hide: :sm) do
grid.with_area(:provider, tag: :div, color: :muted, mr: 3, hide: :sm) do
render(Primer::Beta::Text.new(font_weight: :semibold)) { I18n.t('storages.label_provider') }
end

grid.with_area(:time, tag: :div, color: :subtle, hide: :sm) do
grid.with_area(:time, tag: :div, color: :muted, hide: :sm) do
render(Primer::Beta::Text.new(font_weight: :semibold)) { I18n.t('storages.label_creation_time') }
end
end
Expand Down

0 comments on commit cef3108

Please sign in to comment.