Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/formatting toolbar/color picker dropdown: remove the shadow of the selected color button

Adorian Doran795897d3b622
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index b214cf4f5b..c19420d72e 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -179,6 +179,11 @@
/* Color picker dropdown */
+/* Color palette */
+:root .ck.ck-color-selector .ck-color-grid {
+ --ck-editor-toolbar-button-on-shadow: none; /* Remove the shadow of the selected color button */
+}
+
/* Color picker button */
:root .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker {
--ck-color-base-border: transparent; /* Remove the top border */