Skip to content

Commit 37d8f24

Browse files
authored
Merge pull request #43 from landrade/upgrade-tailwind
Upgrade TailwindCSS to version 4
2 parents 96e59a8 + 97aff57 commit 37d8f24

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2921
-2927
lines changed

assets/css/input.css

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import 'tailwindcss';
2+
3+
@custom-variant dark (&:where(.dark, .dark *));
4+
5+
@theme {
6+
--color-border: hsl(var(--border));
7+
--color-input: hsl(var(--input));
8+
--color-background: hsl(var(--background));
9+
--color-foreground: hsl(var(--foreground));
10+
--color-primary: hsl(var(--primary));
11+
--color-primary-foreground: hsl(var(--primary-foreground));
12+
--color-secondary: hsl(var(--secondary));
13+
--color-secondary-foreground: hsl(var(--secondary-foreground));
14+
--color-destructive: hsl(var(--destructive));
15+
--color-destructive-foreground: hsl(var(--destructive-foreground));
16+
--color-muted: hsl(var(--muted));
17+
--color-muted-foreground: hsl(var(--muted-foreground));
18+
--color-accent: hsl(var(--accent));
19+
--color-accent-foreground: hsl(var(---accent-foreground));
20+
--color-popover: hsl(var(--popover));
21+
--color-popover-foreground: hsl(var(--popover-foreground));
22+
--color-card: hsl(var(--card));
23+
--color-card-foreground: hsl(var(--card-foreground));
24+
25+
--radius-sm: calc(var(--radius) - 4px);
26+
--radius-md: calc(var(--radius) - 2px);
27+
--radius-lg: var(--radius);
28+
29+
--container-2xl: 1400px;
30+
}
431

532
@layer base {
633
:root {
@@ -25,6 +52,7 @@
2552
--ring: 240 5.9% 10%;
2653
--radius: 0.5rem;
2754
}
55+
2856
.dark {
2957
--background: 240 10% 3.9%;
3058
--foreground: 0 0% 98%;
@@ -47,8 +75,7 @@
4775
--ring: 240 4.9% 83.9%;
4876
--radius: 0.5rem;
4977
}
50-
}
51-
@layer base {
78+
5279
* {
5380
@apply border-border;
5481
}

0 commit comments

Comments
 (0)