Skip to content

Commit 815371a

Browse files
committed
fix: improved tailwindcss configuration
1 parent bdefa3b commit 815371a

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/styles/global.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
:root { font-family: "Inter", sans-serif; }
2+
3+
@supports (font-variation-settings: normal) {
4+
:root { font-family: "InterVariable", sans-serif; font-optical-sizing: auto; }
5+
}
6+
17
@import 'tailwindcss';
8+
@plugin '@tailwindcss/typography';
9+
@config '../../tailwind.config.mjs';
210

311
@custom-variant dark (&:where(.dark, .dark *));
412

@@ -34,8 +42,12 @@
3442

3543
@theme inline {
3644
--spacing: 4px;
45+
--color-white: #fff;
46+
--color-black: #000;
3747
--color-background: var(--palette-50);
3848
--color-foreground: var(--palette-600);
39-
--color-muted-foreground: var(--palette-500);
40-
--color-heading: var(--palette-800);
49+
--color-muted-foreground: var(--palette-400);
50+
--color-headings: var(--palette-800);
51+
52+
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
4153
}

0 commit comments

Comments
 (0)