@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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message - Material Theme Styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[data-style='material'] [data-message-root][data-type='error'] {
|
|
7
|
+
@apply bg-error-z1 border-error-z3 text-error-z9 shadow-sm;
|
|
8
|
+
}
|
|
9
|
+
[data-style='material'] [data-message-root][data-type='error'] [data-message-icon],
|
|
10
|
+
[data-style='material'] [data-message-root][data-type='error'] [data-message-dismiss] {
|
|
11
|
+
@apply text-error-z6;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-style='material'] [data-message-root][data-type='warning'] {
|
|
15
|
+
@apply bg-warning-z1 border-warning-z3 text-warning-z9 shadow-sm;
|
|
16
|
+
}
|
|
17
|
+
[data-style='material'] [data-message-root][data-type='warning'] [data-message-icon],
|
|
18
|
+
[data-style='material'] [data-message-root][data-type='warning'] [data-message-dismiss] {
|
|
19
|
+
@apply text-warning-z6;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-style='material'] [data-message-root][data-type='info'] {
|
|
23
|
+
@apply bg-info-z1 border-info-z3 text-info-z9 shadow-sm;
|
|
24
|
+
}
|
|
25
|
+
[data-style='material'] [data-message-root][data-type='info'] [data-message-icon],
|
|
26
|
+
[data-style='material'] [data-message-root][data-type='info'] [data-message-dismiss] {
|
|
27
|
+
@apply text-info-z6;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-style='material'] [data-message-root][data-type='success'] {
|
|
31
|
+
@apply bg-success-z1 border-success-z3 text-success-z9 shadow-sm;
|
|
32
|
+
}
|
|
33
|
+
[data-style='material'] [data-message-root][data-type='success'] [data-message-icon],
|
|
34
|
+
[data-style='material'] [data-message-root][data-type='success'] [data-message-dismiss] {
|
|
35
|
+
@apply text-success-z6;
|
|
36
|
+
}
|
package/src/material/range.css
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='material'] [data-search-tag] {
|
|
40
|
-
@apply text-surface-z8 bg-surface-z2 rounded-full shadow-sm;
|
|
40
|
+
@apply bg-none text-surface-z8 bg-surface-z2 rounded-full shadow-sm;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='material'] [data-search-tag-remove] {
|
package/src/material/select.css
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-select-trigger] {
|
|
12
|
-
@apply bg-surface-z1 text-surface-z8 border-surface-z4 border shadow-sm;
|
|
12
|
+
@apply bg-none bg-surface-z1 text-surface-z8 border-surface-z4 border shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-select-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply bg-surface-z2 border-surface-z5 shadow-md;
|
|
16
|
+
@apply bg-none bg-surface-z2 border-surface-z5 shadow-md;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-select-trigger]:focus-visible {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-select][data-open='true'] [data-select-trigger] {
|
|
24
|
-
@apply border-primary-z5 shadow-md;
|
|
24
|
+
@apply bg-none border-primary-z5 shadow-md;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
============================================================================= */
|
|
50
50
|
|
|
51
51
|
[data-style='material'] [data-select-tag] {
|
|
52
|
-
@apply bg-surface-z2 text-surface-z8 rounded-full shadow-sm;
|
|
52
|
+
@apply bg-none bg-surface-z2 text-surface-z8 rounded-full shadow-sm;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='material'] [data-select-tag-remove] {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
67
|
[data-style='material'] [data-select-dropdown] {
|
|
68
|
-
@apply bg-surface-z1 border-surface-z3 border shadow-lg;
|
|
68
|
+
@apply bg-none bg-surface-z1 border-surface-z3 border shadow-lg;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
[data-style='material'] [data-select-option]:hover:not(:disabled),
|
|
80
80
|
[data-style='material'] [data-select-option]:focus:not(:disabled) {
|
|
81
|
-
@apply bg-surface-z2 text-surface-z10;
|
|
81
|
+
@apply bg-none bg-surface-z2 text-surface-z10;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
[data-style='material'] [data-select-option]:focus-visible {
|
|
@@ -86,12 +86,17 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
[data-style='material'] [data-select-option][data-selected='true'] {
|
|
89
|
-
@apply bg-primary-z2 text-primary-z9;
|
|
89
|
+
@apply bg-none bg-primary-z2 text-primary-z9;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
[data-style='material'] [data-select-option][data-selected='true']:hover:not(:disabled),
|
|
93
93
|
[data-style='material'] [data-select-option][data-selected='true']:focus:not(:disabled) {
|
|
94
|
-
@apply bg-primary-z3;
|
|
94
|
+
@apply bg-none bg-primary-z3;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
|
|
98
|
+
[data-style='material'] [data-select-dropdown]:focus-within [data-select-option][data-selected='true'] {
|
|
99
|
+
@apply bg-none;
|
|
95
100
|
}
|
|
96
101
|
|
|
97
102
|
/* Check mark */
|
|
@@ -101,11 +106,11 @@
|
|
|
101
106
|
|
|
102
107
|
/* Checkbox */
|
|
103
108
|
[data-style='material'] [data-select-checkbox] {
|
|
104
|
-
@apply border-surface-z5 bg-surface-z1 rounded;
|
|
109
|
+
@apply bg-none border-surface-z5 bg-surface-z1 rounded;
|
|
105
110
|
}
|
|
106
111
|
|
|
107
112
|
[data-style='material'] [data-select-checkbox][data-checked='true'] {
|
|
108
|
-
@apply bg-primary-z5 border-primary-z5 text-white;
|
|
113
|
+
@apply bg-none bg-primary-z5 border-primary-z5 text-white;
|
|
109
114
|
}
|
|
110
115
|
|
|
111
116
|
/* Item elements */
|
|
@@ -142,7 +147,7 @@
|
|
|
142
147
|
============================================================================= */
|
|
143
148
|
|
|
144
149
|
[data-style='material'] [data-select-divider] {
|
|
145
|
-
@apply bg-surface-z3;
|
|
150
|
+
@apply bg-none bg-surface-z3;
|
|
146
151
|
}
|
|
147
152
|
|
|
148
153
|
/* =============================================================================
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StatusList - Material Theme Styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* ── @rokkit/ui StatusList: icon and text colors by status ── */
|
|
6
|
+
|
|
7
|
+
[data-style='material'] [data-status-item][data-status='pass'] span {
|
|
8
|
+
@apply text-success-z6;
|
|
9
|
+
}
|
|
10
|
+
[data-style='material'] [data-status-item][data-status='fail'] span {
|
|
11
|
+
@apply text-error-z6;
|
|
12
|
+
}
|
|
13
|
+
[data-style='material'] [data-status-item][data-status='warn'] span {
|
|
14
|
+
@apply text-warning-z6;
|
|
15
|
+
}
|
|
16
|
+
[data-style='material'] [data-status-item][data-status='unknown'] span {
|
|
17
|
+
@apply text-surface-z4;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[data-style='material'] [data-status-item][data-status='pass'] {
|
|
21
|
+
@apply text-success-z8;
|
|
22
|
+
}
|
|
23
|
+
[data-style='material'] [data-status-item][data-status='fail'] {
|
|
24
|
+
@apply text-error-z8;
|
|
25
|
+
}
|
|
26
|
+
[data-style='material'] [data-status-item][data-status='warn'] {
|
|
27
|
+
@apply text-warning-z8;
|
|
28
|
+
}
|
|
29
|
+
[data-style='material'] [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='material'] [data-status-group][data-severity='error'] [data-status-header] {
|
|
36
|
+
@apply text-error-z6;
|
|
37
|
+
}
|
|
38
|
+
[data-style='material'] [data-status-group][data-severity='warning'] [data-status-header] {
|
|
39
|
+
@apply text-warning-z6;
|
|
40
|
+
}
|
|
41
|
+
[data-style='material'] [data-status-group][data-severity='info'] [data-status-header] {
|
|
42
|
+
@apply text-info-z6;
|
|
43
|
+
}
|
|
44
|
+
[data-style='material'] [data-status-group][data-severity='success'] [data-status-header] {
|
|
45
|
+
@apply text-success-z6;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* ── @rokkit/forms StatusList: item colors ── */
|
|
49
|
+
|
|
50
|
+
[data-style='material'] [data-status-item][data-status='error'] {
|
|
51
|
+
@apply text-error-z8;
|
|
52
|
+
}
|
|
53
|
+
[data-style='material'] [data-status-item][data-status='warning'] {
|
|
54
|
+
@apply text-warning-z8;
|
|
55
|
+
}
|
|
56
|
+
[data-style='material'] [data-status-item][data-status='info'] {
|
|
57
|
+
@apply text-info-z8;
|
|
58
|
+
}
|
|
59
|
+
[data-style='material'] [data-status-item][data-status='success'] {
|
|
60
|
+
@apply text-success-z8;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Count badge */
|
|
64
|
+
[data-style='material'] [data-status-count] {
|
|
65
|
+
@apply bg-none bg-surface-z2 text-surface-z7 font-semibold shadow-sm;
|
|
66
|
+
}
|
package/src/material/switch.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='material'] [data-switch-track] {
|
|
6
|
-
@apply bg-surface-z3;
|
|
6
|
+
@apply bg-none bg-surface-z3;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
[data-style='material'] [data-switch-thumb] {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
/* On state */
|
|
18
18
|
[data-style='material'] [data-switch][aria-checked='true'] [data-switch-track] {
|
|
19
|
-
@apply bg-primary-z5;
|
|
19
|
+
@apply bg-none bg-primary-z5;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
[data-style='material'] [data-switch][aria-checked='true'] [data-switch-thumb] {
|
package/src/material/table.css
CHANGED
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
[data-style='material'] [data-table-row]:hover {
|
|
54
|
-
@apply bg-surface-z2;
|
|
54
|
+
@apply bg-none bg-surface-z2;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
[data-style='material'] [data-table-row]:focus {
|
|
58
|
-
@apply bg-surface-z2 text-surface-z10 ring-primary-z4 ring-2 outline-none ring-inset;
|
|
58
|
+
@apply bg-none bg-surface-z2 text-surface-z10 ring-primary-z4 ring-2 outline-none ring-inset;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
[data-style='material'] [data-table-row][data-selected='true'] {
|
|
62
|
-
@apply bg-primary-z2 text-primary-z9;
|
|
62
|
+
@apply bg-none bg-primary-z2 text-primary-z9;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/* =============================================================================
|
package/src/material/tabs.css
CHANGED
|
@@ -37,6 +37,29 @@
|
|
|
37
37
|
@apply bg-primary-z5 text-white shadow-md;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
/* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
|
|
41
|
+
[data-style='material'] [data-tabs-list]:focus-within [data-tabs-trigger][data-selected] {
|
|
42
|
+
@apply bg-none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[data-style='material'] [data-tabs][data-position='after'] [data-tabs-list]:focus-within [data-tabs-trigger][data-selected] {
|
|
46
|
+
@apply bg-none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-style='material']
|
|
50
|
+
[data-tabs][data-orientation='vertical']
|
|
51
|
+
[data-tabs-list]:focus-within
|
|
52
|
+
[data-tabs-trigger][data-selected] {
|
|
53
|
+
@apply bg-none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[data-style='material']
|
|
57
|
+
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
58
|
+
[data-tabs-list]:focus-within
|
|
59
|
+
[data-tabs-trigger][data-selected] {
|
|
60
|
+
@apply bg-none;
|
|
61
|
+
}
|
|
62
|
+
|
|
40
63
|
/* =============================================================================
|
|
41
64
|
Tab Icon
|
|
42
65
|
============================================================================= */
|
package/src/material/toggle.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-toggle] {
|
|
12
|
-
@apply bg-surface-z2 rounded-full shadow-sm;
|
|
12
|
+
@apply bg-none bg-surface-z2 rounded-full shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
|
|
24
24
|
[data-style='material'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
|
|
25
|
-
@apply bg-surface-z3 text-surface-z8;
|
|
25
|
+
@apply bg-none bg-surface-z3 text-surface-z8;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Selected state */
|
|
29
29
|
[data-style='material'] [data-toggle-option][data-selected='true'] {
|
|
30
|
-
@apply bg-primary-z5 text-white shadow-md;
|
|
30
|
+
@apply bg-none bg-primary-z5 text-white shadow-md;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* =============================================================================
|
package/src/material/toolbar.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-toolbar] {
|
|
12
|
-
@apply bg-surface-z1 shadow-sm;
|
|
12
|
+
@apply bg-none bg-surface-z1 shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* Position-based borders removed - using shadows instead */
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
[data-style='material'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
|
|
42
|
-
@apply bg-surface-z2 text-surface-z9;
|
|
42
|
+
@apply bg-none bg-surface-z2 text-surface-z9;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
[data-style='material']
|
|
46
46
|
[data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
|
|
47
|
-
@apply bg-surface-z2 text-surface-z9 ring-primary-z4 ring-2 outline-none;
|
|
47
|
+
@apply bg-none bg-surface-z2 text-surface-z9 ring-primary-z4 ring-2 outline-none;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* Active/pressed state */
|
|
51
51
|
[data-style='material'] [data-toolbar-item][data-active='true'] {
|
|
52
|
-
@apply bg-primary-z2 text-primary-z8;
|
|
52
|
+
@apply bg-none bg-primary-z2 text-primary-z8;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='material'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
|
|
56
|
-
@apply bg-primary-z3 text-primary-z9;
|
|
56
|
+
@apply bg-none bg-primary-z3 text-primary-z9;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/* =============================================================================
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
============================================================================= */
|
|
78
78
|
|
|
79
79
|
[data-style='material'] [data-toolbar-separator] {
|
|
80
|
-
@apply bg-surface-z3;
|
|
80
|
+
@apply bg-none bg-surface-z3;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
[data-style='material'] [data-toolbar-divider] {
|
|
84
|
-
@apply bg-surface-z3;
|
|
84
|
+
@apply bg-none bg-surface-z3;
|
|
85
85
|
}
|
package/src/material/tree.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-tree-toggle-btn]:hover {
|
|
24
|
-
@apply bg-surface-z2 text-surface-z7;
|
|
24
|
+
@apply bg-none bg-surface-z2 text-surface-z7;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
[data-style='material'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
36
|
[data-style='material'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
|
-
@apply bg-surface-z2 text-surface-z10 outline-none;
|
|
37
|
+
@apply bg-none bg-surface-z2 text-surface-z10 outline-none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Focus visible for keyboard navigation */
|
|
@@ -51,6 +51,19 @@
|
|
|
51
51
|
@apply bg-primary-z3;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
/* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
|
|
55
|
+
[data-style='material'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] {
|
|
56
|
+
@apply bg-none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[data-style='material'] [data-tree]:focus-within [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
60
|
+
@apply bg-none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[data-style='material'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
|
|
64
|
+
@apply bg-none;
|
|
65
|
+
}
|
|
66
|
+
|
|
54
67
|
/* =============================================================================
|
|
55
68
|
Item Elements
|
|
56
69
|
============================================================================= */
|
|
@@ -76,13 +89,21 @@
|
|
|
76
89
|
}
|
|
77
90
|
|
|
78
91
|
[data-style='material'] [data-tree-item-content] [data-item-badge] {
|
|
79
|
-
@apply text-surface-z6 bg-surface-z2 rounded-full;
|
|
92
|
+
@apply bg-none text-surface-z6 bg-surface-z2 rounded-full;
|
|
80
93
|
}
|
|
81
94
|
|
|
82
95
|
[data-style='material'] [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
83
96
|
@apply text-primary-z8 bg-primary-z2;
|
|
84
97
|
}
|
|
85
98
|
|
|
99
|
+
[data-style='material'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
100
|
+
@apply bg-none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
[data-style='material'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
104
|
+
@apply bg-none;
|
|
105
|
+
}
|
|
106
|
+
|
|
86
107
|
/* =============================================================================
|
|
87
108
|
Multi-Selection
|
|
88
109
|
============================================================================= */
|
package/src/minimal/button.css
CHANGED
|
@@ -12,22 +12,22 @@
|
|
|
12
12
|
[data-style='minimal'] [data-button]:not([data-style])[data-variant='default'],
|
|
13
13
|
[data-style='minimal'] [data-button][data-style='default']:not([data-variant]),
|
|
14
14
|
[data-style='minimal'] [data-button]:not([data-style]):not([data-variant]) {
|
|
15
|
-
@apply bg-surface-z2 border-surface-z4 text-surface-z8 border;
|
|
15
|
+
@apply bg-none bg-surface-z2 border-surface-z4 text-surface-z8 border;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
[data-style='minimal'] [data-button][data-style='default'][data-variant='primary'],
|
|
19
19
|
[data-style='minimal'] [data-button]:not([data-style])[data-variant='primary'] {
|
|
20
|
-
@apply bg-primary-z5 text-on-primary border-transparent;
|
|
20
|
+
@apply bg-none bg-primary-z5 text-on-primary border-transparent;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-button][data-style='default'][data-variant='secondary'],
|
|
24
24
|
[data-style='minimal'] [data-button]:not([data-style])[data-variant='secondary'] {
|
|
25
|
-
@apply bg-secondary-z4 text-on-secondary border-transparent;
|
|
25
|
+
@apply bg-none bg-secondary-z4 text-on-secondary border-transparent;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[data-style='minimal'] [data-button][data-style='default'][data-variant='danger'],
|
|
29
29
|
[data-style='minimal'] [data-button]:not([data-style])[data-variant='danger'] {
|
|
30
|
-
@apply bg-danger-z4 text-on-danger border-transparent;
|
|
30
|
+
@apply bg-none bg-danger-z4 text-on-danger border-transparent;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* =============================================================================
|
|
@@ -134,12 +134,12 @@
|
|
|
134
134
|
[data-style='minimal']
|
|
135
135
|
[data-button][data-style='default']:hover:not(:disabled):not([data-disabled]),
|
|
136
136
|
[data-style='minimal'] [data-button]:not([data-style]):hover:not(:disabled):not([data-disabled]) {
|
|
137
|
-
@apply bg-surface-z3 border-surface-z5;
|
|
137
|
+
@apply bg-none bg-surface-z3 border-surface-z5;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
[data-style='minimal']
|
|
141
141
|
[data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]) {
|
|
142
|
-
@apply bg-surface-z1 border-surface-z5;
|
|
142
|
+
@apply bg-none bg-surface-z1 border-surface-z5;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
[data-style='minimal'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]) {
|
package/src/minimal/card.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
============================================================================= */
|
|
9
9
|
|
|
10
10
|
[data-style='minimal'] [data-card] {
|
|
11
|
-
@apply bg-surface-z1 border-surface-z4 text-surface-z9 border shadow-sm;
|
|
11
|
+
@apply bg-none bg-surface-z1 border-surface-z4 text-surface-z9 border shadow-sm;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/* Interactive cards (buttons) */
|
|
@@ -59,3 +59,40 @@
|
|
|
59
59
|
[data-style='minimal'] [data-card][data-card-interactive]:disabled {
|
|
60
60
|
@apply cursor-not-allowed opacity-50;
|
|
61
61
|
}
|
|
62
|
+
|
|
63
|
+
/* =============================================================================
|
|
64
|
+
Variants
|
|
65
|
+
============================================================================= */
|
|
66
|
+
|
|
67
|
+
/* Primary — solid primary fill */
|
|
68
|
+
[data-style='minimal'] [data-card][data-variant='primary'] {
|
|
69
|
+
@apply bg-none bg-primary-z5 border-primary-z6 text-on-primary border;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[data-style='minimal'] [data-card][data-variant='primary'] [data-card-header],
|
|
73
|
+
[data-style='minimal'] [data-card][data-variant='primary'] [data-card-footer] {
|
|
74
|
+
@apply border-primary-z4/40;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[data-style='minimal'] [data-card][data-variant='primary'] [data-card-body] {
|
|
78
|
+
@apply text-on-primary/80;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Secondary — solid secondary fill */
|
|
82
|
+
[data-style='minimal'] [data-card][data-variant='secondary'] {
|
|
83
|
+
@apply bg-none bg-secondary-z4 border-secondary-z5 text-on-secondary border;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[data-style='minimal'] [data-card][data-variant='secondary'] [data-card-header],
|
|
87
|
+
[data-style='minimal'] [data-card][data-variant='secondary'] [data-card-footer] {
|
|
88
|
+
@apply border-secondary-z3/40;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
[data-style='minimal'] [data-card][data-variant='secondary'] [data-card-body] {
|
|
92
|
+
@apply text-on-secondary/80;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Tertiary — recessed surface, lighter border */
|
|
96
|
+
[data-style='minimal'] [data-card][data-variant='tertiary'] {
|
|
97
|
+
@apply bg-none bg-surface-z0 border-surface-z3 text-surface-z7 border shadow-none;
|
|
98
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dropdown - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='minimal'] [data-dropdown-trigger] {
|
|
8
|
+
@apply bg-none border-surface-z4 text-surface-z7 border bg-transparent;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-dropdown-trigger]:hover:not(:disabled) {
|
|
12
|
+
@apply bg-none text-surface-z9 border-surface-z5;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='minimal'] [data-dropdown-trigger]:focus-visible {
|
|
16
|
+
@apply ring-surface-z5 ring-1 outline-none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='minimal'] [data-dropdown][data-open='true'] [data-dropdown-trigger] {
|
|
20
|
+
@apply bg-none border-surface-z6;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='minimal'] [data-dropdown-trigger] [data-dropdown-icon] {
|
|
24
|
+
@apply text-surface-z5;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='minimal'] [data-dropdown-trigger] [data-dropdown-arrow] {
|
|
28
|
+
@apply text-surface-z4;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='minimal'] [data-dropdown-panel] {
|
|
32
|
+
@apply bg-none bg-surface-z1 border-surface-z3 border shadow-sm;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-style='minimal'] [data-dropdown-option] {
|
|
36
|
+
@apply text-surface-z7;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[data-style='minimal'] [data-dropdown-option]:hover:not(:disabled),
|
|
40
|
+
[data-style='minimal'] [data-dropdown-option]:focus:not(:disabled) {
|
|
41
|
+
@apply bg-none text-surface-z9 border-l-secondary-z4 border-l-2 outline-none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-style='minimal'] [data-dropdown-option][data-active='true'] {
|
|
45
|
+
@apply bg-none text-surface-z10 border-l-primary-z5 border-l-2;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-style='minimal'] [data-dropdown-separator] {
|
|
49
|
+
@apply bg-none bg-surface-z3;
|
|
50
|
+
}
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-fab-trigger] {
|
|
12
|
-
@apply bg-surface-z1 text-surface-z8 border-surface-z4 border;
|
|
12
|
+
@apply bg-none bg-surface-z1 text-surface-z8 border-surface-z4 border;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-fab-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply bg-surface-z2 text-surface-z10 border-surface-z5;
|
|
16
|
+
@apply bg-none bg-surface-z2 text-surface-z10 border-surface-z5;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-fab-trigger]:focus-visible {
|
|
@@ -21,20 +21,24 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-fab][data-open='true'] [data-fab-trigger] {
|
|
24
|
-
@apply bg-surface-z3 border-surface-z5;
|
|
24
|
+
@apply bg-none bg-surface-z3 border-surface-z5;
|
|
25
25
|
transform: rotate(45deg);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
[data-style='minimal'] [data-fab][data-open='true'] [data-fab-trigger]:hover:not(:disabled) {
|
|
29
|
+
@apply bg-none;
|
|
30
|
+
}
|
|
31
|
+
|
|
28
32
|
/* =============================================================================
|
|
29
33
|
FAB Items
|
|
30
34
|
============================================================================= */
|
|
31
35
|
|
|
32
36
|
[data-style='minimal'] [data-fab-item] {
|
|
33
|
-
@apply bg-surface-z1 text-surface-z7 border-surface-z4 border;
|
|
37
|
+
@apply bg-none bg-surface-z1 text-surface-z7 border-surface-z4 border;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
[data-style='minimal'] [data-fab-item]:hover:not(:disabled) {
|
|
37
|
-
@apply bg-surface-z2 text-surface-z9 border-surface-z5;
|
|
41
|
+
@apply bg-none bg-surface-z2 text-surface-z9 border-surface-z5;
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
[data-style='minimal'] [data-fab-item]:focus-visible {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-floating-nav] {
|
|
12
|
-
@apply bg-surface-z1 border-surface-z4 border;
|
|
12
|
+
@apply bg-none bg-surface-z1 border-surface-z4 border;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='minimal'] [data-floating-nav-item]:hover {
|
|
44
|
-
@apply bg-surface-z2 text-surface-z9;
|
|
44
|
+
@apply bg-none bg-surface-z2 text-surface-z9;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='minimal'] [data-floating-nav-item][data-active] {
|
|
48
|
-
@apply text-surface-z10 bg-surface-z2;
|
|
48
|
+
@apply bg-none text-surface-z10 bg-surface-z2;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[data-style='minimal'] [data-floating-nav-item]:focus-visible {
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
============================================================================= */
|
|
67
67
|
|
|
68
68
|
[data-style='minimal'] [data-floating-nav-indicator] {
|
|
69
|
-
@apply bg-surface-z8;
|
|
69
|
+
@apply bg-none bg-surface-z8;
|
|
70
70
|
}
|
package/src/minimal/index.css
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
@import './tree.css';
|
|
15
15
|
@import './select.css';
|
|
16
16
|
@import './menu.css';
|
|
17
|
+
@import './dropdown.css';
|
|
17
18
|
@import './floating-action.css';
|
|
18
19
|
@import './input.css';
|
|
19
20
|
@import './table.css';
|
|
@@ -22,3 +23,6 @@
|
|
|
22
23
|
@import './timeline.css';
|
|
23
24
|
@import './floating-navigation.css';
|
|
24
25
|
@import './toc.css';
|
|
26
|
+
@import './card.css';
|
|
27
|
+
@import './message.css';
|
|
28
|
+
@import './status-list.css';
|