Skip to content

Commit 1ca2e68

Browse files
committed
chore: combine all css files
1 parent 743af2c commit 1ca2e68

File tree

4 files changed

+79
-82
lines changed

4 files changed

+79
-82
lines changed

packages/tailwind-config/index.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
@import "tailwindcss";
2-
@import "./colors.css";
3-
@import "./spacing.css";
4-
@import "./typography.css";
2+
@import "./variables.css";
53
@import "./animations.css";
64
@source "../**/*.{ts,tsx}";
75

packages/tailwind-config/spacing.css

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/tailwind-config/typography.css

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,3 @@
1-
@theme {
2-
/* Font family */
3-
--font-family-*: initial;
4-
--font-family-heading: Inter;
5-
--font-family-body: Inter;
6-
--font-family-code: IBM Mono;
7-
8-
/* Font weight */
9-
--font-weight-*: initial;
10-
--font-weight-light: Light;
11-
--font-weight-regular: 400;
12-
--font-weight-medium: medium;
13-
--font-weight-semi-bold: semi bold;
14-
--font-weight-bold: bold;
15-
--font-weight-heavy: heavy;
16-
17-
/* Font size */
18-
--text-*: initial;
19-
--text-9: 0.5625rem;
20-
--text-10: 0.625rem;
21-
--text-11: 0.6875rem;
22-
--text-12: 0.75rem;
23-
--text-13: 0.8125rem;
24-
--text-14: 0.875rem;
25-
--text-16: 1rem;
26-
--text-18: 1.125rem;
27-
--text-20: 1.25rem;
28-
--text-24: 1.5rem;
29-
--text-28: 1.75rem;
30-
--text-32: 2rem;
31-
--text-40: 2.5rem;
32-
33-
/* Letter spacing */
34-
--tracking-*: initial;
35-
--tracking-extra-tight: -0.025rem;
36-
--tracking-tight: -0.05rem;
37-
--tracking-default: 0;
38-
--tracking-wide: 0.05rem;
39-
}
40-
411
/* Text Styles */
422
.font-h1-regular {
433
font-family: Inter;
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));
22

3+
/* ---------- Static tokens ---------- */
34
@theme {
45
--color-*: initial;
56

7+
/* ---------- Common colors ---------- */
68
/* White with opacity */
79
--color-alpha-white-0: oklch(1 0 0 / 0%);
810
--color-alpha-white-100: oklch(1 0 0 / 5%);
@@ -32,6 +34,82 @@
3234
--color-alpha-black-1000: oklch(0.1482 0.0034 196.79 / 80%);
3335
--color-alpha-black-1100: oklch(0.1482 0.0034 196.79 / 90%);
3436
--color-alpha-black-1200: oklch(0.1482 0.0034 196.79 / 95%);
37+
38+
/* ---------- Spacing ---------- */
39+
--spacing-*: initial;
40+
--spacing-0: 0;
41+
--spacing-25: 0.0625rem;
42+
--spacing-50: 0.125rem;
43+
--spacing-100: 0.25rem;
44+
--spacing-150: 0.375rem;
45+
--spacing-200: 0.5rem;
46+
--spacing-300: 0.75rem;
47+
--spacing-400: 1rem;
48+
--spacing-500: 1.25rem;
49+
--spacing-600: 1.5rem;
50+
--spacing-700: 1.75rem;
51+
--spacing-800: 2rem;
52+
--spacing-900: 2.25rem;
53+
--spacing-1000: 2.5rem;
54+
--spacing-1100: 2.75rem;
55+
--spacing-1200: 3rem;
56+
57+
/* ---------- Borders radius ---------- */
58+
--radius-*: initial;
59+
--radius-none: 0;
60+
--radius-xs: 0.125rem;
61+
--radius-sm: 0.25rem;
62+
--radius-md: 0.375rem;
63+
--radius-lg: 0.5rem;
64+
--radius-xl: 0.75rem;
65+
--radius-xxl: 1rem;
66+
--radius-rounded: 9999px;
67+
68+
/* ---------- Border width ---------- */
69+
--border-width-*: initial;
70+
--border-width-sm: 1px;
71+
--border-width-md: 1.5px;
72+
--border-width-lg: 2px;
73+
--border-width-xl: 2.5px;
74+
--default-border-width: 1px;
75+
76+
/* ---------- Font family ---------- */
77+
--font-family-*: initial;
78+
--font-family-heading: Inter;
79+
--font-family-body: Inter;
80+
--font-family-code: IBM Mono;
81+
82+
/* ---------- Font weight ---------- */
83+
--font-weight-*: initial;
84+
--font-weight-light: Light;
85+
--font-weight-regular: 400;
86+
--font-weight-medium: medium;
87+
--font-weight-semi-bold: semi bold;
88+
--font-weight-bold: bold;
89+
--font-weight-heavy: heavy;
90+
91+
/* ---------- Font size ---------- */
92+
--text-*: initial;
93+
--text-9: 0.5625rem;
94+
--text-10: 0.625rem;
95+
--text-11: 0.6875rem;
96+
--text-12: 0.75rem;
97+
--text-13: 0.8125rem;
98+
--text-14: 0.875rem;
99+
--text-16: 1rem;
100+
--text-18: 1.125rem;
101+
--text-20: 1.25rem;
102+
--text-24: 1.5rem;
103+
--text-28: 1.75rem;
104+
--text-32: 2rem;
105+
--text-40: 2.5rem;
106+
107+
/* ---------- Letter spacing ---------- */
108+
--tracking-*: initial;
109+
--tracking-extra-tight: -0.025rem;
110+
--tracking-tight: -0.05rem;
111+
--tracking-default: 0;
112+
--tracking-wide: 0.05rem;
35113
}
36114

37115
/* ---------- Light mode color tokens ---------- */

0 commit comments

Comments
 (0)