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 back ground color of buttons in ck editor

Behrokh Satarnejad95b16c17c5a1
diff --git a/app/views/custom_styles/_primer_color_mapping.erb b/app/views/custom_styles/_primer_color_mapping.erb
index e45aba87f38..e169a42e33c 100644
--- a/app/views/custom_styles/_primer_color_mapping.erb
+++ b/app/views/custom_styles/_primer_color_mapping.erb
@@ -86,5 +86,9 @@
--type-form-conf-attribute--background: var(--overlay-bgColor);
--select-arrow-bg-color-url: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
--ck-color-mention-text: var(--display-red-fgColor);
+ --ck-color-button-on-background: var(--button-default-bgColor-active);
+ --ck-color-button-default-active-background: var(--button-default-bgColor-active);
+ --ck-color-button-on-hover-background: var(--button-default-bgColor-hover);
+ --ck-color-button-on-disabled-background: var(--button-default-bgColor-disabled);
}
</style>