@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
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-search-input] {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-mute border-paper-edge border bg-transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-search-input]:focus {
|
|
16
|
-
@apply border-
|
|
16
|
+
@apply border-ink-soft ring-ink-soft ring-1;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-search-input]::placeholder {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-soft;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* =============================================================================
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
============================================================================= */
|
|
26
26
|
|
|
27
27
|
[data-style='minimal'] [data-search-clear] {
|
|
28
|
-
@apply text-
|
|
28
|
+
@apply text-ink-soft;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='minimal'] [data-search-clear]:hover {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink-mute;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='minimal'] [data-search-tag] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute border-paper-edge border bg-transparent bg-none;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='minimal'] [data-search-tag-remove] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-soft;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='minimal'] [data-search-tag-remove]:hover {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink-mute;
|
|
49
49
|
}
|
package/src/minimal/select.css
CHANGED
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-select-trigger] {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-mute border-paper-edge border bg-transparent bg-none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-select-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply border-
|
|
16
|
+
@apply border-ink-soft text-ink-mute bg-none;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-select-trigger]:focus-visible {
|
|
20
|
-
@apply ring-
|
|
20
|
+
@apply ring-ink-soft ring-1 outline-none;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-select][data-open='true'] [data-select-trigger] {
|
|
24
|
-
@apply border-
|
|
24
|
+
@apply border-ink-soft bg-none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
============================================================================= */
|
|
30
30
|
|
|
31
31
|
[data-style='minimal'] [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='minimal'] [data-select-arrow] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-soft;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='minimal'] [data-select-trigger]:hover:not(:disabled) [data-select-arrow] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-soft;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* =============================================================================
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
============================================================================= */
|
|
50
50
|
|
|
51
51
|
[data-style='minimal'] [data-select-tag] {
|
|
52
|
-
@apply text-
|
|
52
|
+
@apply text-ink-mute border-paper-edge border bg-transparent bg-none;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='minimal'] [data-select-tag-remove] {
|
|
56
|
-
@apply text-
|
|
56
|
+
@apply text-ink-soft;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='minimal'] [data-select-tag-remove]:hover {
|
|
60
|
-
@apply text-
|
|
60
|
+
@apply text-ink-mute;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* =============================================================================
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
67
|
[data-style='minimal'] [data-select-dropdown] {
|
|
68
|
-
@apply bg-
|
|
68
|
+
@apply bg-paper-soft border-paper-mute border bg-none shadow-sm;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -73,48 +73,48 @@
|
|
|
73
73
|
============================================================================= */
|
|
74
74
|
|
|
75
75
|
[data-style='minimal'] [data-select-option] {
|
|
76
|
-
@apply text-
|
|
76
|
+
@apply text-ink-mute border-0 border-solid border-transparent;
|
|
77
77
|
}
|
|
78
78
|
|
|
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-
|
|
82
|
+
@apply text-ink border-l-accent border-l-2 bg-none outline-none;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/* Selected state */
|
|
86
86
|
[data-style='minimal'] [data-select-option][data-selected='true'] {
|
|
87
|
-
@apply text-
|
|
87
|
+
@apply text-ink-mute border-primary border-l-2 bg-none;
|
|
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
|
|
94
|
+
@apply text-primary border-primary border-l-2 bg-none;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* Check mark */
|
|
98
98
|
[data-style='minimal'] [data-select-check] {
|
|
99
|
-
@apply text-primary
|
|
99
|
+
@apply text-primary;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/* Checkbox */
|
|
103
103
|
[data-style='minimal'] [data-select-checkbox] {
|
|
104
|
-
@apply border-
|
|
104
|
+
@apply border-ink-soft bg-transparent bg-none;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
[data-style='minimal'] [data-select-checkbox][data-checked='true'] {
|
|
108
|
-
@apply bg-primary
|
|
108
|
+
@apply bg-primary border-primary bg-none text-on-primary;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/* Item elements */
|
|
112
112
|
[data-style='minimal'] [data-select-option] [data-item-description] {
|
|
113
|
-
@apply text-
|
|
113
|
+
@apply text-ink-soft;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
[data-style='minimal'] [data-select-option][data-selected='true'] [data-item-description] {
|
|
117
|
-
@apply text-primary
|
|
117
|
+
@apply text-primary;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/* =============================================================================
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
============================================================================= */
|
|
123
123
|
|
|
124
124
|
[data-style='minimal'] [data-select-group-label] {
|
|
125
|
-
@apply text-
|
|
125
|
+
@apply text-ink-soft;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/* =============================================================================
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
============================================================================= */
|
|
131
131
|
|
|
132
132
|
[data-style='minimal'] [data-select-divider] {
|
|
133
|
-
@apply bg-
|
|
133
|
+
@apply bg-paper-mute bg-none;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
/* =============================================================================
|
|
@@ -138,21 +138,21 @@
|
|
|
138
138
|
============================================================================= */
|
|
139
139
|
|
|
140
140
|
[data-style='minimal'] [data-select-filter] {
|
|
141
|
-
@apply bg-
|
|
141
|
+
@apply bg-paper-soft;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
[data-style='minimal'] [data-select-filter-input] {
|
|
145
|
-
@apply text-
|
|
145
|
+
@apply text-ink-mute border-paper-edge border bg-transparent;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
[data-style='minimal'] [data-select-filter-input]:focus {
|
|
149
|
-
@apply border-
|
|
149
|
+
@apply border-ink-soft ring-ink-soft ring-1;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
[data-style='minimal'] [data-select-filter-input]::placeholder {
|
|
153
|
-
@apply text-
|
|
153
|
+
@apply text-ink-soft;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
[data-style='minimal'] [data-select-empty] {
|
|
157
|
-
@apply text-
|
|
157
|
+
@apply text-ink-soft;
|
|
158
158
|
}
|
|
@@ -5,62 +5,62 @@
|
|
|
5
5
|
/* ── @rokkit/ui StatusList: icon and text colors by status ── */
|
|
6
6
|
|
|
7
7
|
[data-style='minimal'] [data-status-item][data-status='pass'] span {
|
|
8
|
-
@apply text-success
|
|
8
|
+
@apply text-success;
|
|
9
9
|
}
|
|
10
10
|
[data-style='minimal'] [data-status-item][data-status='fail'] span {
|
|
11
|
-
@apply text-error
|
|
11
|
+
@apply text-error;
|
|
12
12
|
}
|
|
13
13
|
[data-style='minimal'] [data-status-item][data-status='warn'] span {
|
|
14
|
-
@apply text-warning
|
|
14
|
+
@apply text-warning;
|
|
15
15
|
}
|
|
16
16
|
[data-style='minimal'] [data-status-item][data-status='unknown'] span {
|
|
17
|
-
@apply text-
|
|
17
|
+
@apply text-paper-edge;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[data-style='minimal'] [data-status-item][data-status='pass'] {
|
|
21
|
-
@apply text-success
|
|
21
|
+
@apply text-success;
|
|
22
22
|
}
|
|
23
23
|
[data-style='minimal'] [data-status-item][data-status='fail'] {
|
|
24
|
-
@apply text-error
|
|
24
|
+
@apply text-error;
|
|
25
25
|
}
|
|
26
26
|
[data-style='minimal'] [data-status-item][data-status='warn'] {
|
|
27
|
-
@apply text-warning
|
|
27
|
+
@apply text-warning;
|
|
28
28
|
}
|
|
29
29
|
[data-style='minimal'] [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='minimal'] [data-status-group][data-severity='error'] [data-status-header] {
|
|
36
|
-
@apply text-error
|
|
36
|
+
@apply text-error;
|
|
37
37
|
}
|
|
38
38
|
[data-style='minimal'] [data-status-group][data-severity='warning'] [data-status-header] {
|
|
39
|
-
@apply text-warning
|
|
39
|
+
@apply text-warning;
|
|
40
40
|
}
|
|
41
41
|
[data-style='minimal'] [data-status-group][data-severity='info'] [data-status-header] {
|
|
42
|
-
@apply text-info
|
|
42
|
+
@apply text-info;
|
|
43
43
|
}
|
|
44
44
|
[data-style='minimal'] [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='minimal'] [data-status-item][data-status='error'] {
|
|
51
|
-
@apply text-error
|
|
51
|
+
@apply text-error;
|
|
52
52
|
}
|
|
53
53
|
[data-style='minimal'] [data-status-item][data-status='warning'] {
|
|
54
|
-
@apply text-warning
|
|
54
|
+
@apply text-warning;
|
|
55
55
|
}
|
|
56
56
|
[data-style='minimal'] [data-status-item][data-status='info'] {
|
|
57
|
-
@apply text-info
|
|
57
|
+
@apply text-info;
|
|
58
58
|
}
|
|
59
59
|
[data-style='minimal'] [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='minimal'] [data-status-count] {
|
|
65
|
-
@apply text-
|
|
65
|
+
@apply text-ink-soft bg-none font-semibold;
|
|
66
66
|
}
|
|
@@ -3,38 +3,38 @@
|
|
|
3
3
|
/* ── Number circles ── */
|
|
4
4
|
|
|
5
5
|
[data-style='minimal'] [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='minimal'] [data-step-item][data-step-state='current'] [data-step-number] {
|
|
10
|
-
@apply bg-transparent border-primary
|
|
10
|
+
@apply bg-transparent border-primary text-primary bg-none;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[data-style='minimal'] [data-step-item][data-step-state='upcoming'] [data-step-number] {
|
|
14
|
-
@apply bg-transparent border-
|
|
14
|
+
@apply bg-transparent border-paper-mute text-ink-soft bg-none;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* ── Labels ── */
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [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='minimal'] [data-step-item][data-step-state='current'] [data-step-label] {
|
|
24
|
-
@apply text-
|
|
24
|
+
@apply text-ink-mute font-semibold bg-none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='minimal'] [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='minimal'] [data-step-item][data-step-state='complete']::after {
|
|
34
|
-
@apply bg-primary
|
|
34
|
+
@apply bg-primary;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
[data-style='minimal'] [data-step-item][data-step-state='current']::after,
|
|
38
38
|
[data-style='minimal'] [data-step-item][data-step-state='upcoming']::after {
|
|
39
|
-
@apply bg-
|
|
39
|
+
@apply bg-paper-mute;
|
|
40
40
|
}
|
package/src/minimal/swatch.css
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
[data-style='minimal'] [data-swatch-item][data-selected] {
|
|
7
7
|
background: transparent;
|
|
8
|
-
@apply outline-
|
|
8
|
+
@apply outline-accent;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
[data-style='minimal']
|
|
12
12
|
[data-swatch-item]:hover:not(:disabled):not([data-disabled]):not([data-selected]),
|
|
13
13
|
[data-style='minimal']
|
|
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='minimal'] [data-swatch-item][data-selected]:focus-visible {
|
|
19
|
-
@apply outline-
|
|
19
|
+
@apply outline-accent;
|
|
20
20
|
outline-offset: 3px;
|
|
21
21
|
}
|
package/src/minimal/switch.css
CHANGED
|
@@ -4,29 +4,29 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
[data-style='minimal'] [data-switch-track] {
|
|
7
|
-
@apply bg-
|
|
7
|
+
@apply bg-paper-edge border-0;
|
|
8
8
|
background-image: none;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-switch] [data-switch-thumb] {
|
|
12
12
|
--switch-thumb-travel: 1.25rem;
|
|
13
|
-
@apply bg-
|
|
13
|
+
@apply bg-paper-soft;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-style='minimal'] [data-switch]:focus-visible [data-switch-track] {
|
|
17
|
-
@apply ring-primary
|
|
17
|
+
@apply ring-primary ring-2 ring-offset-1;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* On state */
|
|
21
21
|
[data-style='minimal'] [data-switch][aria-checked='true'] [data-switch-track] {
|
|
22
|
-
@apply bg-primary
|
|
22
|
+
@apply bg-primary border-0;
|
|
23
23
|
background-image: none;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
[data-style='minimal'] [data-switch][aria-checked='true'] [data-switch-thumb] {
|
|
27
|
-
@apply bg-
|
|
27
|
+
@apply bg-paper-soft;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
[data-style='minimal'] [data-switch-label] {
|
|
31
|
-
@apply text-
|
|
31
|
+
@apply text-ink-mute;
|
|
32
32
|
}
|
package/src/minimal/table.css
CHANGED
|
@@ -9,27 +9,27 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-table-header] th {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-soft border-paper-edge border-b bg-paper-mute;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-table-header-cell][data-sortable='true']:hover {
|
|
16
|
-
@apply text-
|
|
16
|
+
@apply text-ink-mute;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-table-header-cell][data-sort-order='ascending'],
|
|
20
20
|
[data-style='minimal'] [data-table-header-cell][data-sort-order='descending'] {
|
|
21
|
-
@apply text-primary
|
|
21
|
+
@apply text-primary;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='minimal'] [data-table-sort-icon] {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-ink-soft;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[data-style='minimal'] [data-table-header-cell][data-sort-order='ascending'] [data-table-sort-icon],
|
|
29
29
|
[data-style='minimal']
|
|
30
30
|
[data-table-header-cell][data-sort-order='descending']
|
|
31
31
|
[data-table-sort-icon] {
|
|
32
|
-
@apply text-primary
|
|
32
|
+
@apply text-primary;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='minimal'] [data-table-caption] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* =============================================================================
|
|
@@ -45,19 +45,19 @@
|
|
|
45
45
|
============================================================================= */
|
|
46
46
|
|
|
47
47
|
[data-style='minimal'] [data-table-row] {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink-mute border-paper-mute border-b;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[data-style='minimal'] [data-table-row]:hover {
|
|
52
|
-
@apply text-
|
|
52
|
+
@apply text-ink bg-none;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='minimal'] [data-table-row]:focus {
|
|
56
|
-
@apply text-
|
|
56
|
+
@apply text-ink ring-ink-soft bg-none ring-1 outline-none;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='minimal'] [data-table-row][data-selected='true'] {
|
|
60
|
-
@apply text-primary
|
|
60
|
+
@apply text-primary border-l-primary border-l-2 bg-none;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* =============================================================================
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
67
|
[data-style='minimal'] [data-table-striped] [data-table-body] tr:nth-child(even) {
|
|
68
|
-
@apply bg-
|
|
68
|
+
@apply bg-paper-soft;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
============================================================================= */
|
|
74
74
|
|
|
75
75
|
[data-style='minimal'] [data-table-empty] {
|
|
76
|
-
@apply text-
|
|
76
|
+
@apply text-ink-soft;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* =============================================================================
|
|
@@ -81,11 +81,11 @@
|
|
|
81
81
|
============================================================================= */
|
|
82
82
|
|
|
83
83
|
[data-style='minimal'] [data-table-cell] [data-cell-icon] {
|
|
84
|
-
@apply text-
|
|
84
|
+
@apply text-ink-soft;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
[data-style='minimal'] [data-table-row][data-selected='true'] [data-cell-icon] {
|
|
88
|
-
@apply text-primary
|
|
88
|
+
@apply text-primary;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/* =============================================================================
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
|
|
95
95
|
@media (max-width: 639px) {
|
|
96
96
|
[data-style='minimal'] [data-table-responsive] [data-table-row] {
|
|
97
|
-
@apply border-
|
|
97
|
+
@apply border-paper-mute border bg-none;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
[data-style='minimal'] [data-table-responsive] [data-table-cell]::before {
|
|
101
|
-
@apply text-
|
|
101
|
+
@apply text-ink-soft;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
/* Disable striped alternating bg in card layout */
|
package/src/minimal/tabs.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
============================================================================= */
|
|
11
11
|
|
|
12
12
|
[data-style='minimal'] [data-tabs-list] {
|
|
13
|
-
@apply border-
|
|
13
|
+
@apply border-paper-mute gap-0 border-0 border-b px-0;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-style='minimal'] [data-tabs][data-position='after'] [data-tabs-list] {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
============================================================================= */
|
|
33
33
|
|
|
34
34
|
[data-style='minimal'] [data-tabs-trigger] {
|
|
35
|
-
@apply text-
|
|
35
|
+
@apply text-ink-soft border-b-[3px] border-b-transparent bg-transparent;
|
|
36
36
|
font-weight: 400;
|
|
37
37
|
transition:
|
|
38
38
|
color 150ms ease,
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
[data-style='minimal'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
43
|
-
@apply text-
|
|
43
|
+
@apply text-ink-mute border-b-paper-edge;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
[data-style='minimal'] [data-tabs-trigger][data-selected] {
|
|
47
|
-
@apply text-
|
|
47
|
+
@apply text-ink border-b-primary bg-none;
|
|
48
48
|
font-weight: 600;
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
[data-style='minimal']
|
|
76
76
|
[data-tabs][data-position='after']
|
|
77
77
|
[data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
78
|
-
@apply border-t-
|
|
78
|
+
@apply border-t-paper-edge;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
[data-style='minimal'] [data-tabs][data-position='after'] [data-tabs-trigger][data-selected] {
|
|
82
|
-
@apply border-t-
|
|
82
|
+
@apply border-t-primary;
|
|
83
83
|
font-weight: 600;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -98,11 +98,11 @@
|
|
|
98
98
|
[data-style='minimal']
|
|
99
99
|
[data-tabs][data-orientation='vertical']
|
|
100
100
|
[data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
101
|
-
@apply border-r-
|
|
101
|
+
@apply border-r-paper-edge;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
[data-style='minimal'] [data-tabs][data-orientation='vertical'] [data-tabs-trigger][data-selected] {
|
|
105
|
-
@apply border-r-
|
|
105
|
+
@apply border-r-primary;
|
|
106
106
|
font-weight: 600;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
[data-style='minimal']
|
|
117
117
|
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
118
118
|
[data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
119
|
-
@apply border-l-
|
|
119
|
+
@apply border-l-paper-edge border-t-0 border-r-0 border-b-0;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
[data-style='minimal']
|
|
123
123
|
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
124
124
|
[data-tabs-trigger][data-selected] {
|
|
125
|
-
@apply border-l-
|
|
125
|
+
@apply border-l-primary border-t-0 border-r-0 border-b-0;
|
|
126
126
|
font-weight: 600;
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -131,15 +131,15 @@
|
|
|
131
131
|
============================================================================= */
|
|
132
132
|
|
|
133
133
|
[data-style='minimal'] [data-tabs-trigger] [data-tabs-icon] {
|
|
134
|
-
@apply text-
|
|
134
|
+
@apply text-paper-edge;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
[data-style='minimal'] [data-tabs-trigger]:hover:not(:disabled) [data-tabs-icon] {
|
|
138
|
-
@apply text-
|
|
138
|
+
@apply text-ink-soft;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
[data-style='minimal'] [data-tabs-trigger][data-selected] [data-tabs-icon] {
|
|
142
|
-
@apply text-
|
|
142
|
+
@apply text-ink-mute;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
/* =============================================================================
|
|
@@ -147,5 +147,5 @@
|
|
|
147
147
|
============================================================================= */
|
|
148
148
|
|
|
149
149
|
[data-style='minimal'] [data-tabs-content] {
|
|
150
|
-
@apply text-
|
|
150
|
+
@apply text-ink-mute;
|
|
151
151
|
}
|
package/src/minimal/timeline.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-timeline-circle] {
|
|
12
|
-
@apply border-
|
|
12
|
+
@apply border-paper-edge text-ink-soft;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-timeline-item][data-completed] [data-timeline-circle] {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
============================================================================= */
|
|
26
26
|
|
|
27
27
|
[data-style='minimal'] [data-timeline-connector] {
|
|
28
|
-
@apply bg-
|
|
28
|
+
@apply bg-paper-mute;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='minimal'] [data-timeline-item][data-completed] [data-timeline-connector] {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='minimal'] [data-timeline-title] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='minimal'] [data-timeline-description] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-soft;
|
|
45
45
|
}
|
package/src/minimal/toc.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* TableOfContents — Minimal theme */
|
|
2
2
|
|
|
3
3
|
[data-style='minimal'] [data-toc] [data-toc-label] {
|
|
4
|
-
@apply text-
|
|
4
|
+
@apply text-ink-soft;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
[data-style='minimal'] [data-toc] [data-toc-item] {
|
|
8
|
-
@apply text-
|
|
8
|
+
@apply text-ink-soft;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-toc] [data-toc-item]:hover,
|
|
12
12
|
[data-style='minimal'] [data-toc] [data-toc-item][data-toc-focused] {
|
|
13
|
-
@apply text-
|
|
13
|
+
@apply text-ink outline-none;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-style='minimal'] [data-toc] [data-toc-item][data-toc-active] {
|
|
17
|
-
@apply text-primary
|
|
17
|
+
@apply text-primary border-l-primary;
|
|
18
18
|
}
|