aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/global.css4
-rw-r--r--src/styles/typography.css6
2 files changed, 7 insertions, 3 deletions
diff --git a/src/styles/global.css b/src/styles/global.css
index d7dffa3..8b6c78a 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -84,13 +84,13 @@
[data-theme='dark'] {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
- --primary: oklch(0.922 0 0);
+ --primary: oklch(0.8732 0.2457 149.11);
--primary-foreground: oklch(0.205 0 0);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.708 0 0);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%);
- --ring: oklch(0.556 0 0);
+ --ring: oklch(0.8732 0.2457 149.11 / 0.5);
}
@layer base {
diff --git a/src/styles/typography.css b/src/styles/typography.css
index 6667606..1e86118 100644
--- a/src/styles/typography.css
+++ b/src/styles/typography.css
@@ -1,6 +1,10 @@
@reference './global.css';
@layer base {
+ ::selection {
+ background: var(--color-primary);
+ color: var(--color-primary-foreground);
+ }
p,
h1,
h2,
@@ -64,7 +68,7 @@
}
:where(a):not(:where(.not-prose, .not-prose *)) {
- @apply text-foreground decoration-muted-foreground hover:decoration-foreground font-medium break-words underline underline-offset-[3px] transition-colors;
+ @apply text-foreground decoration-primary hover:decoration-foreground hidden font-medium break-words underline underline-offset-[3px] transition-colors;
}
:where(strong):not(:where(.not-prose, .not-prose *)) {