From 27f645a9cc0fb68147e7effdd9751fe37276b30d Mon Sep 17 00:00:00 2001 From: bsatarnejad Date: Mon, 20 Nov 2023 10:38:34 +0100 Subject: [PATCH 1/2] change color of text in header of admin file storage and wp sharing modal --- .../work_packages/share/modal_body_component.html.erb | 2 +- .../storages/admin/storage_list_component.html.erb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/work_packages/share/modal_body_component.html.erb b/app/components/work_packages/share/modal_body_component.html.erb index d004ee4c338c..e8e75cd335ec 100644 --- a/app/components/work_packages/share/modal_body_component.html.erb +++ b/app/components/work_packages/share/modal_body_component.html.erb @@ -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)) diff --git a/modules/storages/app/components/storages/admin/storage_list_component.html.erb b/modules/storages/app/components/storages/admin/storage_list_component.html.erb index 6af245efce51..aac5abb311ee 100644 --- a/modules/storages/app/components/storages/admin/storage_list_component.html.erb +++ b/modules/storages/app/components/storages/admin/storage_list_component.html.erb @@ -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 From 2a99fc492e06b7fc32e7d1b6d2e92006b9896ca2 Mon Sep 17 00:00:00 2001 From: bsatarnejad Date: Mon, 20 Nov 2023 10:47:05 +0100 Subject: [PATCH 2/2] change font color of action menu title in wp share modal --- .../work_packages/share/modal_body_component.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/work_packages/share/modal_body_component.html.erb b/app/components/work_packages/share/modal_body_component.html.erb index e8e75cd335ec..386485601124 100644 --- a/app/components/work_packages/share/modal_body_component.html.erb +++ b/app/components/work_packages/share/modal_body_component.html.erb @@ -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 @@ -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