design: fix classvalue (#560)
This commit is contained in:
1 parent
76c581123a
commit
3d509a6e28
14 files changed
+106
-81
No files matched your search
+20
-2
@@ -8,10 +8,9 @@
|
||||
--font-*: initial;
|
||||
--font-sans: sans-serif;
|
||||
--font-system: system-ui;
|
||||
--font-serif: serif;
|
||||
--font-inter: Inter, system-ui, sans-serif;
|
||||
--font-nunito: Nunito, system-ui, sans-serif;
|
||||
--font-display: Satoshi, system-ui, sans-serif;
|
||||
--font-display: Inter, system-ui, sans-serif;
|
||||
--font-mono: monospace;
|
||||
|
||||
--animate-pop-in: pop-in 0.25s ease-out forwards;
|
||||
@@ -59,6 +58,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
.cc {
|
||||
inset: -1px;
|
||||
position: absolute;
|
||||
border-radius: inherit;
|
||||
z-index: -1;
|
||||
background: linear-gradient(
|
||||
125deg,
|
||||
color-mix(in oklab, var(--color-zinc-50) 20%, transparent),
|
||||
color-mix(in oklab, var(--color-zinc-50) 0%, transparent),
|
||||
color-mix(in oklab, var(--color-zinc-50) 20%, transparent)
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
The default border color has changed to `currentcolor` in Tailwind CSS v4,
|
||||
so we've added these compatibility styles to make sure everything still
|
||||
@@ -95,6 +107,12 @@
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'EBGaramond';
|
||||
src: url('/font/EBGaramond-Regular.woff2') format('woff2');
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-slate-50 text-slate-900 dark:bg-zinc-950 dark:text-zinc-100 accent-slate-950 dark:accent-zinc-50;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user