Skip to content

Commit e7321f1

Browse files
committed
Merge branch 'main' of github.com:lambda-curry/forms into codegen-bot/update-calendar-components-latest-shadcn
2 parents 98f3b78 + d9364f6 commit e7321f1

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

apps/docs/src/main.css

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,75 +5,75 @@
55
:root {
66
--background: hsl(0 0% 100%);
77
--foreground: hsl(222.2 47.4% 11.2%);
8-
98
--muted: hsl(210 40% 96.1%);
109
--muted-foreground: hsl(215.4 16.3% 46.9%);
11-
1210
--popover: hsl(0 0% 100%);
1311
--popover-foreground: hsl(222.2 47.4% 11.2%);
14-
1512
--border: hsl(214.3 31.8% 91.4%);
1613
--input: hsl(214.3 31.8% 91.4%);
17-
1814
--card: hsl(0 0% 100%);
1915
--card-foreground: hsl(222.2 47.4% 11.2%);
20-
2116
--primary: hsl(222.2 47.4% 11.2%);
2217
--primary-foreground: hsl(210 40% 98%);
23-
2418
--secondary: hsl(210 40% 96.1%);
2519
--secondary-foreground: hsl(222.2 47.4% 11.2%);
26-
2720
--accent: hsl(210 40% 96.1%);
2821
--accent-foreground: hsl(222.2 47.4% 11.2%);
29-
3022
--destructive: hsl(0 100% 50%);
3123
--destructive-foreground: hsl(210 40% 98%);
32-
3324
--ring: hsl(215 20.2% 65.1%);
34-
3525
--radius: 0.5rem;
3626
}
3727

3828
.dark {
3929
--background: hsl(224 71% 4%);
4030
--foreground: hsl(213 31% 91%);
41-
4231
--muted: hsl(223 47% 11%);
4332
--muted-foreground: hsl(215.4 16.3% 56.9%);
44-
4533
--accent: hsl(216 34% 17%);
4634
--accent-foreground: hsl(210 40% 98%);
47-
4835
--popover: hsl(224 71% 4%);
4936
--popover-foreground: hsl(215 20.2% 65.1%);
50-
5137
--border: hsl(216 34% 17%);
5238
--input: hsl(216 34% 17%);
53-
5439
--card: hsl(224 71% 4%);
5540
--card-foreground: hsl(213 31% 91%);
56-
5741
--primary: hsl(210 40% 98%);
5842
--primary-foreground: hsl(222.2 47.4% 1.2%);
59-
60-
--secondary: hsl(222.2 84% 4.9%);
43+
--secondary: hsl(222.2 47.4% 11.2%);
6144
--secondary-foreground: hsl(210 40% 98%);
62-
6345
--destructive: hsl(0 63% 31%);
6446
--destructive-foreground: hsl(210 40% 98%);
65-
6647
--ring: hsl(216 34% 17%);
67-
6848
--radius: 0.5rem;
6949
}
70-
71-
* {
72-
border-color: hsl(var(--border));
50+
@theme inline {
51+
--color-background: var(--background);
52+
--color-foreground: var(--foreground);
53+
--color-muted: var(--muted);
54+
--color-muted-foreground: var(--muted-foreground);
55+
--color-popover: var(--popover);
56+
--color-popover-foreground: var(--popover-foreground);
57+
--color-border: var(--border);
58+
--color-input: var(--input);
59+
--color-card: var(--card);
60+
--color-card-foreground: var(--card-foreground);
61+
--color-primary: var(--primary);
62+
--color-primary-foreground: var(--primary-foreground);
63+
--color-secondary: var(--secondary);
64+
--color-secondary-foreground: var(--secondary-foreground);
65+
--color-accent: var(--accent);
66+
--color-accent-foreground: var(--accent-foreground);
67+
--color-destructive: var(--destructive);
68+
--color-destructive-foreground: var(--destructive-foreground);
69+
--color-ring: var(--ring);
7370
}
7471

75-
body {
76-
background-color: hsl(var(--background));
77-
color: hsl(var(--foreground));
78-
font-feature-settings: "rlig" 1, "calt" 1;
72+
@layer base {
73+
* {
74+
@apply border-[var(--color-border)];
75+
}
76+
body {
77+
@apply bg-[var(--color-background)] text-[var(--color-foreground)];
78+
}
7979
}

0 commit comments

Comments
 (0)