@esuiss/tailwind 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/tailwind.css +0 -45
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @esuiss/tailwind
|
|
2
2
|
|
|
3
|
-
Tailwind CSS variants, animations, and
|
|
3
|
+
Tailwind CSS variants, animations, utilities, and base styles used by esuiss-ui components. Installed by `npx @esuiss/ui@latest init`.
|
|
4
4
|
|
|
5
5
|
```css
|
|
6
6
|
@import "tailwindcss";
|
|
7
7
|
@import "@esuiss/tailwind";
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Your theme stays in your own stylesheet: colors under `:root` and `.dark`, and the `@theme inline` block that maps them to Tailwind classes. Requires Tailwind CSS 4.2 or later.
|
package/package.json
CHANGED
package/tailwind.css
CHANGED
|
@@ -2,51 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
@custom-variant dark (&:is(.dark *));
|
|
4
4
|
|
|
5
|
-
@theme inline {
|
|
6
|
-
--font-sans:
|
|
7
|
-
-apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
|
|
8
|
-
system-ui, sans-serif;
|
|
9
|
-
--font-heading: var(--font-sans);
|
|
10
|
-
--color-background: var(--background);
|
|
11
|
-
--color-foreground: var(--foreground);
|
|
12
|
-
--color-card: var(--card);
|
|
13
|
-
--color-card-foreground: var(--card-foreground);
|
|
14
|
-
--color-popover: var(--popover);
|
|
15
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
16
|
-
--color-primary: var(--primary);
|
|
17
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
18
|
-
--color-secondary: var(--secondary);
|
|
19
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
20
|
-
--color-muted: var(--muted);
|
|
21
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
22
|
-
--color-accent: var(--accent);
|
|
23
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
24
|
-
--color-destructive: var(--destructive);
|
|
25
|
-
--color-border: var(--border);
|
|
26
|
-
--color-input: var(--input);
|
|
27
|
-
--color-ring: var(--ring);
|
|
28
|
-
--color-chart-1: var(--chart-1);
|
|
29
|
-
--color-chart-2: var(--chart-2);
|
|
30
|
-
--color-chart-3: var(--chart-3);
|
|
31
|
-
--color-chart-4: var(--chart-4);
|
|
32
|
-
--color-chart-5: var(--chart-5);
|
|
33
|
-
--color-sidebar: var(--sidebar);
|
|
34
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
35
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
36
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
37
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
38
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
39
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
40
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
41
|
-
--radius-sm: calc(var(--radius) * 0.6);
|
|
42
|
-
--radius-md: calc(var(--radius) * 0.8);
|
|
43
|
-
--radius-lg: var(--radius);
|
|
44
|
-
--radius-xl: calc(var(--radius) * 1.4);
|
|
45
|
-
--radius-2xl: calc(var(--radius) * 1.8);
|
|
46
|
-
--radius-3xl: calc(var(--radius) * 2.2);
|
|
47
|
-
--radius-4xl: calc(var(--radius) * 2.6);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
5
|
@theme inline {
|
|
51
6
|
@keyframes accordion-down {
|
|
52
7
|
from {
|