Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(next)/badges: tweak appearance
Adorian Doran6c308f35c102
diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.cssindex 031bdf465e..b27627bd1d 100644--- a/apps/client/src/stylesheets/theme-next-dark.css+++ b/apps/client/src/stylesheets/theme-next-dark.css@@ -178,6 +178,9 @@--alert-bar-background: #6b6b6b3b;+ --badge-background-color: #ffffff1a;+ --badge-text-color: var(--muted-text-color);+--promoted-attribute-card-background-color: var(--card-background-color);--promoted-attribute-card-shadow-color: #000000b3;diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.cssindex ba994587f7..ff82e99bae 100644--- a/apps/client/src/stylesheets/theme-next-light.css+++ b/apps/client/src/stylesheets/theme-next-light.css@@ -171,6 +171,9 @@--alert-bar-background: #32637b29;+ --badge-background-color: #00000011;+ --badge-text-color: var(--muted-text-color);+--promoted-attribute-card-background-color: var(--card-background-color);--promoted-attribute-card-shadow-color: #00000033;diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.cssindex 9058328c32..116a8ebdd1 100644--- a/apps/client/src/stylesheets/theme-next/base.css+++ b/apps/client/src/stylesheets/theme-next/base.css@@ -171,6 +171,16 @@ html body .dropdown-item[disabled] {opacity: var(--menu-item-disabled-opacity);}+/* Badges */+:root .badge {+ --bs-badge-color: var(--badge-text-color);+ --bs-badge-font-weight: 500;++ background: var(--badge-background-color);+ text-transform: uppercase;+ letter-spacing: .2pt;+}+/* Menu item icon */.dropdown-item .bx {transform: translateY(var(--menu-item-icon-vert-offset));