Skip to content

Build your personal knowledge base with Trilium Notes

style: tweak the appearance of the promoted attributes cards

Adorian Doran434468730342
diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css
index 0afc805766..ca0d818e6f 100644
--- a/apps/client/src/stylesheets/theme-next-dark.css
+++ b/apps/client/src/stylesheets/theme-next-dark.css
@@ -192,9 +192,9 @@
--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;
-
+ --promoted-attribute-card-background-color: #ffffff21;
+ --promoted-attribute-card-shadow: none;
+
--floating-button-shadow-color: #00000080;
--floating-button-background-color: #494949d2;
--floating-button-color: var(--button-text-color);
diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css
index 4711a2a1b3..631d443b13 100644
--- a/apps/client/src/stylesheets/theme-next-light.css
+++ b/apps/client/src/stylesheets/theme-next-light.css
@@ -185,8 +185,8 @@
--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;
+ --promoted-attribute-card-background-color: #00000014;
+ --promoted-attribute-card-shadow: none;
--floating-button-shadow-color: #00000042;
--floating-button-background-color: #eaeaeacc;
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index b6bd38789d..8a382af897 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -1328,8 +1328,7 @@ div.promoted-attribute-cell {
--pa-card-padding-inline-end: 2px;
--input-background-color: transparent;
- box-shadow: 1px 1px 2px var(--promoted-attribute-card-shadow-color);
-
+ box-shadow: var(--promoted-attribute-card-shadow);
display: inline-flex;
margin: 0;
border-radius: 8px;