Skip to content

Build your personal knowledge base with Trilium Notes

style(client): cream template badge

Elian Dorancd1541303431
diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css
index 4dce642429..a32bb7af2f 100644
--- a/apps/client/src/stylesheets/theme-next-dark.css
+++ b/apps/client/src/stylesheets/theme-next-dark.css
@@ -225,7 +225,8 @@
--badge-office-preview-background-color: #3f5470;
--badge-share-background-color: #4d4d4d;
--badge-snippet-background-color: #4d4d4d;
- --badge-template-background-color: #6e5220;
+ --badge-template-background-color: #7d6f52;
+ --badge-template-text-color: white;
--badge-clipped-note-background-color: #295773;
--badge-doc-url-background-color: #1e5c42;
--badge-execute-background-color: #604180;
diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css
index 347f8a76c6..be3d606a29 100644
--- a/apps/client/src/stylesheets/theme-next-light.css
+++ b/apps/client/src/stylesheets/theme-next-light.css
@@ -217,7 +217,8 @@
--badge-office-preview-background-color: #566d87;
--badge-share-background-color: #6b6b6b;
--badge-snippet-background-color: #6b6b6b;
- --badge-template-background-color: #9a6614;
+ --badge-template-background-color: #ece0c0;
+ --badge-template-text-color: #5a4a26;
--badge-clipped-note-background-color: #2284c0;
--badge-doc-url-background-color: #2e7d5e;
--badge-execute-background-color: #7b47af;
diff --git a/apps/client/src/widgets/layout/NoteBadges.css b/apps/client/src/widgets/layout/NoteBadges.css
index 6c1f9cbc4d..5e5e07c61c 100644
--- a/apps/client/src/widgets/layout/NoteBadges.css
+++ b/apps/client/src/widgets/layout/NoteBadges.css
@@ -24,7 +24,10 @@
&.doc-url-badge {--color: var(--badge-doc-url-background-color);}
&.execute-badge {--color: var(--badge-execute-background-color);}
&.snippet-badge {--color: var(--badge-snippet-background-color);}
- &.template-badge {--color: var(--badge-template-background-color);}
+ &.template-badge {
+ --color: var(--badge-template-background-color);
+ color: var(--badge-template-text-color);
+ }
&.excerpt-badge {
--color: var(--main-border-color);
color: var(--main-text-color);