Skip to content

Build your personal knowledge base with Trilium Notes

client/note color picker: tweak style

Adorian Dorana5c5486474e0
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 4ce8b1cd77..e127db1aad 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -494,6 +494,10 @@ body #context-menu-container .dropdown-item > span {
width: 100%;
}
+.dropdown-menu .note-color-picker {
+ padding: 10px 12px 8px 12px;
+}
+
.cm-editor {
height: 100%;
outline: none !important;
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index 5976f1dfbe..ba83af30a1 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -347,6 +347,12 @@ li.dropdown-item a.dropdown-item-button:focus-visible {
outline: 2px solid var(--input-focus-outline-color) !important;
}
+:root .dropdown-menu .note-color-picker {
+ padding: 4px 10px;
+ --note-color-picker-clear-color-cell-background: var(--main-text-color);
+ --note-color-picker-clear-color-cell-selection-outline-color: var(--main-text-color);
+}
+
/*
* TOASTS
*/