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 font color of action menu title in wp share modal

bsatarnejad2a99fc492e06
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 e8e75cd335e..38648560112 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