Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

change color of text in header of admin file storage and wp sharing modal

bsatarnejad27f645a9cc0f
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 d004ee4c338..e8e75cd335e 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 6af245efce5..aac5abb311e 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