@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/rokkit/tree.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='rokkit'] [data-tree]:focus-within {
|
|
12
|
-
@apply ring-primary
|
|
12
|
+
@apply ring-primary rounded ring-1;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='rokkit'] [data-tree-toggle-btn] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-soft;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='rokkit'] [data-tree-toggle-btn]:hover {
|
|
24
|
-
@apply from-
|
|
24
|
+
@apply from-paper-mute to-paper-mute text-ink-mute bg-gradient-to-b;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -29,33 +29,33 @@
|
|
|
29
29
|
============================================================================= */
|
|
30
30
|
|
|
31
31
|
[data-style='rokkit'] [data-tree-item-content] {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink-mute;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
[data-style='rokkit'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
36
|
[data-style='rokkit'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
|
-
@apply from-
|
|
37
|
+
@apply from-paper-mute to-paper-mute text-ink bg-gradient-to-r outline-none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Focus visible for keyboard navigation */
|
|
41
41
|
[data-style='rokkit'] [data-tree-item-content]:focus-visible {
|
|
42
|
-
@apply ring-primary
|
|
42
|
+
@apply ring-primary ring-2 outline-none;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* Active/selected state - when focus is within tree */
|
|
46
46
|
[data-style='rokkit'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] {
|
|
47
|
-
@apply from-primary
|
|
47
|
+
@apply from-primary to-accent text-primary border-l-primary border-l-2 bg-gradient-to-r;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
[data-style='rokkit']
|
|
51
51
|
[data-tree]:focus-within
|
|
52
52
|
[data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
53
|
-
@apply from-primary
|
|
53
|
+
@apply from-primary to-primary bg-gradient-to-r;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/* Active/selected state - when focus is outside tree (muted) */
|
|
57
57
|
[data-style='rokkit'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
|
|
58
|
-
@apply from-
|
|
58
|
+
@apply from-paper-mute to-paper-mute text-ink border-l-ink-soft border-l-2 bg-gradient-to-r;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/* =============================================================================
|
|
@@ -63,63 +63,63 @@
|
|
|
63
63
|
============================================================================= */
|
|
64
64
|
|
|
65
65
|
[data-style='rokkit'] [data-tree-item-content] [data-item-icon] {
|
|
66
|
-
@apply text-
|
|
66
|
+
@apply text-ink-soft;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
[data-style='rokkit'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
|
|
70
|
-
@apply text-
|
|
70
|
+
@apply text-ink-mute;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
[data-style='rokkit']
|
|
74
74
|
[data-tree]:focus-within
|
|
75
75
|
[data-tree-item-content][data-active='true']
|
|
76
76
|
[data-item-icon] {
|
|
77
|
-
@apply text-primary
|
|
77
|
+
@apply text-primary;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
[data-style='rokkit']
|
|
81
81
|
[data-tree]:not(:focus-within)
|
|
82
82
|
[data-tree-item-content][data-active='true']
|
|
83
83
|
[data-item-icon] {
|
|
84
|
-
@apply text-
|
|
84
|
+
@apply text-ink-soft;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* Item description */
|
|
88
88
|
[data-style='rokkit'] [data-tree-item-content] [data-item-description] {
|
|
89
|
-
@apply text-
|
|
89
|
+
@apply text-ink-soft;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
[data-style='rokkit']
|
|
93
93
|
[data-tree]:focus-within
|
|
94
94
|
[data-tree-item-content][data-active='true']
|
|
95
95
|
[data-item-description] {
|
|
96
|
-
@apply text-primary
|
|
96
|
+
@apply text-primary;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
[data-style='rokkit']
|
|
100
100
|
[data-tree]:not(:focus-within)
|
|
101
101
|
[data-tree-item-content][data-active='true']
|
|
102
102
|
[data-item-description] {
|
|
103
|
-
@apply text-
|
|
103
|
+
@apply text-ink-soft;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/* Item badge */
|
|
107
107
|
[data-style='rokkit'] [data-tree-item-content] [data-item-badge] {
|
|
108
|
-
@apply text-
|
|
108
|
+
@apply text-ink-soft from-paper-mute to-paper-mute border-paper-edge border bg-gradient-to-b;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
[data-style='rokkit']
|
|
112
112
|
[data-tree]:focus-within
|
|
113
113
|
[data-tree-item-content][data-active='true']
|
|
114
114
|
[data-item-badge] {
|
|
115
|
-
@apply text-primary
|
|
115
|
+
@apply text-primary from-primary to-primary border-primary border bg-gradient-to-b;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
[data-style='rokkit']
|
|
119
119
|
[data-tree]:not(:focus-within)
|
|
120
120
|
[data-tree-item-content][data-active='true']
|
|
121
121
|
[data-item-badge] {
|
|
122
|
-
@apply text-
|
|
122
|
+
@apply text-ink-mute from-paper-edge to-paper-mute bg-gradient-to-b;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
/* =============================================================================
|
|
@@ -127,23 +127,23 @@
|
|
|
127
127
|
============================================================================= */
|
|
128
128
|
|
|
129
129
|
[data-style='rokkit'] [data-tree-node][data-selected='true'] [data-tree-node-row] {
|
|
130
|
-
@apply bg-primary
|
|
130
|
+
@apply bg-primary;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
[data-style='rokkit']
|
|
134
134
|
[data-tree]:focus-within
|
|
135
135
|
[data-tree-node][data-selected='true']
|
|
136
136
|
[data-tree-node-row] {
|
|
137
|
-
@apply bg-primary
|
|
137
|
+
@apply bg-primary;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
[data-style='rokkit'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
|
|
141
|
-
@apply text-primary
|
|
141
|
+
@apply text-primary;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
[data-style='rokkit']
|
|
145
145
|
[data-tree-node][data-selected='true']
|
|
146
146
|
[data-tree-item-content]
|
|
147
147
|
[data-item-icon] {
|
|
148
|
-
@apply text-primary
|
|
148
|
+
@apply text-primary;
|
|
149
149
|
}
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='rokkit'] [data-upload-header] {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-mute;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='rokkit'] [data-upload-clear] {
|
|
16
|
-
@apply border-
|
|
16
|
+
@apply border-paper-edge text-ink-soft;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='rokkit'] [data-upload-clear]:hover {
|
|
20
|
-
@apply bg-
|
|
20
|
+
@apply bg-paper-mute text-ink;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* =============================================================================
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
============================================================================= */
|
|
26
26
|
|
|
27
27
|
[data-style='rokkit'] [data-upload-file-status] {
|
|
28
|
-
@apply text-
|
|
28
|
+
@apply text-ink-mute;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='rokkit'] [data-upload-file-status]:hover {
|
|
32
|
-
@apply bg-
|
|
32
|
+
@apply bg-paper-mute;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='rokkit'] [data-upload-file-icon] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-soft;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='rokkit'] [data-upload-file-size] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-soft;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* =============================================================================
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
============================================================================= */
|
|
50
50
|
|
|
51
51
|
[data-style='rokkit'] [data-upload-bar] {
|
|
52
|
-
@apply bg-
|
|
52
|
+
@apply bg-paper-mute;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='rokkit'] [data-upload-fill] {
|
|
56
|
-
@apply from-primary
|
|
56
|
+
@apply from-primary to-accent bg-gradient-to-r;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/* =============================================================================
|
|
@@ -61,28 +61,28 @@
|
|
|
61
61
|
============================================================================= */
|
|
62
62
|
|
|
63
63
|
[data-style='rokkit'] [data-upload-file-status][data-status='uploading'] [data-upload-status] {
|
|
64
|
-
@apply text-primary
|
|
64
|
+
@apply text-primary;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
[data-style='rokkit'] [data-upload-file-status][data-status='done'] [data-upload-status] {
|
|
68
|
-
@apply text-success
|
|
68
|
+
@apply text-success;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
[data-style='rokkit'] [data-upload-file-status][data-status='error'] [data-upload-status] {
|
|
72
|
-
@apply text-danger
|
|
72
|
+
@apply text-danger;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
[data-style='rokkit'] [data-upload-file-status][data-status='pending'] [data-upload-status] {
|
|
76
|
-
@apply text-
|
|
76
|
+
@apply text-ink-soft;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* Status-based file icon tinting */
|
|
80
80
|
[data-style='rokkit'] [data-upload-file-status][data-status='done'] [data-upload-file-icon] {
|
|
81
|
-
@apply text-success
|
|
81
|
+
@apply text-success;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
[data-style='rokkit'] [data-upload-file-status][data-status='error'] [data-upload-file-icon] {
|
|
85
|
-
@apply text-danger
|
|
85
|
+
@apply text-danger;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/* =============================================================================
|
|
@@ -90,13 +90,13 @@
|
|
|
90
90
|
============================================================================= */
|
|
91
91
|
|
|
92
92
|
[data-style='rokkit'] [data-upload-actions] button {
|
|
93
|
-
@apply text-
|
|
93
|
+
@apply text-ink-soft;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
[data-style='rokkit'] [data-upload-actions] button:hover {
|
|
97
|
-
@apply bg-
|
|
97
|
+
@apply bg-paper-mute text-ink;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
[data-style='rokkit'] [data-upload-file-status][data-status='error'] [data-upload-retry]:hover {
|
|
101
|
-
@apply text-primary
|
|
101
|
+
@apply text-primary;
|
|
102
102
|
}
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='rokkit'] [data-upload-target] {
|
|
12
|
-
@apply border-
|
|
12
|
+
@apply border-paper-edge text-ink-soft;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='rokkit'] [data-upload-target]:hover:not([data-disabled]) {
|
|
16
|
-
@apply border-
|
|
16
|
+
@apply border-ink-soft text-ink-mute bg-paper-mute;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='rokkit'] [data-upload-target]:focus-visible:not([data-disabled]) {
|
|
20
|
-
@apply border-primary
|
|
20
|
+
@apply border-primary ring-primary ring-2;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* Drag-over highlight */
|
|
24
24
|
[data-style='rokkit'] [data-upload-target][data-dragging] {
|
|
25
|
-
@apply border-primary
|
|
25
|
+
@apply border-primary bg-primary text-primary;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* =============================================================================
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
============================================================================= */
|
|
31
31
|
|
|
32
32
|
[data-style='rokkit'] [data-upload-target] [data-upload-icon] {
|
|
33
|
-
@apply text-
|
|
33
|
+
@apply text-ink-soft;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='rokkit'] [data-upload-target][data-dragging] [data-upload-icon] {
|
|
37
|
-
@apply text-primary
|
|
37
|
+
@apply text-primary;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* =============================================================================
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
============================================================================= */
|
|
43
43
|
|
|
44
44
|
[data-style='rokkit'] [data-upload-target] [data-upload-button] {
|
|
45
|
-
@apply border-
|
|
45
|
+
@apply border-paper-edge text-ink-mute;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[data-style='rokkit'] [data-upload-target] [data-upload-button]:hover:not(:disabled) {
|
|
49
|
-
@apply bg-
|
|
49
|
+
@apply bg-paper-mute text-ink;
|
|
50
50
|
}
|
package/src/zen-sumi/button.css
CHANGED
|
@@ -15,27 +15,27 @@
|
|
|
15
15
|
[data-style='zen-sumi'] [data-button]:not([data-style])[data-variant='default'],
|
|
16
16
|
[data-style='zen-sumi'] [data-button][data-style='default']:not([data-variant]),
|
|
17
17
|
[data-style='zen-sumi'] [data-button]:not([data-style]):not([data-variant]) {
|
|
18
|
-
@apply bg-
|
|
18
|
+
@apply bg-ink text-paper border-transparent bg-none;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
[data-style='zen-sumi'] [data-button][data-style='default'][data-variant='primary'],
|
|
22
22
|
[data-style='zen-sumi'] [data-button]:not([data-style])[data-variant='primary'] {
|
|
23
|
-
@apply bg-primary
|
|
23
|
+
@apply bg-primary text-on-primary border-transparent bg-none;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
[data-style='zen-sumi'] [data-button][data-style='default'][data-variant='secondary'],
|
|
27
27
|
[data-style='zen-sumi'] [data-button]:not([data-style])[data-variant='secondary'] {
|
|
28
|
-
@apply bg-
|
|
28
|
+
@apply bg-accent text-on-primary border-transparent bg-none;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='zen-sumi'] [data-button][data-style='default'][data-variant='accent'],
|
|
32
32
|
[data-style='zen-sumi'] [data-button]:not([data-style])[data-variant='accent'] {
|
|
33
|
-
@apply bg-accent
|
|
33
|
+
@apply bg-accent text-on-accent border-transparent bg-none;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='zen-sumi'] [data-button][data-style='default'][data-variant='danger'],
|
|
37
37
|
[data-style='zen-sumi'] [data-button]:not([data-style])[data-variant='danger'] {
|
|
38
|
-
@apply bg-danger
|
|
38
|
+
@apply bg-danger text-on-danger border-transparent bg-none;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/* =============================================================================
|
|
@@ -44,23 +44,23 @@
|
|
|
44
44
|
|
|
45
45
|
[data-style='zen-sumi'] [data-button][data-style='outline'][data-variant='default'],
|
|
46
46
|
[data-style='zen-sumi'] [data-button][data-style='outline']:not([data-variant]) {
|
|
47
|
-
@apply border-
|
|
47
|
+
@apply border-paper-mute text-ink-mute border bg-transparent;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
[data-style='zen-sumi'] [data-button][data-style='outline'][data-variant='primary'] {
|
|
51
|
-
@apply border-primary
|
|
51
|
+
@apply border-primary text-primary border bg-transparent;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
[data-style='zen-sumi'] [data-button][data-style='outline'][data-variant='secondary'] {
|
|
55
|
-
@apply border-
|
|
55
|
+
@apply border-accent text-accent border bg-transparent;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
[data-style='zen-sumi'] [data-button][data-style='outline'][data-variant='accent'] {
|
|
59
|
-
@apply border-accent
|
|
59
|
+
@apply border-accent text-accent border bg-transparent;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
[data-style='zen-sumi'] [data-button][data-style='outline'][data-variant='danger'] {
|
|
63
|
-
@apply border-danger
|
|
63
|
+
@apply border-danger text-danger border bg-transparent;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/* =============================================================================
|
|
@@ -73,23 +73,23 @@
|
|
|
73
73
|
|
|
74
74
|
[data-style='zen-sumi'] [data-button][data-style='ghost'][data-variant='default'],
|
|
75
75
|
[data-style='zen-sumi'] [data-button][data-style='ghost']:not([data-variant]) {
|
|
76
|
-
@apply text-ink-
|
|
76
|
+
@apply text-ink-soft;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
[data-style='zen-sumi'] [data-button][data-style='ghost'][data-variant='primary'] {
|
|
80
|
-
@apply text-primary
|
|
80
|
+
@apply text-primary;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
[data-style='zen-sumi'] [data-button][data-style='ghost'][data-variant='secondary'] {
|
|
84
|
-
@apply text-
|
|
84
|
+
@apply text-accent;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
[data-style='zen-sumi'] [data-button][data-style='ghost'][data-variant='accent'] {
|
|
88
|
-
@apply text-accent
|
|
88
|
+
@apply text-accent;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
[data-style='zen-sumi'] [data-button][data-style='ghost'][data-variant='danger'] {
|
|
92
|
-
@apply text-danger
|
|
92
|
+
@apply text-danger;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/* =============================================================================
|
|
@@ -99,23 +99,23 @@
|
|
|
99
99
|
|
|
100
100
|
[data-style='zen-sumi'] [data-button][data-style='gradient'][data-variant='default'],
|
|
101
101
|
[data-style='zen-sumi'] [data-button][data-style='gradient']:not([data-variant]) {
|
|
102
|
-
@apply bg-
|
|
102
|
+
@apply bg-paper-mute text-ink-mute bg-none;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
[data-style='zen-sumi'] [data-button][data-style='gradient'][data-variant='primary'] {
|
|
106
|
-
@apply bg-primary
|
|
106
|
+
@apply bg-primary text-on-primary bg-none;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
[data-style='zen-sumi'] [data-button][data-style='gradient'][data-variant='secondary'] {
|
|
110
|
-
@apply bg-
|
|
110
|
+
@apply bg-accent text-on-primary bg-none;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
[data-style='zen-sumi'] [data-button][data-style='gradient'][data-variant='accent'] {
|
|
114
|
-
@apply bg-accent
|
|
114
|
+
@apply bg-accent text-on-accent bg-none;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
[data-style='zen-sumi'] [data-button][data-style='gradient'][data-variant='danger'] {
|
|
118
|
-
@apply bg-danger
|
|
118
|
+
@apply bg-danger text-on-danger bg-none;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/* =============================================================================
|
|
@@ -124,27 +124,27 @@
|
|
|
124
124
|
|
|
125
125
|
[data-style='zen-sumi'] [data-button][data-style='link'][data-variant='default'],
|
|
126
126
|
[data-style='zen-sumi'] [data-button][data-style='link']:not([data-variant]) {
|
|
127
|
-
@apply text-ink-
|
|
127
|
+
@apply text-ink-soft;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
[data-style='zen-sumi'] [data-button][data-style='link'][data-variant='primary'] {
|
|
131
|
-
@apply text-primary
|
|
131
|
+
@apply text-primary;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
[data-style='zen-sumi'] [data-button][data-style='link'][data-variant='secondary'] {
|
|
135
|
-
@apply text-
|
|
135
|
+
@apply text-accent;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
[data-style='zen-sumi'] [data-button][data-style='link'][data-variant='accent'] {
|
|
139
|
-
@apply text-accent
|
|
139
|
+
@apply text-accent;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
[data-style='zen-sumi'] [data-button][data-style='link'][data-variant='danger'] {
|
|
143
|
-
@apply text-danger
|
|
143
|
+
@apply text-danger;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
[data-style='zen-sumi'] [data-button][data-style='link']:hover:not(:disabled):not([data-disabled]) {
|
|
147
|
-
@apply text-ink-
|
|
147
|
+
@apply text-ink-mute;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
/* =============================================================================
|
|
@@ -154,16 +154,16 @@
|
|
|
154
154
|
[data-style='zen-sumi']
|
|
155
155
|
[data-button][data-style='default']:hover:not(:disabled):not([data-disabled]),
|
|
156
156
|
[data-style='zen-sumi'] [data-button]:not([data-style]):hover:not(:disabled):not([data-disabled]) {
|
|
157
|
-
@apply bg-
|
|
157
|
+
@apply bg-ink bg-none;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
[data-style='zen-sumi']
|
|
161
161
|
[data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]) {
|
|
162
|
-
@apply bg-
|
|
162
|
+
@apply bg-paper-soft border-ink-soft bg-none;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
[data-style='zen-sumi'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]) {
|
|
166
|
-
@apply bg-
|
|
166
|
+
@apply bg-paper-mute;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
/* =============================================================================
|
package/src/zen-sumi/card.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
============================================================================= */
|
|
12
12
|
|
|
13
13
|
[data-style='zen-sumi'] [data-card] {
|
|
14
|
-
@apply bg-
|
|
14
|
+
@apply bg-paper-soft border-paper-mute text-ink-mute border bg-none;
|
|
15
15
|
box-shadow: none;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='zen-sumi'] [data-card][data-card-interactive]:hover {
|
|
25
|
-
@apply border-
|
|
25
|
+
@apply border-paper-edge bg-paper-mute bg-none;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[data-style='zen-sumi'] [data-card][data-card-interactive]:active {
|
|
29
|
-
@apply bg-
|
|
29
|
+
@apply bg-paper-mute bg-none;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/* =============================================================================
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
============================================================================= */
|
|
35
35
|
|
|
36
36
|
[data-style='zen-sumi'] [data-card-header] {
|
|
37
|
-
@apply border-
|
|
37
|
+
@apply border-paper-mute border-b;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
[data-style='zen-sumi'] [data-card-body] {
|
|
41
|
-
@apply text-ink-
|
|
41
|
+
@apply text-ink-mute;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[data-style='zen-sumi'] [data-card-footer] {
|
|
45
|
-
@apply border-
|
|
45
|
+
@apply border-paper-mute text-ink-soft border-t;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* =============================================================================
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
|
|
70
70
|
/* Primary — shu vermillion fill */
|
|
71
71
|
[data-style='zen-sumi'] [data-card][data-variant='primary'] {
|
|
72
|
-
@apply bg-primary
|
|
72
|
+
@apply bg-primary border-primary text-on-primary border bg-none;
|
|
73
73
|
box-shadow: none;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
[data-style='zen-sumi'] [data-card][data-variant='primary'] [data-card-header],
|
|
77
77
|
[data-style='zen-sumi'] [data-card][data-variant='primary'] [data-card-footer] {
|
|
78
|
-
@apply border-primary
|
|
78
|
+
@apply border-primary/40;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
[data-style='zen-sumi'] [data-card][data-variant='primary'] [data-card-body] {
|
|
@@ -84,21 +84,21 @@
|
|
|
84
84
|
|
|
85
85
|
/* Secondary */
|
|
86
86
|
[data-style='zen-sumi'] [data-card][data-variant='secondary'] {
|
|
87
|
-
@apply bg-
|
|
87
|
+
@apply bg-accent border-accent text-on-primary border bg-none;
|
|
88
88
|
box-shadow: none;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
[data-style='zen-sumi'] [data-card][data-variant='secondary'] [data-card-header],
|
|
92
92
|
[data-style='zen-sumi'] [data-card][data-variant='secondary'] [data-card-footer] {
|
|
93
|
-
@apply border-
|
|
93
|
+
@apply border-accent/40;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
[data-style='zen-sumi'] [data-card][data-variant='secondary'] [data-card-body] {
|
|
97
|
-
@apply text-on-
|
|
97
|
+
@apply text-on-primary/80;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
/* Tertiary — recessed surface, lighter border */
|
|
101
101
|
[data-style='zen-sumi'] [data-card][data-variant='tertiary'] {
|
|
102
|
-
@apply bg-
|
|
102
|
+
@apply bg-paper border-paper-mute text-ink-soft border bg-none;
|
|
103
103
|
box-shadow: none;
|
|
104
104
|
}
|
package/src/zen-sumi/chart.css
CHANGED
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
|
|
8
8
|
[data-style='zen-sumi'] [data-chart-axis-line],
|
|
9
9
|
[data-style='zen-sumi'] [data-chart-tick] line {
|
|
10
|
-
@apply stroke-
|
|
10
|
+
@apply stroke-paper-mute;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[data-style='zen-sumi'] [data-chart-tick-label] {
|
|
14
|
-
@apply fill-
|
|
14
|
+
@apply fill-ink-soft;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
[data-style='zen-sumi'] [data-chart-grid-line] {
|
|
18
|
-
@apply stroke-
|
|
18
|
+
@apply stroke-paper-mute;
|
|
19
19
|
stroke-opacity: 0.4;
|
|
20
20
|
stroke-dasharray: 2 4;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='zen-sumi'] [data-chart-legend-label] {
|
|
24
|
-
@apply fill-
|
|
24
|
+
@apply fill-ink-soft;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='zen-sumi'] [data-chart-legend-item]:hover {
|
|
28
|
-
@apply text-ink-
|
|
28
|
+
@apply text-ink-mute;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='zen-sumi'] [data-plot-element='bar'][data-dimmed],
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
[data-style='zen-sumi'] [data-facet-title] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-paper-edge;
|
|
41
41
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeBlock — Zen-Sumi theme.
|
|
3
|
+
*
|
|
4
|
+
* Inherits the Frame chrome (border, header bg). This file adds the
|
|
5
|
+
* mono typography + muted ink colours for the title row, lang chip,
|
|
6
|
+
* action buttons, and pre/code body.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
[data-style='zen-sumi'] [data-code-block-icon] {
|
|
10
|
+
@apply text-ink-soft;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[data-style='zen-sumi'] [data-code-block-filename] {
|
|
14
|
+
font: 500 11.5px var(--font-mono);
|
|
15
|
+
@apply text-ink-mute;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-style='zen-sumi'] [data-code-block-lang] {
|
|
19
|
+
font: 500 10px var(--font-mono);
|
|
20
|
+
@apply text-ink-soft border-paper-edge border;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='zen-sumi'] [data-code-block-actions] button {
|
|
24
|
+
font: 500 11px var(--font-mono);
|
|
25
|
+
@apply text-ink-soft;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-style='zen-sumi'] [data-code-block-actions] button:hover {
|
|
29
|
+
@apply bg-paper-mute text-ink;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-style='zen-sumi'] [data-code-block-body] pre {
|
|
33
|
+
font: 400 12px/1.65 var(--font-mono);
|
|
34
|
+
@apply text-ink;
|
|
35
|
+
}
|