@rokkit/themes 1.0.5 → 1.1.1
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,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-floating-nav] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-soft border-paper-edge border bg-none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-floating-nav-title] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-soft;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-floating-nav-pin] {
|
|
24
|
-
@apply text-
|
|
24
|
+
@apply text-ink-soft;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='minimal'] [data-floating-nav-pin]:hover {
|
|
28
|
-
@apply text-
|
|
28
|
+
@apply text-ink-mute;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='minimal'] [data-floating-nav-pin][aria-pressed='true'] {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,28 +37,28 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='minimal'] [data-floating-nav-item] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='minimal'] [data-floating-nav-item]:hover {
|
|
44
|
-
@apply bg-
|
|
44
|
+
@apply bg-paper-mute text-ink bg-none;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='minimal'] [data-floating-nav-item][data-active] {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink bg-paper-mute bg-none;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[data-style='minimal'] [data-floating-nav-item]:focus-visible {
|
|
52
|
-
@apply ring-
|
|
52
|
+
@apply ring-ink-soft ring-1 outline-none;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/* Icon */
|
|
56
56
|
[data-style='minimal'] [data-floating-nav-icon] {
|
|
57
|
-
@apply text-
|
|
57
|
+
@apply text-ink-soft;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
[data-style='minimal'] [data-floating-nav-item][data-active] [data-floating-nav-icon] {
|
|
61
|
-
@apply text-
|
|
61
|
+
@apply text-ink;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/* =============================================================================
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
============================================================================= */
|
|
67
67
|
|
|
68
68
|
[data-style='minimal'] [data-floating-nav-indicator] {
|
|
69
|
-
@apply bg-
|
|
69
|
+
@apply bg-ink-mute bg-none;
|
|
70
70
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Frame — minimal theme.
|
|
3
|
+
* Border + background decoration. Base file owns layout / spacing.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
[data-style='minimal'] [data-frame] {
|
|
7
|
+
@apply bg-paper border-paper-edge border;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[data-style='minimal'] [data-frame-header] {
|
|
11
|
+
@apply bg-paper-soft border-paper-edge border-b;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-style='minimal'] [data-frame-footer] {
|
|
15
|
+
@apply bg-paper border-paper-edge;
|
|
16
|
+
border-top: 1px dashed var(--paper-edge);
|
|
17
|
+
}
|
package/src/minimal/index.css
CHANGED
package/src/minimal/input.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/* Input root: transparent background, bottom border only */
|
|
6
6
|
[data-style='minimal'] [data-input-root] {
|
|
7
|
-
@apply border-
|
|
7
|
+
@apply border-paper-edge relative flex items-center border-b bg-transparent p-0;
|
|
8
8
|
border-radius: 0;
|
|
9
9
|
background-image: none;
|
|
10
10
|
transition: background-color 150ms ease;
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
/* Hover: very subtle neutral tint */
|
|
14
14
|
[data-style='minimal'] [data-input-root]:hover:not(:focus-within) {
|
|
15
|
-
@apply bg-
|
|
15
|
+
@apply bg-paper-mute;
|
|
16
16
|
background-image: none;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* Focus: keep transparent — the ::after animated line handles the accent */
|
|
20
20
|
[data-style='minimal'] [data-input-root]:focus-within {
|
|
21
|
-
@apply bg-
|
|
21
|
+
@apply bg-paper-soft;
|
|
22
22
|
background-image: none;
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
left: 0;
|
|
31
31
|
width: 0%;
|
|
32
32
|
height: 2px;
|
|
33
|
-
@apply bg-
|
|
33
|
+
@apply bg-accent;
|
|
34
34
|
transition: width 0.3s ease;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
input:not([type='checkbox'], [type='radio'], [type='color']),
|
|
45
45
|
[data-style='minimal'] [data-input-root] textarea,
|
|
46
46
|
[data-style='minimal'] [data-input-root] select {
|
|
47
|
-
@apply text-
|
|
47
|
+
@apply text-ink w-full border-none bg-transparent px-1 py-1.5 outline-none;
|
|
48
48
|
border-radius: 0;
|
|
49
49
|
font-size: 0.875rem;
|
|
50
50
|
line-height: 1.25rem;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
/* Select inside input-root: match text input appearance */
|
|
59
59
|
[data-style='minimal'] [data-input-root] [data-select-trigger] {
|
|
60
|
-
@apply text-
|
|
60
|
+
@apply text-ink rounded-none border-none bg-transparent px-1 shadow-none ring-0 focus:outline-none;
|
|
61
61
|
font-size: 0.875rem;
|
|
62
62
|
background-image: none;
|
|
63
63
|
transition: color 150ms ease;
|
|
@@ -74,17 +74,17 @@
|
|
|
74
74
|
|
|
75
75
|
/* Labels: smaller, uppercase */
|
|
76
76
|
[data-style='minimal'] [data-field] > label {
|
|
77
|
-
@apply text-
|
|
77
|
+
@apply text-ink-soft text-xs tracking-wide uppercase;
|
|
78
78
|
transition: color 150ms ease;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
[data-style='minimal'] [data-form-root] label {
|
|
82
|
-
@apply text-
|
|
82
|
+
@apply text-ink-soft text-xs tracking-wide uppercase;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/* Focused label: secondary color */
|
|
86
86
|
[data-style='minimal'] [data-field]:has([data-input-root]:focus-within) > label {
|
|
87
|
-
@apply text-
|
|
87
|
+
@apply text-accent;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/* Field root */
|
|
@@ -94,17 +94,17 @@
|
|
|
94
94
|
|
|
95
95
|
/* Info field value */
|
|
96
96
|
[data-style='minimal'] [data-field-info] {
|
|
97
|
-
@apply text-primary
|
|
97
|
+
@apply text-primary;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
/* Separator */
|
|
101
101
|
[data-style='minimal'] [data-form-separator] {
|
|
102
|
-
@apply border-
|
|
102
|
+
@apply border-paper-mute;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/* Disabled state */
|
|
106
106
|
[data-style='minimal'] [data-field-disabled] [data-input-root] {
|
|
107
|
-
@apply border-
|
|
107
|
+
@apply border-paper-mute cursor-not-allowed opacity-40;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
[data-style='minimal'] [data-field-disabled] [data-input-root]::after {
|
|
@@ -113,59 +113,59 @@
|
|
|
113
113
|
|
|
114
114
|
/* Error state */
|
|
115
115
|
[data-style='minimal'] [data-field-state='fail'] [data-input-root] {
|
|
116
|
-
@apply border-danger
|
|
116
|
+
@apply border-danger bg-danger-soft;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
[data-style='minimal'] [data-field-state='fail'] [data-input-root]:hover:not(:focus-within) {
|
|
120
|
-
@apply bg-danger-
|
|
120
|
+
@apply bg-danger-soft;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
[data-style='minimal'] [data-field-state='fail'] [data-input-root]::after {
|
|
124
|
-
@apply bg-danger
|
|
124
|
+
@apply bg-danger;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/* Pass state */
|
|
128
128
|
[data-style='minimal'] [data-field-state='pass'] [data-input-root] {
|
|
129
|
-
@apply bg-success-
|
|
129
|
+
@apply bg-success-soft;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
[data-style='minimal'] [data-field-state='pass'] [data-input-root]:hover:not(:focus-within) {
|
|
133
|
-
@apply bg-success-
|
|
133
|
+
@apply bg-success-soft;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
[data-style='minimal'] [data-field-state='pass'] [data-input-root]::after {
|
|
137
|
-
@apply bg-success
|
|
137
|
+
@apply bg-success;
|
|
138
138
|
width: 100%;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
/* Description */
|
|
142
142
|
[data-style='minimal'] [data-description] {
|
|
143
|
-
@apply text-
|
|
143
|
+
@apply text-ink-soft mt-0.5 text-xs;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
/* Message */
|
|
147
147
|
[data-style='minimal'] [data-message] {
|
|
148
|
-
@apply text-danger
|
|
148
|
+
@apply text-danger mt-0.5 text-xs;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
/* Checkbox */
|
|
152
152
|
[data-style='minimal'] [data-checkbox-icon] {
|
|
153
|
-
@apply text-
|
|
153
|
+
@apply text-ink-soft text-lg;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
[data-style='minimal']
|
|
157
157
|
[data-checkbox-root][data-variant='custom']:has(input:checked)
|
|
158
158
|
[data-checkbox-icon] {
|
|
159
|
-
@apply text-
|
|
159
|
+
@apply text-accent;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
/* Checkbox label: secondary on focus (checkbox has no input-root) */
|
|
163
163
|
[data-style='minimal'] [data-field-type='checkbox'] [data-field]:has(:focus-within) > label {
|
|
164
|
-
@apply text-
|
|
164
|
+
@apply text-accent;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
/* Placeholders */
|
|
168
168
|
[data-style='minimal'] [data-input-root] input::placeholder,
|
|
169
169
|
[data-style='minimal'] [data-input-root] textarea::placeholder {
|
|
170
|
-
@apply text-
|
|
170
|
+
@apply text-paper-mute;
|
|
171
171
|
}
|
package/src/minimal/list.css
CHANGED
|
@@ -1,29 +1,49 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* List - Minimal Theme Styles
|
|
3
3
|
*
|
|
4
|
-
* Clean, understated list with
|
|
5
|
-
*
|
|
4
|
+
* Clean, understated list with a continuous vertical guide line on the
|
|
5
|
+
* group container (1px paper-edge) and a bolder accent segment on the
|
|
6
|
+
* active item (2px inset box-shadow that visually replaces the guide
|
|
7
|
+
* line at that row). Same indent/guide aesthetic as the tree
|
|
8
|
+
* connectors — per-item left borders are intentionally avoided.
|
|
6
9
|
*/
|
|
7
10
|
|
|
8
11
|
/* =============================================================================
|
|
9
12
|
List Container
|
|
10
13
|
============================================================================= */
|
|
11
14
|
|
|
15
|
+
[data-style='minimal'] [data-list] {
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
12
19
|
[data-style='minimal'] [data-list]:focus-within {
|
|
13
20
|
@apply outline-none;
|
|
14
21
|
}
|
|
15
22
|
|
|
23
|
+
/* Continuous vertical guide line spanning the full container height.
|
|
24
|
+
Sits at the inside-left so active-item shadows can overlap precisely. */
|
|
25
|
+
[data-style='minimal'] [data-list]::before {
|
|
26
|
+
content: '';
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset: 0 auto 0 0;
|
|
29
|
+
width: 1px;
|
|
30
|
+
background: var(--paper-edge);
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
16
34
|
/* =============================================================================
|
|
17
35
|
List Items
|
|
18
36
|
============================================================================= */
|
|
19
37
|
|
|
20
38
|
[data-style='minimal'] [data-list] [data-list-item] {
|
|
21
|
-
@apply text-
|
|
39
|
+
@apply text-ink-mute border-0 border-solid border-transparent;
|
|
40
|
+
position: relative;
|
|
41
|
+
padding-left: 0.75rem;
|
|
22
42
|
}
|
|
23
43
|
|
|
24
44
|
[data-style='minimal'] [data-list] a[data-list-item],
|
|
25
45
|
[data-style='minimal'] [data-list] button[data-list-item] {
|
|
26
|
-
@apply text-
|
|
46
|
+
@apply text-ink-soft;
|
|
27
47
|
}
|
|
28
48
|
|
|
29
49
|
/* Hover and focus — text brightening only, no border */
|
|
@@ -33,23 +53,27 @@
|
|
|
33
53
|
[data-style='minimal']
|
|
34
54
|
[data-list]
|
|
35
55
|
[data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
36
|
-
@apply text-
|
|
56
|
+
@apply text-ink bg-none outline-none;
|
|
37
57
|
}
|
|
38
58
|
|
|
39
|
-
/* Active state — muted when list not focused
|
|
59
|
+
/* Active state — muted when list not focused.
|
|
60
|
+
Inset box-shadow overlays the container guide line at this row with
|
|
61
|
+
a bolder colored segment. No per-item border. */
|
|
40
62
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] {
|
|
41
|
-
@apply text-
|
|
63
|
+
@apply text-ink-mute bg-none;
|
|
64
|
+
box-shadow: inset 2px 0 0 0 var(--accent);
|
|
42
65
|
}
|
|
43
66
|
|
|
44
67
|
/* Active state — full highlight when list has focus */
|
|
45
68
|
[data-style='minimal'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
46
|
-
@apply text-
|
|
69
|
+
@apply text-accent bg-none;
|
|
70
|
+
box-shadow: inset 2px 0 0 0 var(--accent);
|
|
47
71
|
}
|
|
48
72
|
|
|
49
73
|
/* Active + hover/focus */
|
|
50
74
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled),
|
|
51
75
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true']:focus:not(:disabled) {
|
|
52
|
-
@apply text-
|
|
76
|
+
@apply text-accent bg-none;
|
|
53
77
|
}
|
|
54
78
|
|
|
55
79
|
/* =============================================================================
|
|
@@ -57,46 +81,46 @@
|
|
|
57
81
|
============================================================================= */
|
|
58
82
|
|
|
59
83
|
[data-style='minimal'] [data-list] [data-list-item] [data-item-icon] {
|
|
60
|
-
@apply text-
|
|
84
|
+
@apply text-ink-soft;
|
|
61
85
|
}
|
|
62
86
|
|
|
63
87
|
[data-style='minimal'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
|
|
64
88
|
[data-style='minimal'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
|
|
65
|
-
@apply text-
|
|
89
|
+
@apply text-ink-soft;
|
|
66
90
|
}
|
|
67
91
|
|
|
68
92
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
|
|
69
|
-
@apply text-
|
|
93
|
+
@apply text-accent;
|
|
70
94
|
}
|
|
71
95
|
|
|
72
96
|
/* Literal / kanji icons */
|
|
73
97
|
[data-style='minimal'] [data-list] [data-list-item] [data-item-icon-literal] {
|
|
74
|
-
@apply text-
|
|
98
|
+
@apply text-ink-soft;
|
|
75
99
|
}
|
|
76
100
|
|
|
77
101
|
[data-style='minimal'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon-literal],
|
|
78
102
|
[data-style='minimal'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon-literal] {
|
|
79
|
-
@apply text-
|
|
103
|
+
@apply text-ink-soft;
|
|
80
104
|
}
|
|
81
105
|
|
|
82
106
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] [data-item-icon-literal] {
|
|
83
|
-
@apply text-
|
|
107
|
+
@apply text-accent;
|
|
84
108
|
}
|
|
85
109
|
|
|
86
110
|
[data-style='minimal'] [data-list] [data-list-item] [data-item-description] {
|
|
87
|
-
@apply text-
|
|
111
|
+
@apply text-ink-soft;
|
|
88
112
|
}
|
|
89
113
|
|
|
90
114
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
|
|
91
|
-
@apply text-
|
|
115
|
+
@apply text-accent;
|
|
92
116
|
}
|
|
93
117
|
|
|
94
118
|
[data-style='minimal'] [data-list] [data-list-item] [data-item-badge] {
|
|
95
|
-
@apply text-
|
|
119
|
+
@apply text-ink-soft border-paper-edge border bg-transparent bg-none;
|
|
96
120
|
}
|
|
97
121
|
|
|
98
122
|
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
99
|
-
@apply text-
|
|
123
|
+
@apply text-accent border-accent bg-none;
|
|
100
124
|
}
|
|
101
125
|
|
|
102
126
|
/* =============================================================================
|
|
@@ -104,13 +128,13 @@
|
|
|
104
128
|
============================================================================= */
|
|
105
129
|
|
|
106
130
|
[data-style='minimal'] [data-list] [data-list-group] {
|
|
107
|
-
@apply text-
|
|
131
|
+
@apply text-ink-soft;
|
|
108
132
|
}
|
|
109
133
|
|
|
110
134
|
/* Group hover — text-only, no border */
|
|
111
135
|
[data-style='minimal'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
112
136
|
[data-style='minimal'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
113
|
-
@apply text-
|
|
137
|
+
@apply text-ink-mute bg-none;
|
|
114
138
|
}
|
|
115
139
|
|
|
116
140
|
/* =============================================================================
|
|
@@ -118,7 +142,7 @@
|
|
|
118
142
|
============================================================================= */
|
|
119
143
|
|
|
120
144
|
[data-style='minimal'] [data-list] [data-list-separator] {
|
|
121
|
-
@apply bg-
|
|
145
|
+
@apply bg-paper-mute bg-none;
|
|
122
146
|
}
|
|
123
147
|
|
|
124
148
|
/* =============================================================================
|
|
@@ -126,17 +150,19 @@
|
|
|
126
150
|
============================================================================= */
|
|
127
151
|
|
|
128
152
|
[data-style='minimal'] [data-list] [data-list-item][data-selected='true'] {
|
|
129
|
-
@apply text-
|
|
153
|
+
@apply text-accent;
|
|
154
|
+
box-shadow: inset 2px 0 0 0 var(--accent);
|
|
130
155
|
}
|
|
131
156
|
|
|
132
157
|
[data-style='minimal'] [data-list]:focus-within [data-list-item][data-selected='true'] {
|
|
133
|
-
@apply text-
|
|
158
|
+
@apply text-accent;
|
|
159
|
+
box-shadow: inset 2px 0 0 0 var(--accent);
|
|
134
160
|
}
|
|
135
161
|
|
|
136
162
|
[data-style='minimal'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
|
|
137
|
-
@apply text-
|
|
163
|
+
@apply text-accent;
|
|
138
164
|
}
|
|
139
165
|
|
|
140
166
|
[data-style='minimal'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
|
|
141
|
-
@apply text-
|
|
167
|
+
@apply text-accent;
|
|
142
168
|
}
|
package/src/minimal/menu.css
CHANGED
|
@@ -9,32 +9,32 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-menu-trigger] {
|
|
12
|
-
@apply border-
|
|
12
|
+
@apply border-paper-edge text-ink-mute border bg-transparent bg-none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-menu-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply text-
|
|
16
|
+
@apply text-ink border-ink-soft bg-none;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-menu-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-menu][data-open='true'] [data-menu-trigger] {
|
|
24
|
-
@apply border-
|
|
24
|
+
@apply border-ink-soft bg-none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* Trigger elements */
|
|
28
28
|
[data-style='minimal'] [data-menu-trigger] [data-menu-icon] {
|
|
29
|
-
@apply text-
|
|
29
|
+
@apply text-ink-soft;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='minimal'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
|
|
33
|
-
@apply text-
|
|
33
|
+
@apply text-ink-mute;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='minimal'] [data-menu-trigger] [data-menu-arrow] {
|
|
37
|
-
@apply text-
|
|
37
|
+
@apply text-paper-edge;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* =============================================================================
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
============================================================================= */
|
|
43
43
|
|
|
44
44
|
[data-style='minimal'] [data-menu-dropdown] {
|
|
45
|
-
@apply bg-
|
|
45
|
+
@apply bg-paper-soft border-paper-mute border bg-none shadow-sm;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* =============================================================================
|
|
@@ -50,25 +50,25 @@
|
|
|
50
50
|
============================================================================= */
|
|
51
51
|
|
|
52
52
|
[data-style='minimal'] [data-menu-item] {
|
|
53
|
-
@apply text-
|
|
53
|
+
@apply text-ink-mute border-0 border-solid border-transparent;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
[data-style='minimal'] [data-menu-item]:hover:not(:disabled),
|
|
57
57
|
[data-style='minimal'] [data-menu-item]:focus:not(:disabled) {
|
|
58
|
-
@apply text-
|
|
58
|
+
@apply text-ink border-l-accent border-l-2 bg-none outline-none;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/* Item elements */
|
|
62
62
|
[data-style='minimal'] [data-menu-item] [data-item-icon] {
|
|
63
|
-
@apply text-
|
|
63
|
+
@apply text-ink-soft;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
[data-style='minimal'] [data-menu-item]:hover:not(:disabled) [data-item-icon] {
|
|
67
|
-
@apply text-
|
|
67
|
+
@apply text-ink-soft;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
[data-style='minimal'] [data-menu-item] [data-item-description] {
|
|
71
|
-
@apply text-
|
|
71
|
+
@apply text-ink-soft;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* =============================================================================
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
============================================================================= */
|
|
77
77
|
|
|
78
78
|
[data-style='minimal'] [data-menu-group] {
|
|
79
|
-
@apply text-
|
|
79
|
+
@apply text-ink-soft;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
/* =============================================================================
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
============================================================================= */
|
|
85
85
|
|
|
86
86
|
[data-style='minimal'] [data-menu-separator] {
|
|
87
|
-
@apply bg-
|
|
87
|
+
@apply bg-paper-mute bg-none;
|
|
88
88
|
}
|
package/src/minimal/message.css
CHANGED
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='minimal'] [data-message-root][data-type='error'] {
|
|
6
|
-
@apply bg-error-
|
|
6
|
+
@apply bg-error-soft border-error text-error;
|
|
7
7
|
}
|
|
8
8
|
[data-style='minimal'] [data-message-root][data-type='error'] [data-message-icon],
|
|
9
9
|
[data-style='minimal'] [data-message-root][data-type='error'] [data-message-dismiss] {
|
|
10
|
-
@apply text-error
|
|
10
|
+
@apply text-error;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[data-style='minimal'] [data-message-root][data-type='warning'] {
|
|
14
|
-
@apply bg-warning-
|
|
14
|
+
@apply bg-warning-soft border-warning text-warning;
|
|
15
15
|
}
|
|
16
16
|
[data-style='minimal'] [data-message-root][data-type='warning'] [data-message-icon],
|
|
17
17
|
[data-style='minimal'] [data-message-root][data-type='warning'] [data-message-dismiss] {
|
|
18
|
-
@apply text-warning
|
|
18
|
+
@apply text-warning;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
[data-style='minimal'] [data-message-root][data-type='info'] {
|
|
22
|
-
@apply bg-info-
|
|
22
|
+
@apply bg-info-soft border-info text-info;
|
|
23
23
|
}
|
|
24
24
|
[data-style='minimal'] [data-message-root][data-type='info'] [data-message-icon],
|
|
25
25
|
[data-style='minimal'] [data-message-root][data-type='info'] [data-message-dismiss] {
|
|
26
|
-
@apply text-info
|
|
26
|
+
@apply text-info;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
[data-style='minimal'] [data-message-root][data-type='success'] {
|
|
30
|
-
@apply bg-success-
|
|
30
|
+
@apply bg-success-soft border-success text-success;
|
|
31
31
|
}
|
|
32
32
|
[data-style='minimal'] [data-message-root][data-type='success'] [data-message-icon],
|
|
33
33
|
[data-style='minimal'] [data-message-root][data-type='success'] [data-message-dismiss] {
|
|
34
|
-
@apply text-success
|
|
34
|
+
@apply text-success;
|
|
35
35
|
}
|
package/src/minimal/range.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-range-bar] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-mute;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='minimal'] [data-range-selected] {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
============================================================================= */
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-range-thumb] {
|
|
24
|
-
@apply bg-
|
|
24
|
+
@apply bg-paper-soft border-primary border-2;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='minimal'] [data-range-thumb][data-sliding] {
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='minimal'] [data-range-tick] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-soft;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='minimal'] [data-tick-bar] {
|
|
44
|
-
@apply border-
|
|
44
|
+
@apply border-paper-edge;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='minimal'] [data-tick-label] {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink-soft;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/* =============================================================================
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
============================================================================= */
|
|
54
54
|
|
|
55
55
|
[data-style='minimal'] [data-range][data-disabled] [data-range-thumb] {
|
|
56
|
-
@apply bg-
|
|
56
|
+
@apply bg-paper-mute border-paper-edge;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='minimal'] [data-range][data-disabled] [data-range-selected] {
|
|
60
|
-
@apply bg-
|
|
60
|
+
@apply bg-paper-edge;
|
|
61
61
|
}
|