Apply theme to body so popovers get themed too, make selected popover item more clear

This commit is contained in:
Jon Staab
2025-05-12 09:35:41 -07:00
parent 2f9010cd13
commit 4aaa19ea1b
3 changed files with 23 additions and 15 deletions
+13 -10
View File
@@ -46,9 +46,14 @@
:root {
font-family: Lato;
--sait: env(safe-area-inset-top);
--saib: env(safe-area-inset-bottom);
--sail: env(safe-area-inset-left);
--sair: env(safe-area-inset-right);
}
[data-theme] {
@apply bg-base-300;
--base-100: oklch(var(--b1));
--base-200: oklch(var(--b2));
--base-300: oklch(var(--b3));
@@ -57,16 +62,6 @@
--primary-content: oklch(var(--pc));
--secondary: oklch(var(--s));
--secondary-content: oklch(var(--sc));
--sait: env(safe-area-inset-top);
--saib: env(safe-area-inset-bottom);
--sail: env(safe-area-inset-left);
--sair: env(safe-area-inset-right);
}
:root,
body,
html {
@apply bg-base-300;
}
/* safe area insets */
@@ -296,6 +291,14 @@ html {
--tiptap-active-fg: var(--base-content);
}
.tiptap-suggestions__item {
@apply border-l-2 border-solid border-base-100;
}
.tiptap-suggestions__selected {
@apply border-primary;
}
.tiptap {
@apply max-h-[350px] overflow-y-auto p-2 px-4;
}