@rokkit/themes 1.0.5 → 1.1.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/build.mjs +4 -2
- package/package.json +3 -2
- package/src/base/carousel.css +2 -1
- package/src/base/code-block.css +76 -0
- package/src/base/display.css +16 -8
- package/src/base/frame.css +36 -0
- package/src/base/index.css +2 -0
- package/src/base/input.css +49 -10
- package/src/base/nav-content.css +3 -3
- package/src/base/stepper.css +14 -7
- package/src/base/tabs.css +15 -2
- package/src/base/typography.css +32 -13
- package/src/frosted/button.css +27 -27
- package/src/frosted/card.css +8 -8
- package/src/frosted/chart.css +6 -6
- package/src/frosted/code-block.css +33 -0
- package/src/frosted/dropdown.css +9 -9
- package/src/frosted/floating-action.css +10 -10
- package/src/frosted/floating-navigation.css +13 -13
- package/src/frosted/frame.css +17 -0
- package/src/frosted/index.css +2 -0
- package/src/frosted/input.css +16 -16
- package/src/frosted/list.css +25 -25
- package/src/frosted/menu.css +13 -13
- package/src/frosted/message.css +8 -8
- package/src/frosted/range.css +8 -8
- package/src/frosted/search-filter.css +8 -8
- package/src/frosted/select.css +31 -31
- package/src/frosted/status-list.css +17 -17
- package/src/frosted/step-indicator.css +8 -8
- package/src/frosted/swatch.css +3 -3
- package/src/frosted/switch.css +3 -3
- package/src/frosted/table.css +16 -16
- package/src/frosted/tabs.css +8 -8
- package/src/frosted/timeline.css +5 -5
- package/src/frosted/toc.css +4 -4
- package/src/frosted/toggle.css +7 -7
- package/src/frosted/toolbar.css +15 -15
- package/src/frosted/tree.css +19 -19
- package/src/material/button.css +29 -29
- package/src/material/card.css +12 -12
- package/src/material/chart.css +6 -6
- package/src/material/code-block.css +33 -0
- package/src/material/dropdown.css +11 -11
- package/src/material/floating-action.css +10 -10
- package/src/material/floating-navigation.css +13 -13
- package/src/material/frame.css +17 -0
- package/src/material/index.css +2 -0
- package/src/material/input.css +21 -21
- package/src/material/list.css +23 -23
- package/src/material/menu.css +16 -16
- package/src/material/message.css +8 -8
- package/src/material/range.css +8 -8
- package/src/material/search-filter.css +8 -8
- package/src/material/select.css +31 -31
- package/src/material/status-list.css +17 -17
- package/src/material/step-indicator.css +8 -8
- package/src/material/swatch.css +3 -3
- package/src/material/switch.css +6 -6
- package/src/material/table.css +16 -16
- package/src/material/tabs.css +7 -7
- package/src/material/timeline.css +5 -5
- package/src/material/toc.css +4 -4
- package/src/material/toggle.css +6 -6
- package/src/material/toolbar.css +11 -11
- package/src/material/tree.css +17 -17
- package/src/minimal/button.css +30 -30
- package/src/minimal/card.css +13 -13
- package/src/minimal/chart.css +6 -6
- package/src/minimal/code-block.css +33 -0
- package/src/minimal/dropdown.css +11 -11
- package/src/minimal/floating-action.css +10 -10
- package/src/minimal/floating-navigation.css +12 -12
- package/src/minimal/frame.css +17 -0
- package/src/minimal/index.css +2 -0
- package/src/minimal/input.css +24 -24
- package/src/minimal/list.css +52 -26
- package/src/minimal/menu.css +15 -15
- package/src/minimal/message.css +8 -8
- package/src/minimal/range.css +7 -7
- package/src/minimal/search-filter.css +8 -8
- package/src/minimal/select.css +27 -27
- package/src/minimal/status-list.css +17 -17
- package/src/minimal/step-indicator.css +8 -8
- package/src/minimal/swatch.css +3 -3
- package/src/minimal/switch.css +6 -6
- package/src/minimal/table.css +16 -16
- package/src/minimal/tabs.css +14 -14
- package/src/minimal/timeline.css +4 -4
- package/src/minimal/toc.css +4 -4
- package/src/minimal/toggle.css +7 -7
- package/src/minimal/toolbar.css +14 -14
- package/src/minimal/tree.css +24 -18
- package/src/rokkit/avatar.css +6 -6
- package/src/rokkit/badge.css +5 -5
- package/src/rokkit/button.css +55 -37
- package/src/rokkit/card.css +11 -11
- package/src/rokkit/chart.css +6 -6
- package/src/rokkit/code-block.css +33 -0
- package/src/rokkit/connector.css +1 -1
- package/src/rokkit/divider.css +5 -5
- package/src/rokkit/dropdown.css +11 -11
- package/src/rokkit/floating-action.css +11 -11
- package/src/rokkit/floating-navigation.css +15 -15
- package/src/rokkit/frame.css +17 -0
- package/src/rokkit/grid.css +8 -8
- package/src/rokkit/index.css +2 -0
- package/src/rokkit/input.css +17 -17
- package/src/rokkit/list.css +24 -24
- package/src/rokkit/menu.css +14 -14
- package/src/rokkit/message.css +12 -12
- package/src/rokkit/range.css +10 -10
- package/src/rokkit/search-filter.css +8 -8
- package/src/rokkit/select.css +34 -34
- package/src/rokkit/status-list.css +17 -17
- package/src/rokkit/step-indicator.css +8 -8
- package/src/rokkit/swatch.css +3 -3
- package/src/rokkit/switch.css +6 -6
- package/src/rokkit/table.css +16 -16
- package/src/rokkit/tabs.css +31 -28
- package/src/rokkit/timeline.css +5 -5
- package/src/rokkit/toc.css +4 -4
- package/src/rokkit/toggle.css +21 -10
- package/src/rokkit/toolbar.css +15 -15
- package/src/rokkit/tooltip.css +1 -1
- package/src/rokkit/tree.css +23 -23
- package/src/rokkit/upload-progress.css +18 -18
- package/src/rokkit/upload-target.css +8 -8
- package/src/zen-sumi/button.css +29 -29
- package/src/zen-sumi/card.css +12 -12
- package/src/zen-sumi/chart.css +6 -6
- package/src/zen-sumi/code-block.css +35 -0
- package/src/zen-sumi/dropdown.css +10 -10
- package/src/zen-sumi/floating-action.css +7 -7
- package/src/zen-sumi/floating-navigation.css +11 -11
- package/src/zen-sumi/frame.css +20 -0
- package/src/zen-sumi/index.css +2 -0
- package/src/zen-sumi/input.css +49 -23
- package/src/zen-sumi/list.css +20 -20
- package/src/zen-sumi/menu.css +14 -14
- package/src/zen-sumi/message.css +8 -8
- package/src/zen-sumi/range.css +7 -7
- package/src/zen-sumi/search-filter.css +8 -8
- package/src/zen-sumi/select.css +26 -26
- package/src/zen-sumi/status-list.css +17 -17
- package/src/zen-sumi/step-indicator.css +8 -8
- package/src/zen-sumi/swatch.css +3 -3
- package/src/zen-sumi/switch.css +5 -5
- package/src/zen-sumi/table.css +16 -16
- package/src/zen-sumi/tabs.css +8 -8
- package/src/zen-sumi/timeline.css +4 -4
- package/src/zen-sumi/toc.css +4 -4
- package/src/zen-sumi/toggle.css +18 -10
- package/src/zen-sumi/toolbar.css +14 -14
- package/src/zen-sumi/tree.css +16 -16
package/src/material/select.css
CHANGED
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-select-trigger] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-soft text-ink-mute border-paper-edge border bg-none shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-select-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply bg-
|
|
16
|
+
@apply bg-paper-mute border-ink-soft bg-none shadow-md;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-select-trigger]:focus-visible {
|
|
20
|
-
@apply ring-primary
|
|
20
|
+
@apply ring-primary ring-1 outline-none;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-select][data-open='true'] [data-select-trigger] {
|
|
24
|
-
@apply border-primary
|
|
24
|
+
@apply border-primary bg-none shadow-md;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
============================================================================= */
|
|
30
30
|
|
|
31
31
|
[data-style='material'] [data-select-placeholder] {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink-soft;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='material'] [data-select-arrow] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-soft;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='material'] [data-select-trigger]:hover:not(:disabled) [data-select-arrow] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-mute;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* =============================================================================
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
============================================================================= */
|
|
50
50
|
|
|
51
51
|
[data-style='material'] [data-select-tag] {
|
|
52
|
-
@apply bg-
|
|
52
|
+
@apply bg-paper-mute text-ink-mute rounded-full bg-none shadow-sm;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='material'] [data-select-tag-remove] {
|
|
56
|
-
@apply text-
|
|
56
|
+
@apply text-ink-soft rounded-full;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='material'] [data-select-tag-remove]:hover {
|
|
60
|
-
@apply text-
|
|
60
|
+
@apply text-ink bg-paper-mute;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* =============================================================================
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
67
|
[data-style='material'] [data-select-dropdown] {
|
|
68
|
-
@apply bg-
|
|
68
|
+
@apply bg-paper-soft border-paper-mute border bg-none shadow-lg;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -73,25 +73,25 @@
|
|
|
73
73
|
============================================================================= */
|
|
74
74
|
|
|
75
75
|
[data-style='material'] [data-select-option] {
|
|
76
|
-
@apply text-
|
|
76
|
+
@apply text-ink-mute;
|
|
77
77
|
}
|
|
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-
|
|
81
|
+
@apply bg-paper-mute text-ink bg-none;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
[data-style='material'] [data-select-option]:focus-visible {
|
|
85
|
-
@apply ring-primary
|
|
85
|
+
@apply ring-primary ring-2 outline-none ring-inset;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
[data-style='material'] [data-select-option][data-selected='true'] {
|
|
89
|
-
@apply bg-primary
|
|
89
|
+
@apply bg-primary text-primary bg-none;
|
|
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
|
|
94
|
+
@apply bg-primary bg-none;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
|
|
@@ -103,37 +103,37 @@
|
|
|
103
103
|
|
|
104
104
|
/* Check mark */
|
|
105
105
|
[data-style='material'] [data-select-check] {
|
|
106
|
-
@apply text-primary
|
|
106
|
+
@apply text-primary;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/* Checkbox */
|
|
110
110
|
[data-style='material'] [data-select-checkbox] {
|
|
111
|
-
@apply border-
|
|
111
|
+
@apply border-ink-soft bg-paper-soft rounded bg-none;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
[data-style='material'] [data-select-checkbox][data-checked='true'] {
|
|
115
|
-
@apply bg-primary
|
|
115
|
+
@apply bg-primary border-primary bg-none text-on-primary;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
/* Item elements */
|
|
119
119
|
[data-style='material'] [data-select-option] [data-item-icon] {
|
|
120
|
-
@apply text-
|
|
120
|
+
@apply text-ink-soft;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
[data-style='material'] [data-select-option]:hover:not(:disabled) [data-item-icon] {
|
|
124
|
-
@apply text-
|
|
124
|
+
@apply text-ink-mute;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
[data-style='material'] [data-select-option][data-selected='true'] [data-item-icon] {
|
|
128
|
-
@apply text-primary
|
|
128
|
+
@apply text-primary;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
[data-style='material'] [data-select-option] [data-item-description] {
|
|
132
|
-
@apply text-
|
|
132
|
+
@apply text-ink-soft;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
[data-style='material'] [data-select-option][data-selected='true'] [data-item-description] {
|
|
136
|
-
@apply text-primary
|
|
136
|
+
@apply text-primary;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/* =============================================================================
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
============================================================================= */
|
|
142
142
|
|
|
143
143
|
[data-style='material'] [data-select-group-label] {
|
|
144
|
-
@apply text-
|
|
144
|
+
@apply text-ink-soft font-medium;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/* =============================================================================
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
============================================================================= */
|
|
150
150
|
|
|
151
151
|
[data-style='material'] [data-select-divider] {
|
|
152
|
-
@apply bg-
|
|
152
|
+
@apply bg-paper-mute bg-none;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
/* =============================================================================
|
|
@@ -157,21 +157,21 @@
|
|
|
157
157
|
============================================================================= */
|
|
158
158
|
|
|
159
159
|
[data-style='material'] [data-select-filter] {
|
|
160
|
-
@apply bg-
|
|
160
|
+
@apply bg-paper-soft;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
[data-style='material'] [data-select-filter-input] {
|
|
164
|
-
@apply text-
|
|
164
|
+
@apply text-ink-mute border-paper-edge bg-paper-soft border shadow-sm;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
[data-style='material'] [data-select-filter-input]:focus {
|
|
168
|
-
@apply border-primary
|
|
168
|
+
@apply border-primary ring-primary ring-1;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
[data-style='material'] [data-select-filter-input]::placeholder {
|
|
172
|
-
@apply text-
|
|
172
|
+
@apply text-ink-soft;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
[data-style='material'] [data-select-empty] {
|
|
176
|
-
@apply text-
|
|
176
|
+
@apply text-ink-soft;
|
|
177
177
|
}
|
|
@@ -5,62 +5,62 @@
|
|
|
5
5
|
/* ── @rokkit/ui StatusList: icon and text colors by status ── */
|
|
6
6
|
|
|
7
7
|
[data-style='material'] [data-status-item][data-status='pass'] span {
|
|
8
|
-
@apply text-success
|
|
8
|
+
@apply text-success;
|
|
9
9
|
}
|
|
10
10
|
[data-style='material'] [data-status-item][data-status='fail'] span {
|
|
11
|
-
@apply text-error
|
|
11
|
+
@apply text-error;
|
|
12
12
|
}
|
|
13
13
|
[data-style='material'] [data-status-item][data-status='warn'] span {
|
|
14
|
-
@apply text-warning
|
|
14
|
+
@apply text-warning;
|
|
15
15
|
}
|
|
16
16
|
[data-style='material'] [data-status-item][data-status='unknown'] span {
|
|
17
|
-
@apply text-
|
|
17
|
+
@apply text-paper-edge;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[data-style='material'] [data-status-item][data-status='pass'] {
|
|
21
|
-
@apply text-success
|
|
21
|
+
@apply text-success;
|
|
22
22
|
}
|
|
23
23
|
[data-style='material'] [data-status-item][data-status='fail'] {
|
|
24
|
-
@apply text-error
|
|
24
|
+
@apply text-error;
|
|
25
25
|
}
|
|
26
26
|
[data-style='material'] [data-status-item][data-status='warn'] {
|
|
27
|
-
@apply text-warning
|
|
27
|
+
@apply text-warning;
|
|
28
28
|
}
|
|
29
29
|
[data-style='material'] [data-status-item][data-status='unknown'] {
|
|
30
|
-
@apply text-
|
|
30
|
+
@apply text-ink-soft;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* ── @rokkit/forms StatusList: group headers by severity ── */
|
|
34
34
|
|
|
35
35
|
[data-style='material'] [data-status-group][data-severity='error'] [data-status-header] {
|
|
36
|
-
@apply text-error
|
|
36
|
+
@apply text-error;
|
|
37
37
|
}
|
|
38
38
|
[data-style='material'] [data-status-group][data-severity='warning'] [data-status-header] {
|
|
39
|
-
@apply text-warning
|
|
39
|
+
@apply text-warning;
|
|
40
40
|
}
|
|
41
41
|
[data-style='material'] [data-status-group][data-severity='info'] [data-status-header] {
|
|
42
|
-
@apply text-info
|
|
42
|
+
@apply text-info;
|
|
43
43
|
}
|
|
44
44
|
[data-style='material'] [data-status-group][data-severity='success'] [data-status-header] {
|
|
45
|
-
@apply text-success
|
|
45
|
+
@apply text-success;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* ── @rokkit/forms StatusList: item colors ── */
|
|
49
49
|
|
|
50
50
|
[data-style='material'] [data-status-item][data-status='error'] {
|
|
51
|
-
@apply text-error
|
|
51
|
+
@apply text-error;
|
|
52
52
|
}
|
|
53
53
|
[data-style='material'] [data-status-item][data-status='warning'] {
|
|
54
|
-
@apply text-warning
|
|
54
|
+
@apply text-warning;
|
|
55
55
|
}
|
|
56
56
|
[data-style='material'] [data-status-item][data-status='info'] {
|
|
57
|
-
@apply text-info
|
|
57
|
+
@apply text-info;
|
|
58
58
|
}
|
|
59
59
|
[data-style='material'] [data-status-item][data-status='success'] {
|
|
60
|
-
@apply text-success
|
|
60
|
+
@apply text-success;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* Count badge */
|
|
64
64
|
[data-style='material'] [data-status-count] {
|
|
65
|
-
@apply bg-
|
|
65
|
+
@apply bg-paper-mute text-ink-mute bg-none font-semibold shadow-sm;
|
|
66
66
|
}
|
|
@@ -3,38 +3,38 @@
|
|
|
3
3
|
/* ── Number circles ── */
|
|
4
4
|
|
|
5
5
|
[data-style='material'] [data-step-item][data-step-state='complete'] [data-step-number] {
|
|
6
|
-
@apply bg-primary
|
|
6
|
+
@apply bg-primary border-primary text-on-primary bg-none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
[data-style='material'] [data-step-item][data-step-state='current'] [data-step-number] {
|
|
10
|
-
@apply bg-
|
|
10
|
+
@apply bg-paper-mute border-primary text-primary bg-none ring-3 ring-primary/15;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[data-style='material'] [data-step-item][data-step-state='upcoming'] [data-step-number] {
|
|
14
|
-
@apply bg-
|
|
14
|
+
@apply bg-paper-mute border-paper-mute text-ink-soft bg-none;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* ── Labels ── */
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-step-item][data-step-state='complete'] [data-step-label] {
|
|
20
|
-
@apply text-primary
|
|
20
|
+
@apply text-primary bg-none;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-step-item][data-step-state='current'] [data-step-label] {
|
|
24
|
-
@apply text-
|
|
24
|
+
@apply text-ink font-semibold bg-none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='material'] [data-step-item][data-step-state='upcoming'] [data-step-label] {
|
|
28
|
-
@apply text-
|
|
28
|
+
@apply text-ink-soft bg-none;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/* ── Connector lines ── */
|
|
32
32
|
|
|
33
33
|
[data-style='material'] [data-step-item][data-step-state='complete']::after {
|
|
34
|
-
@apply bg-primary
|
|
34
|
+
@apply bg-primary;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
[data-style='material'] [data-step-item][data-step-state='current']::after,
|
|
38
38
|
[data-style='material'] [data-step-item][data-step-state='upcoming']::after {
|
|
39
|
-
@apply bg-
|
|
39
|
+
@apply bg-paper-mute;
|
|
40
40
|
}
|
package/src/material/swatch.css
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
[data-style='material'] [data-swatch-item][data-selected] {
|
|
7
7
|
background: transparent;
|
|
8
|
-
@apply outline-
|
|
8
|
+
@apply outline-accent;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
[data-style='material']
|
|
12
12
|
[data-swatch-item]:hover:not(:disabled):not([data-disabled]):not([data-selected]),
|
|
13
13
|
[data-style='material']
|
|
14
14
|
[data-swatch-item]:focus-visible:not(:disabled):not([data-disabled]):not([data-selected]) {
|
|
15
|
-
@apply outline-primary
|
|
15
|
+
@apply outline-primary;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
[data-style='material'] [data-swatch-item][data-selected]:focus-visible {
|
|
19
|
-
@apply outline-
|
|
19
|
+
@apply outline-accent;
|
|
20
20
|
outline-offset: 3px;
|
|
21
21
|
}
|
package/src/material/switch.css
CHANGED
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='material'] [data-switch-track] {
|
|
6
|
-
@apply bg-
|
|
6
|
+
@apply bg-paper-mute bg-none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
[data-style='material'] [data-switch-thumb] {
|
|
10
|
-
@apply bg-
|
|
10
|
+
@apply bg-ink-soft shadow-md;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[data-style='material'] [data-switch]:focus-visible [data-switch-track] {
|
|
14
|
-
@apply ring-primary
|
|
14
|
+
@apply ring-primary ring-2 ring-offset-1;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* On state */
|
|
18
18
|
[data-style='material'] [data-switch][aria-checked='true'] [data-switch-track] {
|
|
19
|
-
@apply bg-primary
|
|
19
|
+
@apply bg-primary bg-none;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
[data-style='material'] [data-switch][aria-checked='true'] [data-switch-thumb] {
|
|
23
|
-
@apply bg-
|
|
23
|
+
@apply bg-paper shadow-lg;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
[data-style='material'] [data-switch-label] {
|
|
27
|
-
@apply text-
|
|
27
|
+
@apply text-ink-mute;
|
|
28
28
|
}
|
package/src/material/table.css
CHANGED
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-table-header] th {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-soft bg-paper-mute border-paper-edge border-b font-medium;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-table-header-cell][data-sortable='true']:hover {
|
|
16
|
-
@apply text-
|
|
16
|
+
@apply text-ink bg-paper-mute;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-table-header-cell][data-sort-order='ascending'],
|
|
20
20
|
[data-style='material'] [data-table-header-cell][data-sort-order='descending'] {
|
|
21
|
-
@apply text-primary
|
|
21
|
+
@apply text-primary;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='material'] [data-table-sort-icon] {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-ink-soft;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[data-style='material']
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
[data-style='material']
|
|
32
32
|
[data-table-header-cell][data-sort-order='descending']
|
|
33
33
|
[data-table-sort-icon] {
|
|
34
|
-
@apply text-primary
|
|
34
|
+
@apply text-primary;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/* =============================================================================
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
============================================================================= */
|
|
40
40
|
|
|
41
41
|
[data-style='material'] [data-table-caption] {
|
|
42
|
-
@apply text-
|
|
42
|
+
@apply text-ink-mute;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* =============================================================================
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
============================================================================= */
|
|
48
48
|
|
|
49
49
|
[data-style='material'] [data-table-row] {
|
|
50
|
-
@apply text-
|
|
50
|
+
@apply text-ink-mute border-paper-mute border-b;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
[data-style='material'] [data-table-row]:hover {
|
|
54
|
-
@apply bg-
|
|
54
|
+
@apply bg-paper-mute bg-none;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
[data-style='material'] [data-table-row]:focus {
|
|
58
|
-
@apply bg-
|
|
58
|
+
@apply bg-paper-mute text-ink ring-primary bg-none 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
|
|
62
|
+
@apply bg-primary text-primary bg-none;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/* =============================================================================
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
============================================================================= */
|
|
68
68
|
|
|
69
69
|
[data-style='material'] [data-table-striped] [data-table-body] tr:nth-child(even) {
|
|
70
|
-
@apply bg-
|
|
70
|
+
@apply bg-paper-soft;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/* =============================================================================
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
============================================================================= */
|
|
76
76
|
|
|
77
77
|
[data-style='material'] [data-table-empty] {
|
|
78
|
-
@apply text-
|
|
78
|
+
@apply text-ink-soft;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* =============================================================================
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
============================================================================= */
|
|
84
84
|
|
|
85
85
|
[data-style='material'] [data-table-cell] [data-cell-icon] {
|
|
86
|
-
@apply text-
|
|
86
|
+
@apply text-ink-soft;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
[data-style='material'] [data-table-row][data-selected='true'] [data-cell-icon] {
|
|
90
|
-
@apply text-primary
|
|
90
|
+
@apply text-primary;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/* =============================================================================
|
|
@@ -96,11 +96,11 @@
|
|
|
96
96
|
|
|
97
97
|
@media (max-width: 639px) {
|
|
98
98
|
[data-style='material'] [data-table-responsive] [data-table-row] {
|
|
99
|
-
@apply bg-
|
|
99
|
+
@apply bg-paper-mute border-paper-mute border bg-none shadow-sm;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
[data-style='material'] [data-table-responsive] [data-table-cell]::before {
|
|
103
|
-
@apply text-
|
|
103
|
+
@apply text-ink-soft;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/* Disable striped alternating bg in card layout */
|
package/src/material/tabs.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-tabs-list] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-mute gap-0.5 rounded-t-lg border-0 px-0 shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-tabs][data-position='after'] [data-tabs-list] {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
============================================================================= */
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-tabs-trigger] {
|
|
24
|
-
@apply text-
|
|
24
|
+
@apply text-ink-soft rounded-t-lg bg-transparent;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='material'] [data-tabs][data-position='after'] [data-tabs-trigger] {
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='material'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
32
|
-
@apply bg-
|
|
32
|
+
@apply bg-paper-mute text-ink-mute;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Selected state */
|
|
36
36
|
[data-style='material'] [data-tabs-trigger][data-selected] {
|
|
37
|
-
@apply bg-primary
|
|
37
|
+
@apply bg-primary text-on-primary shadow-md;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
============================================================================= */
|
|
69
69
|
|
|
70
70
|
[data-style='material'] [data-tabs-trigger] [data-tabs-icon] {
|
|
71
|
-
@apply text-
|
|
71
|
+
@apply text-ink-soft;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
[data-style='material'] [data-tabs-trigger]:hover:not(:disabled) [data-tabs-icon] {
|
|
75
|
-
@apply text-
|
|
75
|
+
@apply text-ink-mute;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
[data-style='material'] [data-tabs-trigger][data-selected] [data-tabs-icon] {
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
============================================================================= */
|
|
85
85
|
|
|
86
86
|
[data-style='material'] [data-tabs-content] {
|
|
87
|
-
@apply text-
|
|
87
|
+
@apply text-ink-mute;
|
|
88
88
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-timeline-circle] {
|
|
12
|
-
@apply border-
|
|
12
|
+
@apply border-paper-edge text-ink-soft;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-timeline-item][data-completed] [data-timeline-circle] {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-timeline-item][data-active] [data-timeline-circle] {
|
|
20
|
-
@apply border-primary text-primary ring-3 ring-primary
|
|
20
|
+
@apply border-primary text-primary ring-3 ring-primary/25;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* =============================================================================
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
============================================================================= */
|
|
26
26
|
|
|
27
27
|
[data-style='material'] [data-timeline-connector] {
|
|
28
|
-
@apply bg-
|
|
28
|
+
@apply bg-paper-mute;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='material'] [data-timeline-item][data-completed] [data-timeline-connector] {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='material'] [data-timeline-title] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='material'] [data-timeline-description] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-soft;
|
|
45
45
|
}
|
package/src/material/toc.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* TableOfContents — Material theme */
|
|
2
2
|
|
|
3
3
|
[data-style='material'] [data-toc] [data-toc-label] {
|
|
4
|
-
@apply text-
|
|
4
|
+
@apply text-ink-soft;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
[data-style='material'] [data-toc] [data-toc-item] {
|
|
8
|
-
@apply text-
|
|
8
|
+
@apply text-ink-mute;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-toc] [data-toc-item]:hover,
|
|
12
12
|
[data-style='material'] [data-toc] [data-toc-item][data-toc-focused] {
|
|
13
|
-
@apply text-
|
|
13
|
+
@apply text-ink bg-paper-mute outline-none;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-style='material'] [data-toc] [data-toc-item][data-toc-active] {
|
|
17
|
-
@apply text-primary
|
|
17
|
+
@apply text-primary border-l-primary;
|
|
18
18
|
}
|
package/src/material/toggle.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-toggle] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-mute rounded-full bg-none shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-toggle-option] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-soft rounded-full;
|
|
21
21
|
}
|
|
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-
|
|
25
|
+
@apply bg-paper-mute text-ink-mute bg-none;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Selected state */
|
|
29
29
|
[data-style='material'] [data-toggle-option][data-selected='true'] {
|
|
30
|
-
@apply bg-primary
|
|
30
|
+
@apply bg-primary bg-none text-on-primary shadow-md;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* =============================================================================
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
============================================================================= */
|
|
36
36
|
|
|
37
37
|
[data-style='material'] [data-toggle-option] [data-toggle-icon] {
|
|
38
|
-
@apply text-
|
|
38
|
+
@apply text-ink-soft;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
[data-style='material'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
|
|
42
42
|
[data-style='material'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
|
|
43
|
-
@apply text-
|
|
43
|
+
@apply text-ink-mute;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
[data-style='material'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
|