@srcroot/ui 0.0.3 → 0.0.5
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/dist/index.js +286 -47
- package/package.json +1 -1
- package/registry/accordion.tsx +6 -2
- package/registry/design-tokens.css +197 -0
- package/registry/resizable.tsx +160 -97
- package/registry/themes/gray.css +86 -0
- package/registry/themes/index.css +19 -0
- package/registry/themes/neutral.css +86 -0
- package/registry/themes/slate.css +86 -0
- package/registry/themes/stone.css +86 -0
- package/registry/themes/zinc.css +86 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @srcroot/ui - Stone Theme
|
|
3
|
+
* Warm gray with subtle brown undertones
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@layer base {
|
|
7
|
+
:root {
|
|
8
|
+
--background: 0 0% 100%;
|
|
9
|
+
--foreground: 24 9.8% 10%;
|
|
10
|
+
|
|
11
|
+
--card: 0 0% 100%;
|
|
12
|
+
--card-foreground: 24 9.8% 10%;
|
|
13
|
+
|
|
14
|
+
--popover: 0 0% 100%;
|
|
15
|
+
--popover-foreground: 24 9.8% 10%;
|
|
16
|
+
|
|
17
|
+
--primary: 24 9.8% 10%;
|
|
18
|
+
--primary-foreground: 60 9.1% 97.8%;
|
|
19
|
+
|
|
20
|
+
--secondary: 60 4.8% 95.9%;
|
|
21
|
+
--secondary-foreground: 24 9.8% 10%;
|
|
22
|
+
|
|
23
|
+
--muted: 60 4.8% 95.9%;
|
|
24
|
+
--muted-foreground: 25 5.3% 44.7%;
|
|
25
|
+
|
|
26
|
+
--accent: 60 4.8% 95.9%;
|
|
27
|
+
--accent-foreground: 24 9.8% 10%;
|
|
28
|
+
|
|
29
|
+
--destructive: 0 84.2% 60.2%;
|
|
30
|
+
--destructive-foreground: 60 9.1% 97.8%;
|
|
31
|
+
|
|
32
|
+
--success: 142.1 76.2% 36.3%;
|
|
33
|
+
--success-foreground: 60 9.1% 97.8%;
|
|
34
|
+
|
|
35
|
+
--warning: 45.4 93.4% 47.5%;
|
|
36
|
+
--warning-foreground: 24 9.8% 10%;
|
|
37
|
+
|
|
38
|
+
--info: 201.3 96.3% 32.2%;
|
|
39
|
+
--info-foreground: 60 9.1% 97.8%;
|
|
40
|
+
|
|
41
|
+
--border: 20 5.9% 90%;
|
|
42
|
+
--input: 20 5.9% 90%;
|
|
43
|
+
--ring: 24 9.8% 10%;
|
|
44
|
+
|
|
45
|
+
--radius: 0.5rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.dark {
|
|
49
|
+
--background: 24 9.8% 10%;
|
|
50
|
+
--foreground: 60 9.1% 97.8%;
|
|
51
|
+
|
|
52
|
+
--card: 24 9.8% 10%;
|
|
53
|
+
--card-foreground: 60 9.1% 97.8%;
|
|
54
|
+
|
|
55
|
+
--popover: 24 9.8% 10%;
|
|
56
|
+
--popover-foreground: 60 9.1% 97.8%;
|
|
57
|
+
|
|
58
|
+
--primary: 60 9.1% 97.8%;
|
|
59
|
+
--primary-foreground: 24 9.8% 10%;
|
|
60
|
+
|
|
61
|
+
--secondary: 12 6.5% 15.1%;
|
|
62
|
+
--secondary-foreground: 60 9.1% 97.8%;
|
|
63
|
+
|
|
64
|
+
--muted: 12 6.5% 15.1%;
|
|
65
|
+
--muted-foreground: 24 5.4% 63.9%;
|
|
66
|
+
|
|
67
|
+
--accent: 12 6.5% 15.1%;
|
|
68
|
+
--accent-foreground: 60 9.1% 97.8%;
|
|
69
|
+
|
|
70
|
+
--destructive: 0 62.8% 30.6%;
|
|
71
|
+
--destructive-foreground: 60 9.1% 97.8%;
|
|
72
|
+
|
|
73
|
+
--success: 142.1 70.6% 45.3%;
|
|
74
|
+
--success-foreground: 24 9.8% 10%;
|
|
75
|
+
|
|
76
|
+
--warning: 48 96.5% 53.1%;
|
|
77
|
+
--warning-foreground: 24 9.8% 10%;
|
|
78
|
+
|
|
79
|
+
--info: 199.4 95.5% 53.8%;
|
|
80
|
+
--info-foreground: 24 9.8% 10%;
|
|
81
|
+
|
|
82
|
+
--border: 12 6.5% 15.1%;
|
|
83
|
+
--input: 12 6.5% 15.1%;
|
|
84
|
+
--ring: 24 5.7% 82.9%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @srcroot/ui - Zinc Theme
|
|
3
|
+
* Cool gray with subtle blue undertones
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@layer base {
|
|
7
|
+
:root {
|
|
8
|
+
--background: 0 0% 100%;
|
|
9
|
+
--foreground: 240 10% 3.9%;
|
|
10
|
+
|
|
11
|
+
--card: 0 0% 100%;
|
|
12
|
+
--card-foreground: 240 10% 3.9%;
|
|
13
|
+
|
|
14
|
+
--popover: 0 0% 100%;
|
|
15
|
+
--popover-foreground: 240 10% 3.9%;
|
|
16
|
+
|
|
17
|
+
--primary: 240 5.9% 10%;
|
|
18
|
+
--primary-foreground: 0 0% 98%;
|
|
19
|
+
|
|
20
|
+
--secondary: 240 4.8% 95.9%;
|
|
21
|
+
--secondary-foreground: 240 5.9% 10%;
|
|
22
|
+
|
|
23
|
+
--muted: 240 4.8% 95.9%;
|
|
24
|
+
--muted-foreground: 240 3.8% 46.1%;
|
|
25
|
+
|
|
26
|
+
--accent: 240 4.8% 95.9%;
|
|
27
|
+
--accent-foreground: 240 5.9% 10%;
|
|
28
|
+
|
|
29
|
+
--destructive: 0 84.2% 60.2%;
|
|
30
|
+
--destructive-foreground: 0 0% 98%;
|
|
31
|
+
|
|
32
|
+
--success: 142.1 76.2% 36.3%;
|
|
33
|
+
--success-foreground: 0 0% 98%;
|
|
34
|
+
|
|
35
|
+
--warning: 45.4 93.4% 47.5%;
|
|
36
|
+
--warning-foreground: 240 5.9% 10%;
|
|
37
|
+
|
|
38
|
+
--info: 201.3 96.3% 32.2%;
|
|
39
|
+
--info-foreground: 0 0% 98%;
|
|
40
|
+
|
|
41
|
+
--border: 240 5.9% 90%;
|
|
42
|
+
--input: 240 5.9% 90%;
|
|
43
|
+
--ring: 240 10% 3.9%;
|
|
44
|
+
|
|
45
|
+
--radius: 0.5rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.dark {
|
|
49
|
+
--background: 240 10% 3.9%;
|
|
50
|
+
--foreground: 0 0% 98%;
|
|
51
|
+
|
|
52
|
+
--card: 240 10% 3.9%;
|
|
53
|
+
--card-foreground: 0 0% 98%;
|
|
54
|
+
|
|
55
|
+
--popover: 240 10% 3.9%;
|
|
56
|
+
--popover-foreground: 0 0% 98%;
|
|
57
|
+
|
|
58
|
+
--primary: 0 0% 98%;
|
|
59
|
+
--primary-foreground: 240 5.9% 10%;
|
|
60
|
+
|
|
61
|
+
--secondary: 240 3.7% 15.9%;
|
|
62
|
+
--secondary-foreground: 0 0% 98%;
|
|
63
|
+
|
|
64
|
+
--muted: 240 3.7% 15.9%;
|
|
65
|
+
--muted-foreground: 240 5% 64.9%;
|
|
66
|
+
|
|
67
|
+
--accent: 240 3.7% 15.9%;
|
|
68
|
+
--accent-foreground: 0 0% 98%;
|
|
69
|
+
|
|
70
|
+
--destructive: 0 62.8% 30.6%;
|
|
71
|
+
--destructive-foreground: 0 0% 98%;
|
|
72
|
+
|
|
73
|
+
--success: 142.1 70.6% 45.3%;
|
|
74
|
+
--success-foreground: 240 5.9% 10%;
|
|
75
|
+
|
|
76
|
+
--warning: 48 96.5% 53.1%;
|
|
77
|
+
--warning-foreground: 240 5.9% 10%;
|
|
78
|
+
|
|
79
|
+
--info: 199.4 95.5% 53.8%;
|
|
80
|
+
--info-foreground: 240 5.9% 10%;
|
|
81
|
+
|
|
82
|
+
--border: 240 3.7% 15.9%;
|
|
83
|
+
--input: 240 3.7% 15.9%;
|
|
84
|
+
--ring: 240 4.9% 83.9%;
|
|
85
|
+
}
|
|
86
|
+
}
|