Skip to content

Build your personal knowledge base with Trilium Notes

style/calendar collection: tweak the color of the today column / cell

Adorian Doran7713c1173ad3
diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css
index 8780b1ba5a..ba3801b761 100644
--- a/apps/client/src/stylesheets/theme-next-dark.css
+++ b/apps/client/src/stylesheets/theme-next-dark.css
@@ -276,6 +276,7 @@
--calendar-coll-event-background-color: #3c3c3c;
--calendar-coll-event-text-color: white;
--calendar-cell-event-hover-filter: brightness(1.25);
+ --calendar-coll-today-background-color: #ffffff08;
}
/*
diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css
index 423ef8d523..0afc61e7b7 100644
--- a/apps/client/src/stylesheets/theme-next-light.css
+++ b/apps/client/src/stylesheets/theme-next-light.css
@@ -274,6 +274,7 @@
--calendar-coll-event-background-color: #eaeaea;
--calendar-coll-event-text-color: black;
--calendar-cell-event-hover-filter: brightness(.95) saturate(1.25);
+ --calendar-coll-today-background-color: #00000006;
}
#left-pane .fancytree-node.tinted {
diff --git a/apps/client/src/widgets/collections/calendar/index.css b/apps/client/src/widgets/collections/calendar/index.css
index fd98e721d2..1717cba606 100644
--- a/apps/client/src/widgets/collections/calendar/index.css
+++ b/apps/client/src/widgets/collections/calendar/index.css
@@ -5,6 +5,7 @@
--calendar-coll-event-background-color: var(--accented-background-color);
--calendar-coll-event-text-color: var(--primary-button-text-color);
--calendar-cell-event-hover-filter: none;
+ --calendar-coll-today-background-color: var(--more-accented-background-color);
}
.calendar-view {
@@ -12,6 +13,7 @@
--fc-event-bg-color: var(--calendar-coll-event-background-color);
--fc-event-text-color: var(--calendar-coll-event-text-color);
--fc-event-selected-overlay-color: transparent;
+ --fc-today-bg-color: var(--calendar-coll-today-background-color);
overflow: hidden;
position: relative;