@rokkit/themes 1.0.0-next.145 → 1.0.0-next.147
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/build.mjs +3 -2
- package/dist/base.css +349 -1
- package/dist/glass.css +276 -17
- package/dist/grada-ui.css +1681 -0
- package/dist/index.css +3596 -245
- package/dist/material.css +377 -61
- package/dist/minimal.css +522 -102
- package/dist/rokkit.css +327 -1
- package/package.json +5 -2
- package/src/base/alert-list.css +91 -0
- package/src/base/dropdown.css +166 -0
- package/src/base/index.css +4 -0
- package/src/base/message.css +62 -0
- package/src/base/status-list.css +19 -0
- package/src/base/toc.css +3 -1
- package/src/base/toolbar.css +4 -0
- package/src/glass/card.css +37 -0
- package/src/glass/dropdown.css +50 -0
- package/src/glass/index.css +4 -0
- package/src/glass/list.css +11 -11
- package/src/glass/menu.css +6 -6
- package/src/glass/message.css +36 -0
- package/src/glass/status-list.css +66 -0
- package/src/grada-ui/button.css +197 -0
- package/src/grada-ui/card.css +92 -0
- package/src/grada-ui/dropdown.css +53 -0
- package/src/grada-ui/floating-action.css +58 -0
- package/src/grada-ui/floating-navigation.css +64 -0
- package/src/grada-ui/index.css +54 -0
- package/src/grada-ui/input.css +155 -0
- package/src/grada-ui/list.css +109 -0
- package/src/grada-ui/menu.css +81 -0
- package/src/grada-ui/message.css +48 -0
- package/src/grada-ui/range.css +54 -0
- package/src/grada-ui/search-filter.css +42 -0
- package/src/grada-ui/select.css +168 -0
- package/src/grada-ui/status-list.css +61 -0
- package/src/grada-ui/switch.css +31 -0
- package/src/grada-ui/table.css +81 -0
- package/src/grada-ui/tabs.css +57 -0
- package/src/grada-ui/timeline.css +36 -0
- package/src/grada-ui/toc.css +24 -0
- package/src/grada-ui/toggle.css +42 -0
- package/src/grada-ui/toolbar.css +81 -0
- package/src/grada-ui/tree.css +93 -0
- package/src/material/button.css +4 -4
- package/src/material/card.css +38 -1
- package/src/material/dropdown.css +50 -0
- package/src/material/floating-action.css +9 -5
- package/src/material/floating-navigation.css +4 -4
- package/src/material/index.css +4 -0
- package/src/material/list.css +11 -11
- package/src/material/menu.css +6 -6
- package/src/material/message.css +36 -0
- package/src/material/range.css +1 -1
- package/src/material/search-filter.css +1 -1
- package/src/material/select.css +16 -11
- package/src/material/status-list.css +66 -0
- package/src/material/switch.css +2 -2
- package/src/material/table.css +3 -3
- package/src/material/tabs.css +23 -0
- package/src/material/toggle.css +3 -3
- package/src/material/toolbar.css +7 -7
- package/src/material/tree.css +24 -3
- package/src/minimal/button.css +6 -6
- package/src/minimal/card.css +38 -1
- package/src/minimal/dropdown.css +50 -0
- package/src/minimal/floating-action.css +9 -5
- package/src/minimal/floating-navigation.css +4 -4
- package/src/minimal/index.css +4 -0
- package/src/minimal/input.css +66 -15
- package/src/minimal/list.css +8 -8
- package/src/minimal/menu.css +6 -6
- package/src/minimal/message.css +36 -0
- package/src/minimal/range.css +1 -1
- package/src/minimal/search-filter.css +1 -1
- package/src/minimal/select.css +11 -11
- package/src/minimal/status-list.css +66 -0
- package/src/minimal/switch.css +2 -2
- package/src/minimal/table.css +3 -3
- package/src/minimal/tabs.css +91 -10
- package/src/minimal/toggle.css +3 -3
- package/src/minimal/toolbar.css +7 -7
- package/src/minimal/tree.css +24 -3
- package/src/rokkit/card.css +37 -0
- package/src/rokkit/dropdown.css +70 -0
- package/src/rokkit/index.css +4 -0
- package/src/rokkit/message.css +44 -0
- package/src/rokkit/status-list.css +68 -0
- package/src/rokkit/tabs.css +25 -1
- package/src/rokkit/toolbar.css +6 -0
package/src/minimal/input.css
CHANGED
|
@@ -1,29 +1,53 @@
|
|
|
1
1
|
/* Minimal Theme - Form field and input styles
|
|
2
|
-
* Underline-
|
|
2
|
+
* Underline-only inputs with animated expanding focus line.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/* Input root: transparent background, bottom border only */
|
|
6
6
|
[data-style='minimal'] [data-input-root] {
|
|
7
|
-
@apply border-surface-
|
|
7
|
+
@apply border-surface-z2 relative flex items-center border-b bg-transparent p-0;
|
|
8
8
|
border-radius: 0;
|
|
9
9
|
background-image: none;
|
|
10
|
+
transition: background-color 150ms ease;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
|
-
/*
|
|
13
|
+
/* Hover: very subtle neutral tint */
|
|
14
|
+
[data-style='minimal'] [data-input-root]:hover:not(:focus-within) {
|
|
15
|
+
@apply bg-surface-z2;
|
|
16
|
+
background-image: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Focus: keep transparent — the ::after animated line handles the accent */
|
|
13
20
|
[data-style='minimal'] [data-input-root]:focus-within {
|
|
14
|
-
@apply
|
|
21
|
+
@apply bg-surface-z1;
|
|
15
22
|
background-image: none;
|
|
16
23
|
}
|
|
17
24
|
|
|
25
|
+
/* Animated underline — grows left to right on focus */
|
|
26
|
+
[data-style='minimal'] [data-input-root]::after {
|
|
27
|
+
content: '';
|
|
28
|
+
position: absolute;
|
|
29
|
+
bottom: -1px;
|
|
30
|
+
left: 0;
|
|
31
|
+
width: 0%;
|
|
32
|
+
height: 2px;
|
|
33
|
+
@apply bg-secondary-z6;
|
|
34
|
+
transition: width 0.3s ease;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[data-style='minimal'] [data-input-root]:focus-within::after {
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
18
41
|
/* Inputs inside wrapper */
|
|
19
42
|
[data-style='minimal']
|
|
20
43
|
[data-input-root]
|
|
21
44
|
input:not([type='checkbox'], [type='radio'], [type='color']),
|
|
22
45
|
[data-style='minimal'] [data-input-root] textarea,
|
|
23
46
|
[data-style='minimal'] [data-input-root] select {
|
|
24
|
-
@apply text-surface-z9 w-full border-none bg-transparent px-1 py-1.5
|
|
47
|
+
@apply text-surface-z9 w-full border-none bg-transparent px-1 py-1.5 outline-none;
|
|
25
48
|
font-size: 0.875rem;
|
|
26
49
|
line-height: 1.25rem;
|
|
50
|
+
transition: color 150ms ease;
|
|
27
51
|
}
|
|
28
52
|
|
|
29
53
|
[data-style='minimal'] [data-input-root] textarea {
|
|
@@ -49,16 +73,17 @@
|
|
|
49
73
|
|
|
50
74
|
/* Labels: smaller, uppercase */
|
|
51
75
|
[data-style='minimal'] [data-field] > label {
|
|
52
|
-
@apply text-surface-
|
|
76
|
+
@apply text-surface-z5 text-xs tracking-wide uppercase;
|
|
77
|
+
transition: color 150ms ease;
|
|
53
78
|
}
|
|
54
79
|
|
|
55
80
|
[data-style='minimal'] [data-form-root] label {
|
|
56
|
-
@apply text-surface-
|
|
81
|
+
@apply text-surface-z5 text-xs tracking-wide uppercase;
|
|
57
82
|
}
|
|
58
83
|
|
|
59
84
|
/* Focused label: secondary color */
|
|
60
85
|
[data-style='minimal'] [data-field]:has([data-input-root]:focus-within) > label {
|
|
61
|
-
@apply text-secondary-
|
|
86
|
+
@apply text-secondary-z6;
|
|
62
87
|
}
|
|
63
88
|
|
|
64
89
|
/* Field root */
|
|
@@ -78,22 +103,48 @@
|
|
|
78
103
|
|
|
79
104
|
/* Disabled state */
|
|
80
105
|
[data-style='minimal'] [data-field-disabled] [data-input-root] {
|
|
81
|
-
@apply border-surface-
|
|
106
|
+
@apply border-surface-z2 cursor-not-allowed opacity-40;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
[data-style='minimal'] [data-field-disabled] [data-input-root]::after {
|
|
110
|
+
display: none;
|
|
82
111
|
}
|
|
83
112
|
|
|
84
113
|
/* Error state */
|
|
85
114
|
[data-style='minimal'] [data-field-state='fail'] [data-input-root] {
|
|
86
|
-
@apply border-danger-z4;
|
|
115
|
+
@apply border-danger-z4 bg-danger-z1;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
[data-style='minimal'] [data-field-state='fail'] [data-input-root]:hover:not(:focus-within) {
|
|
119
|
+
@apply bg-danger-z2;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-style='minimal'] [data-field-state='fail'] [data-input-root]::after {
|
|
123
|
+
@apply bg-danger-z5;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Pass state */
|
|
127
|
+
[data-style='minimal'] [data-field-state='pass'] [data-input-root] {
|
|
128
|
+
@apply bg-success-z1;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
[data-style='minimal'] [data-field-state='pass'] [data-input-root]:hover:not(:focus-within) {
|
|
132
|
+
@apply bg-success-z2;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[data-style='minimal'] [data-field-state='pass'] [data-input-root]::after {
|
|
136
|
+
@apply bg-success-z5;
|
|
137
|
+
width: 100%;
|
|
87
138
|
}
|
|
88
139
|
|
|
89
140
|
/* Description */
|
|
90
141
|
[data-style='minimal'] [data-description] {
|
|
91
|
-
@apply text-surface-
|
|
142
|
+
@apply text-surface-z5 mt-0.5 text-xs;
|
|
92
143
|
}
|
|
93
144
|
|
|
94
145
|
/* Message */
|
|
95
146
|
[data-style='minimal'] [data-message] {
|
|
96
|
-
@apply text-danger-
|
|
147
|
+
@apply text-danger-z5 mt-0.5 text-xs;
|
|
97
148
|
}
|
|
98
149
|
|
|
99
150
|
/* Checkbox */
|
|
@@ -104,16 +155,16 @@
|
|
|
104
155
|
[data-style='minimal']
|
|
105
156
|
[data-checkbox-root][data-variant='custom']:has(input:checked)
|
|
106
157
|
[data-checkbox-icon] {
|
|
107
|
-
@apply text-secondary-
|
|
158
|
+
@apply text-secondary-z6;
|
|
108
159
|
}
|
|
109
160
|
|
|
110
161
|
/* Checkbox label: secondary on focus (checkbox has no input-root) */
|
|
111
162
|
[data-style='minimal'] [data-field-type='checkbox'] [data-field]:has(:focus-within) > label {
|
|
112
|
-
@apply text-secondary-
|
|
163
|
+
@apply text-secondary-z6;
|
|
113
164
|
}
|
|
114
165
|
|
|
115
166
|
/* Placeholders */
|
|
116
167
|
[data-style='minimal'] [data-input-root] input::placeholder,
|
|
117
168
|
[data-style='minimal'] [data-input-root] textarea::placeholder {
|
|
118
|
-
@apply text-surface-
|
|
169
|
+
@apply text-surface-z3;
|
|
119
170
|
}
|
package/src/minimal/list.css
CHANGED
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
[data-style='minimal']
|
|
33
33
|
[data-list]
|
|
34
34
|
[data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
35
|
-
@apply text-surface-z9 border-l-
|
|
35
|
+
@apply bg-none text-surface-z9 border-l-secondary-z4 border-l-2 outline-none;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/* Active state — muted when list not focused */
|
|
39
39
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] {
|
|
40
|
-
@apply text-surface-z8 border-primary-z4 border-l-2;
|
|
40
|
+
@apply bg-none text-surface-z8 border-primary-z4 border-l-2;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* Active state — full highlight when list has focus */
|
|
44
44
|
[data-style='minimal'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
45
|
-
@apply text-primary-z7 border-primary-z4 border-l-2;
|
|
45
|
+
@apply bg-none text-primary-z7 border-primary-z4 border-l-2;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* Active + hover/focus */
|
|
49
49
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled),
|
|
50
50
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true']:focus:not(:disabled) {
|
|
51
|
-
@apply text-primary-z8;
|
|
51
|
+
@apply bg-none text-primary-z8;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* =============================================================================
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
[data-style='minimal'] [data-list] [data-list-item] [data-item-badge] {
|
|
80
|
-
@apply text-surface-z6 border-surface-z4 border bg-transparent;
|
|
80
|
+
@apply bg-none text-surface-z6 border-surface-z4 border bg-transparent;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
84
|
-
@apply text-primary-z7 border-primary-z4;
|
|
84
|
+
@apply bg-none text-primary-z7 border-primary-z4;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* =============================================================================
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
[data-style='minimal'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
96
96
|
[data-style='minimal'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
97
|
-
@apply text-surface-z7 border-l-
|
|
97
|
+
@apply bg-none text-surface-z7 border-l-secondary-z4 border-l-2;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
/* =============================================================================
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
============================================================================= */
|
|
103
103
|
|
|
104
104
|
[data-style='minimal'] [data-list] [data-list-separator] {
|
|
105
|
-
@apply bg-surface-z3;
|
|
105
|
+
@apply bg-none bg-surface-z3;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/* =============================================================================
|
package/src/minimal/menu.css
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-menu-trigger] {
|
|
12
|
-
@apply border-surface-z4 text-surface-z7 border bg-transparent;
|
|
12
|
+
@apply bg-none border-surface-z4 text-surface-z7 border bg-transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-menu-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply text-surface-z9 border-surface-z5;
|
|
16
|
+
@apply bg-none text-surface-z9 border-surface-z5;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-menu-trigger]:focus-visible {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-menu][data-open='true'] [data-menu-trigger] {
|
|
24
|
-
@apply border-surface-z6;
|
|
24
|
+
@apply bg-none border-surface-z6;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* Trigger elements */
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
============================================================================= */
|
|
43
43
|
|
|
44
44
|
[data-style='minimal'] [data-menu-dropdown] {
|
|
45
|
-
@apply bg-surface-z1 border-surface-z3 border shadow-sm;
|
|
45
|
+
@apply bg-none bg-surface-z1 border-surface-z3 border shadow-sm;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* =============================================================================
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
[data-style='minimal'] [data-menu-item]:hover:not(:disabled),
|
|
57
57
|
[data-style='minimal'] [data-menu-item]:focus:not(:disabled) {
|
|
58
|
-
@apply text-surface-z9 border-l-
|
|
58
|
+
@apply bg-none text-surface-z9 border-l-secondary-z4 border-l-2 outline-none;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/* Item elements */
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
============================================================================= */
|
|
85
85
|
|
|
86
86
|
[data-style='minimal'] [data-menu-separator] {
|
|
87
|
-
@apply bg-surface-z3;
|
|
87
|
+
@apply bg-none bg-surface-z3;
|
|
88
88
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message - Minimal Theme Styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[data-style='minimal'] [data-message-root][data-type='error'] {
|
|
7
|
+
@apply bg-error-z1 border-error-z3 text-error-z8;
|
|
8
|
+
}
|
|
9
|
+
[data-style='minimal'] [data-message-root][data-type='error'] [data-message-icon],
|
|
10
|
+
[data-style='minimal'] [data-message-root][data-type='error'] [data-message-dismiss] {
|
|
11
|
+
@apply text-error-z5;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-style='minimal'] [data-message-root][data-type='warning'] {
|
|
15
|
+
@apply bg-warning-z1 border-warning-z3 text-warning-z8;
|
|
16
|
+
}
|
|
17
|
+
[data-style='minimal'] [data-message-root][data-type='warning'] [data-message-icon],
|
|
18
|
+
[data-style='minimal'] [data-message-root][data-type='warning'] [data-message-dismiss] {
|
|
19
|
+
@apply text-warning-z5;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-style='minimal'] [data-message-root][data-type='info'] {
|
|
23
|
+
@apply bg-info-z1 border-info-z3 text-info-z8;
|
|
24
|
+
}
|
|
25
|
+
[data-style='minimal'] [data-message-root][data-type='info'] [data-message-icon],
|
|
26
|
+
[data-style='minimal'] [data-message-root][data-type='info'] [data-message-dismiss] {
|
|
27
|
+
@apply text-info-z5;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-style='minimal'] [data-message-root][data-type='success'] {
|
|
31
|
+
@apply bg-success-z1 border-success-z3 text-success-z8;
|
|
32
|
+
}
|
|
33
|
+
[data-style='minimal'] [data-message-root][data-type='success'] [data-message-icon],
|
|
34
|
+
[data-style='minimal'] [data-message-root][data-type='success'] [data-message-dismiss] {
|
|
35
|
+
@apply text-success-z5;
|
|
36
|
+
}
|
package/src/minimal/range.css
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='minimal'] [data-search-tag] {
|
|
40
|
-
@apply text-surface-z7 border-surface-z4 border bg-transparent;
|
|
40
|
+
@apply bg-none text-surface-z7 border-surface-z4 border bg-transparent;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='minimal'] [data-search-tag-remove] {
|
package/src/minimal/select.css
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-select-trigger] {
|
|
12
|
-
@apply text-surface-z7 border-surface-z4 border bg-transparent;
|
|
12
|
+
@apply bg-none text-surface-z7 border-surface-z4 border bg-transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-select-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply border-surface-z5 text-surface-z8;
|
|
16
|
+
@apply bg-none border-surface-z5 text-surface-z8;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-select-trigger]:focus-visible {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-select][data-open='true'] [data-select-trigger] {
|
|
24
|
-
@apply border-surface-z6;
|
|
24
|
+
@apply bg-none border-surface-z6;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
============================================================================= */
|
|
50
50
|
|
|
51
51
|
[data-style='minimal'] [data-select-tag] {
|
|
52
|
-
@apply text-surface-z7 border-surface-z4 border bg-transparent;
|
|
52
|
+
@apply bg-none text-surface-z7 border-surface-z4 border bg-transparent;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='minimal'] [data-select-tag-remove] {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
67
|
[data-style='minimal'] [data-select-dropdown] {
|
|
68
|
-
@apply bg-surface-z1 border-surface-z3 border shadow-sm;
|
|
68
|
+
@apply bg-none bg-surface-z1 border-surface-z3 border shadow-sm;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -79,19 +79,19 @@
|
|
|
79
79
|
/* Hover and focus */
|
|
80
80
|
[data-style='minimal'] [data-select-option]:hover:not(:disabled),
|
|
81
81
|
[data-style='minimal'] [data-select-option]:focus:not(:disabled) {
|
|
82
|
-
@apply text-surface-z9 border-l-
|
|
82
|
+
@apply bg-none text-surface-z9 border-l-secondary-z4 border-l-2 outline-none;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/* Selected state */
|
|
86
86
|
[data-style='minimal'] [data-select-option][data-selected='true'] {
|
|
87
|
-
@apply text-surface-z8 border-primary-z4 border-l-2;
|
|
87
|
+
@apply bg-none text-surface-z8 border-primary-z4 border-l-2;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/* Selected state — full highlight when dropdown has focus */
|
|
91
91
|
[data-style='minimal']
|
|
92
92
|
[data-select-dropdown]:focus-within
|
|
93
93
|
[data-select-option][data-selected='true'] {
|
|
94
|
-
@apply text-primary-z7 border-primary-z4 border-l-2;
|
|
94
|
+
@apply bg-none text-primary-z7 border-primary-z4 border-l-2;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* Check mark */
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
|
|
102
102
|
/* Checkbox */
|
|
103
103
|
[data-style='minimal'] [data-select-checkbox] {
|
|
104
|
-
@apply border-surface-z5 bg-transparent;
|
|
104
|
+
@apply bg-none border-surface-z5 bg-transparent;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
[data-style='minimal'] [data-select-checkbox][data-checked='true'] {
|
|
108
|
-
@apply bg-primary-z5 border-primary-z5 text-white;
|
|
108
|
+
@apply bg-none bg-primary-z5 border-primary-z5 text-white;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/* Item elements */
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
============================================================================= */
|
|
143
143
|
|
|
144
144
|
[data-style='minimal'] [data-select-divider] {
|
|
145
|
-
@apply bg-surface-z3;
|
|
145
|
+
@apply bg-none bg-surface-z3;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/* =============================================================================
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StatusList - Minimal Theme Styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* ── @rokkit/ui StatusList: icon and text colors by status ── */
|
|
6
|
+
|
|
7
|
+
[data-style='minimal'] [data-status-item][data-status='pass'] span {
|
|
8
|
+
@apply text-success-z5;
|
|
9
|
+
}
|
|
10
|
+
[data-style='minimal'] [data-status-item][data-status='fail'] span {
|
|
11
|
+
@apply text-error-z5;
|
|
12
|
+
}
|
|
13
|
+
[data-style='minimal'] [data-status-item][data-status='warn'] span {
|
|
14
|
+
@apply text-warning-z5;
|
|
15
|
+
}
|
|
16
|
+
[data-style='minimal'] [data-status-item][data-status='unknown'] span {
|
|
17
|
+
@apply text-surface-z4;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[data-style='minimal'] [data-status-item][data-status='pass'] {
|
|
21
|
+
@apply text-success-z7;
|
|
22
|
+
}
|
|
23
|
+
[data-style='minimal'] [data-status-item][data-status='fail'] {
|
|
24
|
+
@apply text-error-z7;
|
|
25
|
+
}
|
|
26
|
+
[data-style='minimal'] [data-status-item][data-status='warn'] {
|
|
27
|
+
@apply text-warning-z7;
|
|
28
|
+
}
|
|
29
|
+
[data-style='minimal'] [data-status-item][data-status='unknown'] {
|
|
30
|
+
@apply text-surface-z5;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* ── @rokkit/forms StatusList: group headers by severity ── */
|
|
34
|
+
|
|
35
|
+
[data-style='minimal'] [data-status-group][data-severity='error'] [data-status-header] {
|
|
36
|
+
@apply text-error-z5;
|
|
37
|
+
}
|
|
38
|
+
[data-style='minimal'] [data-status-group][data-severity='warning'] [data-status-header] {
|
|
39
|
+
@apply text-warning-z5;
|
|
40
|
+
}
|
|
41
|
+
[data-style='minimal'] [data-status-group][data-severity='info'] [data-status-header] {
|
|
42
|
+
@apply text-info-z5;
|
|
43
|
+
}
|
|
44
|
+
[data-style='minimal'] [data-status-group][data-severity='success'] [data-status-header] {
|
|
45
|
+
@apply text-success-z5;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* ── @rokkit/forms StatusList: item colors ── */
|
|
49
|
+
|
|
50
|
+
[data-style='minimal'] [data-status-item][data-status='error'] {
|
|
51
|
+
@apply text-error-z7;
|
|
52
|
+
}
|
|
53
|
+
[data-style='minimal'] [data-status-item][data-status='warning'] {
|
|
54
|
+
@apply text-warning-z7;
|
|
55
|
+
}
|
|
56
|
+
[data-style='minimal'] [data-status-item][data-status='info'] {
|
|
57
|
+
@apply text-info-z7;
|
|
58
|
+
}
|
|
59
|
+
[data-style='minimal'] [data-status-item][data-status='success'] {
|
|
60
|
+
@apply text-success-z7;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Count badge */
|
|
64
|
+
[data-style='minimal'] [data-status-count] {
|
|
65
|
+
@apply bg-none text-surface-z6 font-semibold;
|
|
66
|
+
}
|
package/src/minimal/switch.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='minimal'] [data-switch-track] {
|
|
6
|
-
@apply border-surface-z4 border-2 bg-transparent;
|
|
6
|
+
@apply bg-none border-surface-z4 border-2 bg-transparent;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
[data-style='minimal'] [data-switch-thumb] {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
/* On state */
|
|
18
18
|
[data-style='minimal'] [data-switch][aria-checked='true'] [data-switch-track] {
|
|
19
|
-
@apply border-primary-z4;
|
|
19
|
+
@apply bg-none border-primary-z4;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
[data-style='minimal'] [data-switch][aria-checked='true'] [data-switch-thumb] {
|
package/src/minimal/table.css
CHANGED
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[data-style='minimal'] [data-table-row]:hover {
|
|
52
|
-
@apply text-surface-z9;
|
|
52
|
+
@apply bg-none text-surface-z9;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='minimal'] [data-table-row]:focus {
|
|
56
|
-
@apply text-surface-z9 ring-surface-z5 ring-1 outline-none;
|
|
56
|
+
@apply bg-none text-surface-z9 ring-surface-z5 ring-1 outline-none;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='minimal'] [data-table-row][data-selected='true'] {
|
|
60
|
-
@apply text-primary-z8 border-l-primary-z4 border-l-2;
|
|
60
|
+
@apply bg-none text-primary-z8 border-l-primary-z4 border-l-2;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* =============================================================================
|
package/src/minimal/tabs.css
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Tabs - Minimal Theme Styles
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* Underline-indicator tabs. Active tab: thick bottom border, bolder text.
|
|
5
|
+
* No background fill on any state — clean and typographic.
|
|
5
6
|
*/
|
|
6
7
|
|
|
7
8
|
/* =============================================================================
|
|
@@ -9,7 +10,7 @@
|
|
|
9
10
|
============================================================================= */
|
|
10
11
|
|
|
11
12
|
[data-style='minimal'] [data-tabs-list] {
|
|
12
|
-
@apply border-surface-z3 gap-
|
|
13
|
+
@apply border-surface-z3 gap-0 border-b;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
[data-style='minimal'] [data-tabs][data-position='after'] [data-tabs-list] {
|
|
@@ -23,24 +24,104 @@
|
|
|
23
24
|
[data-style='minimal']
|
|
24
25
|
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
25
26
|
[data-tabs-list] {
|
|
26
|
-
@apply border-r-0 border-l;
|
|
27
|
+
@apply border-t-0 border-r-0 border-l;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
/* =============================================================================
|
|
30
|
-
Tab Triggers
|
|
31
|
+
Tab Triggers — default: horizontal/before (bottom border)
|
|
31
32
|
============================================================================= */
|
|
32
33
|
|
|
33
34
|
[data-style='minimal'] [data-tabs-trigger] {
|
|
34
|
-
@apply text-surface-
|
|
35
|
+
@apply text-surface-z5 border-b-[3px] border-b-transparent;
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
transition: color 150ms ease, border-color 150ms ease;
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
[data-style='minimal'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
38
41
|
@apply text-surface-z8 border-b-surface-z4;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
|
-
/* Selected state */
|
|
42
44
|
[data-style='minimal'] [data-tabs-trigger][data-selected] {
|
|
43
|
-
@apply text-surface-z9 border-b-
|
|
45
|
+
@apply bg-none text-surface-z9 border-b-surface-z8;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Reset rokkit gradients bleeding in */
|
|
50
|
+
[data-style='minimal'] [data-tabs-list]:focus-within [data-tabs-trigger][data-selected] {
|
|
51
|
+
@apply bg-none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[data-style='minimal']
|
|
55
|
+
[data-tabs][data-orientation='vertical']
|
|
56
|
+
[data-tabs-list]:focus-within
|
|
57
|
+
[data-tabs-trigger][data-selected] {
|
|
58
|
+
@apply bg-none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[data-style='minimal']
|
|
62
|
+
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
63
|
+
[data-tabs-list]:focus-within
|
|
64
|
+
[data-tabs-trigger][data-selected] {
|
|
65
|
+
@apply bg-none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Horizontal after (tabs below content): top border */
|
|
69
|
+
[data-style='minimal'] [data-tabs][data-position='after'] [data-tabs-trigger] {
|
|
70
|
+
@apply border-b-0 border-t-[3px] border-t-transparent;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[data-style='minimal']
|
|
74
|
+
[data-tabs][data-position='after']
|
|
75
|
+
[data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
76
|
+
@apply border-t-surface-z4;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[data-style='minimal'] [data-tabs][data-position='after'] [data-tabs-trigger][data-selected] {
|
|
80
|
+
@apply border-t-surface-z8;
|
|
81
|
+
font-weight: 600;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[data-style='minimal']
|
|
85
|
+
[data-tabs][data-position='after']
|
|
86
|
+
[data-tabs-list]:focus-within
|
|
87
|
+
[data-tabs-trigger][data-selected] {
|
|
88
|
+
@apply bg-none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Vertical before (tabs on left): right border */
|
|
92
|
+
[data-style='minimal'] [data-tabs][data-orientation='vertical'] [data-tabs-trigger] {
|
|
93
|
+
@apply border-b-0 border-r-[3px] border-r-transparent rounded-none rounded-l;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[data-style='minimal']
|
|
97
|
+
[data-tabs][data-orientation='vertical']
|
|
98
|
+
[data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
99
|
+
@apply border-r-surface-z4;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
[data-style='minimal'] [data-tabs][data-orientation='vertical'] [data-tabs-trigger][data-selected] {
|
|
103
|
+
@apply border-r-surface-z8;
|
|
104
|
+
font-weight: 600;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Vertical after (tabs on right): left border */
|
|
108
|
+
[data-style='minimal']
|
|
109
|
+
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
110
|
+
[data-tabs-trigger] {
|
|
111
|
+
@apply border-t-0 border-b-0 border-r-0 border-l-[3px] border-l-transparent rounded-none rounded-r;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
[data-style='minimal']
|
|
115
|
+
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
116
|
+
[data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
117
|
+
@apply border-t-0 border-b-0 border-r-0 border-l-surface-z4;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[data-style='minimal']
|
|
121
|
+
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
122
|
+
[data-tabs-trigger][data-selected] {
|
|
123
|
+
@apply border-t-0 border-b-0 border-r-0 border-l-surface-z8;
|
|
124
|
+
font-weight: 600;
|
|
44
125
|
}
|
|
45
126
|
|
|
46
127
|
/* =============================================================================
|
|
@@ -48,15 +129,15 @@
|
|
|
48
129
|
============================================================================= */
|
|
49
130
|
|
|
50
131
|
[data-style='minimal'] [data-tabs-trigger] [data-tabs-icon] {
|
|
51
|
-
@apply text-surface-
|
|
132
|
+
@apply text-surface-z4;
|
|
52
133
|
}
|
|
53
134
|
|
|
54
135
|
[data-style='minimal'] [data-tabs-trigger]:hover:not(:disabled) [data-tabs-icon] {
|
|
55
|
-
@apply text-surface-
|
|
136
|
+
@apply text-surface-z6;
|
|
56
137
|
}
|
|
57
138
|
|
|
58
139
|
[data-style='minimal'] [data-tabs-trigger][data-selected] [data-tabs-icon] {
|
|
59
|
-
@apply text-surface-
|
|
140
|
+
@apply text-surface-z7;
|
|
60
141
|
}
|
|
61
142
|
|
|
62
143
|
/* =============================================================================
|
package/src/minimal/toggle.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-toggle] {
|
|
12
|
-
@apply border-surface-z3 rounded-lg border bg-transparent;
|
|
12
|
+
@apply bg-none border-surface-z3 rounded-lg border bg-transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
|
|
24
24
|
[data-style='minimal'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
|
|
25
|
-
@apply text-surface-z8 border-b-surface-z2 border-b-2;
|
|
25
|
+
@apply bg-none text-surface-z8 border-b-surface-z2 border-b-2;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Selected state */
|
|
29
29
|
[data-style='minimal'] [data-toggle-option][data-selected='true'] {
|
|
30
|
-
@apply text-surface-z9 border-b-primary-z4 border-b-2;
|
|
30
|
+
@apply bg-none text-surface-z9 border-b-primary-z4 border-b-2;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* =============================================================================
|