@fea-ui/styles 0.1.0-alpha.1 → 0.1.0-alpha.10
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 -14
- package/package.json +7 -8
- package/src/components/accordion.css +22 -26
- package/src/components/alert-dialog.css +50 -0
- package/src/components/alert.css +46 -0
- package/src/components/button-group.css +4 -4
- package/src/components/button.css +42 -32
- package/src/components/card.css +1 -1
- package/src/components/checkbox-group.css +1 -1
- package/src/components/checkbox.css +1 -1
- package/src/components/chip.css +10 -10
- package/src/components/container.css +1 -1
- package/src/components/description.css +3 -0
- package/src/components/dialog.css +13 -1
- package/src/components/drawer.css +84 -0
- package/src/components/field-error.css +3 -0
- package/src/components/fieldset.css +9 -0
- package/src/components/index.css +27 -17
- package/src/components/input.css +25 -27
- package/src/components/label.css +5 -1
- package/src/components/link.css +22 -16
- package/src/components/list.css +2 -2
- package/src/components/menu.css +48 -0
- package/src/components/meter.css +1 -1
- package/src/components/navbar.css +12 -14
- package/src/components/popover.css +11 -0
- package/src/components/progress.css +72 -0
- package/src/components/radio.css +31 -0
- package/src/components/sidebar.css +65 -0
- package/src/components/slider.css +25 -0
- package/src/components/switch.css +19 -19
- package/src/components/table.css +31 -0
- package/src/components/tabs.css +32 -32
- package/src/components/text-field.css +4 -0
- package/src/components/text.css +1 -1
- package/src/components/toggle-button.css +4 -4
- package/src/styles.css +99 -104
- package/src/components/field.css +0 -12
- package/src/components/textarea.css +0 -1
package/src/styles.css
CHANGED
|
@@ -1,127 +1,122 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
|
-
|
|
3
2
|
@import "./components/index.css" layer(components);
|
|
4
3
|
|
|
5
4
|
:root {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
5
|
+
--navbar-height: 4rem;
|
|
6
|
+
--radius: 0.625rem;
|
|
7
|
+
|
|
8
|
+
--background: oklch(0.9702 0 0);
|
|
9
|
+
--foreground: oklch(0.145 0 0);
|
|
10
|
+
|
|
11
|
+
--surface: oklch(1 0 0);
|
|
12
|
+
--surface-foreground: oklch(0.145 0 0);
|
|
13
|
+
--popover: oklch(1 0 0);
|
|
14
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
15
|
+
--input: oklch(0.922 0 0);
|
|
16
|
+
--input-foreground: oklch(0.205 0 0);
|
|
17
|
+
--accordion: oklch(1 0 0);
|
|
18
|
+
--accordion-foreground: oklch(0.145 0 0);
|
|
19
|
+
|
|
20
|
+
--primary: oklch(0.205 0 0);
|
|
21
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
22
|
+
--secondary: oklch(0.91 0.0013 286.37);
|
|
23
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
24
|
+
--muted: oklch(0.97 0 0);
|
|
25
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
26
|
+
--accent: oklch(0.97 0 0);
|
|
27
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
28
|
+
--danger: oklch(0.577 0.245 27.325);
|
|
29
|
+
--danger-foreground: oklch(0.985 0 0);
|
|
30
|
+
--success: oklch(0.623 0.17 145);
|
|
31
|
+
--success-foreground: oklch(0.985 0 0);
|
|
32
|
+
|
|
33
|
+
--border: oklch(0.922 0 0);
|
|
34
|
+
--ring: oklch(62% 0.18 250);
|
|
35
|
+
--link: oklch(0.205 0 0);
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
.dark {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
39
|
+
--background: oklch(0.145 0 0);
|
|
40
|
+
--foreground: oklch(0.985 0 0);
|
|
41
|
+
|
|
42
|
+
--surface: oklch(0.205 0 0);
|
|
43
|
+
--surface-foreground: oklch(0.985 0 0);
|
|
44
|
+
--overlay: oklch(0.205 0 0);
|
|
45
|
+
--overlay-foreground: oklch(0.985 0 0);
|
|
46
|
+
--popover: oklch(0.205 0 0);
|
|
47
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
48
|
+
--input: oklch(1 0 0 / 15%);
|
|
49
|
+
--input-foreground: oklch(0.985 0 0);
|
|
50
|
+
--accordion: oklch(0.205 0 0);
|
|
51
|
+
--accordion-foreground: oklch(0.985 0 0);
|
|
52
|
+
|
|
53
|
+
--primary: oklch(0.922 0 0);
|
|
54
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
55
|
+
--secondary: oklch(0.269 0 0);
|
|
56
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
57
|
+
--muted: oklch(0.269 0 0);
|
|
58
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
59
|
+
--danger: oklch(0.704 0.191 22.216);
|
|
60
|
+
--danger-foreground: oklch(0.985 0 0);
|
|
61
|
+
--success: oklch(0.7017 0.3225 145);
|
|
62
|
+
--success-foreground: oklch(0.205 0 0);
|
|
63
|
+
|
|
64
|
+
--border: oklch(1 0 0 / 10%);
|
|
65
|
+
--ring: oklch(62% 0.18 250);
|
|
66
|
+
--link: oklch(0.922 0 0);
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
@theme inline {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
@layer base {
|
|
100
|
-
* {
|
|
101
|
-
@apply border-border outline-ring/50;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
body {
|
|
105
|
-
@apply bg-background text-foreground;
|
|
106
|
-
}
|
|
70
|
+
--radius: var(--radius);
|
|
71
|
+
|
|
72
|
+
--color-background: var(--background);
|
|
73
|
+
--color-foreground: var(--foreground);
|
|
74
|
+
|
|
75
|
+
--color-surface: var(--surface);
|
|
76
|
+
--color-surface-foreground: var(--surface-foreground);
|
|
77
|
+
--color-overlay: var(--overlay);
|
|
78
|
+
--color-overlay-foreground: var(--overlay-foreground);
|
|
79
|
+
--color-popover: var(--popover);
|
|
80
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
81
|
+
--color-input: var(--input);
|
|
82
|
+
--color-input-foreground: var(--input-foreground);
|
|
83
|
+
--color-accordion: var(--accordion);
|
|
84
|
+
--color-accordion-foreground: var(--accordion-foreground);
|
|
85
|
+
|
|
86
|
+
--color-primary: var(--primary);
|
|
87
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
88
|
+
--color-secondary: var(--secondary);
|
|
89
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
90
|
+
--color-muted: var(--muted);
|
|
91
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
92
|
+
--color-danger: var(--danger);
|
|
93
|
+
--color-danger-foreground: var(--danger-foreground);
|
|
94
|
+
--color-success: var(--success);
|
|
95
|
+
--color-success-foreground: var(--success-foreground);
|
|
96
|
+
|
|
97
|
+
--color-border: var(--border);
|
|
98
|
+
--color-ring: var(--ring);
|
|
99
|
+
--color-link: var(--link);
|
|
107
100
|
}
|
|
108
101
|
|
|
109
102
|
@utility status-focused {
|
|
110
|
-
|
|
103
|
+
@apply ring-offset-background ring-2 ring-offset-2 outline-none;
|
|
111
104
|
}
|
|
112
105
|
|
|
113
106
|
@utility status-disabled {
|
|
114
|
-
|
|
107
|
+
@apply cursor-not-allowed opacity-50;
|
|
115
108
|
}
|
|
116
109
|
|
|
117
110
|
@utility status-pending {
|
|
118
|
-
|
|
111
|
+
@apply cursor-wait opacity-75;
|
|
119
112
|
}
|
|
120
113
|
|
|
121
|
-
@
|
|
122
|
-
|
|
123
|
-
|
|
114
|
+
@layer base {
|
|
115
|
+
* {
|
|
116
|
+
@apply border-border outline-ring/50;
|
|
117
|
+
}
|
|
124
118
|
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
body {
|
|
120
|
+
@apply bg-background text-foreground;
|
|
121
|
+
}
|
|
127
122
|
}
|
package/src/components/field.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/** Base Styling */
|