@rokkit/themes 1.0.4 → 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/README.md +11 -19
- package/build.mjs +7 -21
- package/package.json +24 -132
- package/src/base/carousel.css +2 -2
- 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 +57 -14
- package/src/base/nav-content.css +3 -3
- package/src/base/stepper.css +16 -14
- package/src/base/tabs.css +15 -2
- package/src/base/typography.css +32 -13
- package/src/frosted/button.css +27 -32
- package/src/frosted/card.css +8 -12
- package/src/frosted/chart.css +6 -6
- package/src/frosted/code-block.css +33 -0
- package/src/frosted/dropdown.css +9 -14
- 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 -17
- package/src/frosted/list.css +46 -21
- package/src/frosted/menu.css +13 -17
- 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 -9
- package/src/frosted/swatch.css +3 -3
- package/src/frosted/switch.css +3 -4
- package/src/frosted/table.css +16 -16
- package/src/frosted/tabs.css +8 -8
- package/src/frosted/timeline.css +5 -6
- 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/index.css +2 -0
- package/src/index.js +0 -1
- 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 +34 -20
- 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 -9
- 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 +8 -8
- package/src/material/timeline.css +5 -6
- package/src/material/toc.css +4 -4
- package/src/material/toggle.css +7 -7
- 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 +63 -23
- 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 -39
- 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 -1
- package/src/rokkit/input.css +17 -17
- package/src/rokkit/list.css +46 -21
- 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 -9
- 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 -6
- 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 +176 -0
- package/src/zen-sumi/card.css +104 -0
- package/src/zen-sumi/chart.css +41 -0
- package/src/zen-sumi/code-block.css +35 -0
- package/src/zen-sumi/dropdown.css +53 -0
- package/src/zen-sumi/floating-action.css +68 -0
- package/src/zen-sumi/floating-navigation.css +74 -0
- package/src/zen-sumi/frame.css +20 -0
- package/src/zen-sumi/index.css +53 -0
- package/src/zen-sumi/input.css +171 -0
- package/src/zen-sumi/list.css +128 -0
- package/src/zen-sumi/menu.css +91 -0
- package/src/zen-sumi/message.css +37 -0
- package/src/zen-sumi/range.css +62 -0
- package/src/zen-sumi/search-filter.css +49 -0
- package/src/zen-sumi/select.css +160 -0
- package/src/zen-sumi/status-list.css +66 -0
- package/src/zen-sumi/step-indicator.css +40 -0
- package/src/zen-sumi/swatch.css +21 -0
- package/src/zen-sumi/switch.css +34 -0
- package/src/zen-sumi/table.css +118 -0
- package/src/zen-sumi/tabs.css +78 -0
- package/src/zen-sumi/timeline.css +46 -0
- package/src/zen-sumi/toc.css +22 -0
- package/src/zen-sumi/toggle.css +59 -0
- package/src/zen-sumi/toolbar.css +86 -0
- package/src/zen-sumi/tree.css +137 -0
- package/dist/ant-design.css +0 -2129
- package/dist/base.css +0 -6506
- package/dist/bits-ui.css +0 -2113
- package/dist/carbon.css +0 -2123
- package/dist/daisy-ui.css +0 -2138
- package/dist/frosted.css +0 -1953
- package/dist/grada-ui.css +0 -1915
- package/dist/index.css +0 -27359
- package/dist/material.css +0 -1924
- package/dist/minimal.css +0 -1978
- package/dist/rokkit.css +0 -2471
- package/dist/shadcn.css +0 -2099
- package/src/ant-design/button.css +0 -190
- package/src/ant-design/card.css +0 -100
- package/src/ant-design/chart.css +0 -34
- package/src/ant-design/connector.css +0 -11
- package/src/ant-design/dropdown.css +0 -50
- package/src/ant-design/floating-action.css +0 -63
- package/src/ant-design/floating-navigation.css +0 -70
- package/src/ant-design/grid.css +0 -46
- package/src/ant-design/index.css +0 -35
- package/src/ant-design/input.css +0 -151
- package/src/ant-design/list.css +0 -126
- package/src/ant-design/menu.css +0 -88
- package/src/ant-design/message.css +0 -35
- package/src/ant-design/range.css +0 -61
- package/src/ant-design/search-filter.css +0 -49
- package/src/ant-design/select.css +0 -158
- package/src/ant-design/status-list.css +0 -66
- package/src/ant-design/step-indicator.css +0 -38
- package/src/ant-design/switch.css +0 -29
- package/src/ant-design/table.css +0 -91
- package/src/ant-design/tabs.css +0 -153
- package/src/ant-design/timeline.css +0 -45
- package/src/ant-design/toc.css +0 -18
- package/src/ant-design/toggle.css +0 -48
- package/src/ant-design/toolbar.css +0 -85
- package/src/ant-design/tree.css +0 -137
- package/src/ant-design/upload-progress.css +0 -102
- package/src/ant-design/upload-target.css +0 -50
- package/src/bits-ui/button.css +0 -176
- package/src/bits-ui/card.css +0 -99
- package/src/bits-ui/chart.css +0 -34
- package/src/bits-ui/connector.css +0 -11
- package/src/bits-ui/dropdown.css +0 -50
- package/src/bits-ui/floating-action.css +0 -63
- package/src/bits-ui/floating-navigation.css +0 -70
- package/src/bits-ui/grid.css +0 -46
- package/src/bits-ui/index.css +0 -35
- package/src/bits-ui/input.css +0 -154
- package/src/bits-ui/list.css +0 -126
- package/src/bits-ui/menu.css +0 -88
- package/src/bits-ui/message.css +0 -35
- package/src/bits-ui/range.css +0 -61
- package/src/bits-ui/search-filter.css +0 -49
- package/src/bits-ui/select.css +0 -158
- package/src/bits-ui/status-list.css +0 -66
- package/src/bits-ui/step-indicator.css +0 -40
- package/src/bits-ui/switch.css +0 -29
- package/src/bits-ui/table.css +0 -89
- package/src/bits-ui/tabs.css +0 -151
- package/src/bits-ui/timeline.css +0 -45
- package/src/bits-ui/toc.css +0 -18
- package/src/bits-ui/toggle.css +0 -48
- package/src/bits-ui/toolbar.css +0 -85
- package/src/bits-ui/tree.css +0 -135
- package/src/bits-ui/upload-progress.css +0 -102
- package/src/bits-ui/upload-target.css +0 -50
- package/src/carbon/button.css +0 -186
- package/src/carbon/card.css +0 -97
- package/src/carbon/chart.css +0 -34
- package/src/carbon/connector.css +0 -11
- package/src/carbon/dropdown.css +0 -50
- package/src/carbon/floating-action.css +0 -63
- package/src/carbon/floating-navigation.css +0 -70
- package/src/carbon/grid.css +0 -46
- package/src/carbon/index.css +0 -34
- package/src/carbon/input.css +0 -148
- package/src/carbon/list.css +0 -124
- package/src/carbon/menu.css +0 -88
- package/src/carbon/message.css +0 -37
- package/src/carbon/range.css +0 -61
- package/src/carbon/search-filter.css +0 -49
- package/src/carbon/select.css +0 -158
- package/src/carbon/status-list.css +0 -66
- package/src/carbon/step-indicator.css +0 -40
- package/src/carbon/switch.css +0 -31
- package/src/carbon/table.css +0 -93
- package/src/carbon/tabs.css +0 -151
- package/src/carbon/timeline.css +0 -45
- package/src/carbon/toc.css +0 -22
- package/src/carbon/toggle.css +0 -48
- package/src/carbon/toolbar.css +0 -84
- package/src/carbon/tree.css +0 -135
- package/src/carbon/upload-progress.css +0 -102
- package/src/carbon/upload-target.css +0 -50
- package/src/daisy-ui/button.css +0 -196
- package/src/daisy-ui/card.css +0 -99
- package/src/daisy-ui/chart.css +0 -34
- package/src/daisy-ui/connector.css +0 -11
- package/src/daisy-ui/dropdown.css +0 -50
- package/src/daisy-ui/floating-action.css +0 -63
- package/src/daisy-ui/floating-navigation.css +0 -70
- package/src/daisy-ui/grid.css +0 -46
- package/src/daisy-ui/index.css +0 -34
- package/src/daisy-ui/input.css +0 -148
- package/src/daisy-ui/list.css +0 -127
- package/src/daisy-ui/menu.css +0 -88
- package/src/daisy-ui/message.css +0 -37
- package/src/daisy-ui/range.css +0 -61
- package/src/daisy-ui/search-filter.css +0 -49
- package/src/daisy-ui/select.css +0 -158
- package/src/daisy-ui/status-list.css +0 -66
- package/src/daisy-ui/step-indicator.css +0 -37
- package/src/daisy-ui/switch.css +0 -31
- package/src/daisy-ui/table.css +0 -91
- package/src/daisy-ui/tabs.css +0 -153
- package/src/daisy-ui/timeline.css +0 -45
- package/src/daisy-ui/toc.css +0 -22
- package/src/daisy-ui/toggle.css +0 -48
- package/src/daisy-ui/toolbar.css +0 -85
- package/src/daisy-ui/tree.css +0 -137
- package/src/daisy-ui/upload-progress.css +0 -102
- package/src/daisy-ui/upload-target.css +0 -50
- package/src/grada-ui/button.css +0 -249
- package/src/grada-ui/card.css +0 -96
- package/src/grada-ui/chart.css +0 -34
- package/src/grada-ui/dropdown.css +0 -58
- package/src/grada-ui/floating-action.css +0 -66
- package/src/grada-ui/floating-navigation.css +0 -69
- package/src/grada-ui/index.css +0 -56
- package/src/grada-ui/input.css +0 -154
- package/src/grada-ui/list.css +0 -124
- package/src/grada-ui/menu.css +0 -81
- package/src/grada-ui/message.css +0 -48
- package/src/grada-ui/range.css +0 -59
- package/src/grada-ui/search-filter.css +0 -47
- package/src/grada-ui/select.css +0 -190
- package/src/grada-ui/status-list.css +0 -66
- package/src/grada-ui/step-indicator.css +0 -37
- package/src/grada-ui/switch.css +0 -35
- package/src/grada-ui/table.css +0 -79
- package/src/grada-ui/tabs.css +0 -59
- package/src/grada-ui/timeline.css +0 -46
- package/src/grada-ui/toc.css +0 -24
- package/src/grada-ui/toggle.css +0 -47
- package/src/grada-ui/toolbar.css +0 -91
- package/src/grada-ui/tree.css +0 -100
- package/src/rokkit/stack.css +0 -6
- package/src/shadcn/button.css +0 -175
- package/src/shadcn/card.css +0 -99
- package/src/shadcn/chart.css +0 -34
- package/src/shadcn/connector.css +0 -11
- package/src/shadcn/dropdown.css +0 -50
- package/src/shadcn/floating-action.css +0 -63
- package/src/shadcn/floating-navigation.css +0 -70
- package/src/shadcn/grid.css +0 -46
- package/src/shadcn/index.css +0 -35
- package/src/shadcn/input.css +0 -143
- package/src/shadcn/list.css +0 -124
- package/src/shadcn/menu.css +0 -88
- package/src/shadcn/message.css +0 -35
- package/src/shadcn/range.css +0 -61
- package/src/shadcn/search-filter.css +0 -49
- package/src/shadcn/select.css +0 -158
- package/src/shadcn/status-list.css +0 -66
- package/src/shadcn/step-indicator.css +0 -37
- package/src/shadcn/switch.css +0 -31
- package/src/shadcn/table.css +0 -89
- package/src/shadcn/tabs.css +0 -151
- package/src/shadcn/timeline.css +0 -45
- package/src/shadcn/toc.css +0 -20
- package/src/shadcn/toggle.css +0 -48
- package/src/shadcn/toolbar.css +0 -84
- package/src/shadcn/tree.css +0 -135
- package/src/shadcn/upload-progress.css +0 -102
- package/src/shadcn/upload-target.css +0 -50
package/src/minimal/tree.css
CHANGED
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='minimal'] [data-tree-toggle-btn] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-paper-edge;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-tree-toggle-btn]:hover {
|
|
24
|
-
@apply text-
|
|
24
|
+
@apply text-ink-soft bg-none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -29,26 +29,30 @@
|
|
|
29
29
|
============================================================================= */
|
|
30
30
|
|
|
31
31
|
[data-style='minimal'] [data-tree-item-content] {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink-mute;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
[data-style='minimal'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
36
|
[data-style='minimal'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
|
-
@apply text-
|
|
37
|
+
@apply text-ink bg-none outline-none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Focus visible for keyboard navigation */
|
|
41
41
|
[data-style='minimal'] [data-tree-item-content]:focus-visible {
|
|
42
|
-
@apply ring-
|
|
42
|
+
@apply ring-ink-soft ring-1 outline-none;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
/* Active/selected state
|
|
45
|
+
/* Active/selected state — bolder colored segment at the content's
|
|
46
|
+
left edge (consistent with the minimal List guide-line aesthetic).
|
|
47
|
+
The tree's structural indent connector lines stay as-is; this is
|
|
48
|
+
the leaf-level active indicator. No per-item border. */
|
|
46
49
|
[data-style='minimal'] [data-tree-item-content][data-active='true'] {
|
|
47
|
-
@apply text-primary
|
|
50
|
+
@apply text-primary;
|
|
51
|
+
box-shadow: inset 2px 0 0 0 var(--primary);
|
|
48
52
|
}
|
|
49
53
|
|
|
50
54
|
[data-style='minimal'] [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
51
|
-
@apply text-primary
|
|
55
|
+
@apply text-primary;
|
|
52
56
|
}
|
|
53
57
|
|
|
54
58
|
/* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
|
|
@@ -71,31 +75,31 @@
|
|
|
71
75
|
============================================================================= */
|
|
72
76
|
|
|
73
77
|
[data-style='minimal'] [data-tree-item-content] [data-item-icon] {
|
|
74
|
-
@apply text-
|
|
78
|
+
@apply text-ink-soft;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
[data-style='minimal'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
|
|
78
|
-
@apply text-
|
|
82
|
+
@apply text-ink-soft;
|
|
79
83
|
}
|
|
80
84
|
|
|
81
85
|
[data-style='minimal'] [data-tree-item-content][data-active='true'] [data-item-icon] {
|
|
82
|
-
@apply text-primary
|
|
86
|
+
@apply text-primary;
|
|
83
87
|
}
|
|
84
88
|
|
|
85
89
|
[data-style='minimal'] [data-tree-item-content] [data-item-description] {
|
|
86
|
-
@apply text-
|
|
90
|
+
@apply text-ink-soft;
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
[data-style='minimal'] [data-tree-item-content][data-active='true'] [data-item-description] {
|
|
90
|
-
@apply text-primary
|
|
94
|
+
@apply text-primary;
|
|
91
95
|
}
|
|
92
96
|
|
|
93
97
|
[data-style='minimal'] [data-tree-item-content] [data-item-badge] {
|
|
94
|
-
@apply text-
|
|
98
|
+
@apply text-ink-soft border-paper-edge border bg-transparent bg-none;
|
|
95
99
|
}
|
|
96
100
|
|
|
97
101
|
[data-style='minimal'] [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
98
|
-
@apply text-primary
|
|
102
|
+
@apply text-primary border-primary;
|
|
99
103
|
}
|
|
100
104
|
|
|
101
105
|
[data-style='minimal']
|
|
@@ -117,19 +121,21 @@
|
|
|
117
121
|
============================================================================= */
|
|
118
122
|
|
|
119
123
|
[data-style='minimal'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
|
|
120
|
-
@apply text-primary
|
|
124
|
+
@apply text-primary;
|
|
125
|
+
box-shadow: inset 2px 0 0 0 var(--primary);
|
|
121
126
|
}
|
|
122
127
|
|
|
123
128
|
[data-style='minimal']
|
|
124
129
|
[data-tree]:focus-within
|
|
125
130
|
[data-tree-node][data-selected='true']
|
|
126
131
|
[data-tree-item-content] {
|
|
127
|
-
@apply text-primary
|
|
132
|
+
@apply text-primary;
|
|
133
|
+
box-shadow: inset 2px 0 0 0 var(--primary);
|
|
128
134
|
}
|
|
129
135
|
|
|
130
136
|
[data-style='minimal']
|
|
131
137
|
[data-tree-node][data-selected='true']
|
|
132
138
|
[data-tree-item-content]
|
|
133
139
|
[data-item-icon] {
|
|
134
|
-
@apply text-primary
|
|
140
|
+
@apply text-primary;
|
|
135
141
|
}
|
package/src/rokkit/avatar.css
CHANGED
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='rokkit'] [data-avatar] {
|
|
6
|
-
@apply bg-
|
|
6
|
+
@apply bg-paper-edge text-ink-mute;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/* Status dot colors */
|
|
10
10
|
[data-style='rokkit'] [data-avatar-status][data-status='online'] {
|
|
11
|
-
@apply bg-success
|
|
11
|
+
@apply bg-success;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
[data-style='rokkit'] [data-avatar-status][data-status='offline'] {
|
|
15
|
-
@apply bg-
|
|
15
|
+
@apply bg-ink-soft;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
[data-style='rokkit'] [data-avatar-status][data-status='away'] {
|
|
19
|
-
@apply bg-warning
|
|
19
|
+
@apply bg-warning;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
[data-style='rokkit'] [data-avatar-status][data-status='busy'] {
|
|
23
|
-
@apply bg-error
|
|
23
|
+
@apply bg-error;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/* Status dot border matches surrounding background — uses surface-z1 as a neutral */
|
|
27
27
|
[data-style='rokkit'] [data-avatar-status] {
|
|
28
|
-
@apply border-
|
|
28
|
+
@apply border-paper-soft;
|
|
29
29
|
}
|
package/src/rokkit/badge.css
CHANGED
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
/* Default variant */
|
|
6
6
|
[data-style='rokkit'] [data-badge][data-variant='default'],
|
|
7
7
|
[data-style='rokkit'] [data-badge]:not([data-variant]) {
|
|
8
|
-
@apply bg-
|
|
8
|
+
@apply bg-ink-soft text-paper-soft;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* Primary */
|
|
12
12
|
[data-style='rokkit'] [data-badge][data-variant='primary'] {
|
|
13
|
-
@apply bg-primary
|
|
13
|
+
@apply bg-primary text-on-primary;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/* Success */
|
|
17
17
|
[data-style='rokkit'] [data-badge][data-variant='success'] {
|
|
18
|
-
@apply bg-success
|
|
18
|
+
@apply bg-success text-on-success;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* Warning */
|
|
22
22
|
[data-style='rokkit'] [data-badge][data-variant='warning'] {
|
|
23
|
-
@apply bg-warning
|
|
23
|
+
@apply bg-warning text-on-warning;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/* Error */
|
|
27
27
|
[data-style='rokkit'] [data-badge][data-variant='error'] {
|
|
28
|
-
@apply bg-error
|
|
28
|
+
@apply bg-error text-on-error;
|
|
29
29
|
}
|
package/src/rokkit/button.css
CHANGED
|
@@ -8,36 +8,54 @@
|
|
|
8
8
|
Default Style (filled)
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
|
+
/*
|
|
12
|
+
* Branded fills use an explicit `linear-gradient(var(--primary),
|
|
13
|
+
* var(--accent))` rather than `@apply from-X to-Y bg-gradient-to-r` —
|
|
14
|
+
* preset-wind3's gradient utilities silently drop during @apply in
|
|
15
|
+
* `tokens: 'core'` mode, so the @apply path produces empty stops and an
|
|
16
|
+
* invisible button. Writing the gradient directly bypasses that bug.
|
|
17
|
+
*
|
|
18
|
+
* Skin can map accent === primary (the default for libraries that don't
|
|
19
|
+
* declare accent); the gradient then flattens to one tone, which is the
|
|
20
|
+
* expected fallback. The demo skin declares accent: 'hisui' so this
|
|
21
|
+
* surface gradients across saffron → jade.
|
|
22
|
+
*/
|
|
23
|
+
|
|
11
24
|
/* Default variant */
|
|
12
25
|
[data-style='rokkit'] [data-button][data-style='default'][data-variant='default'],
|
|
13
26
|
[data-style='rokkit'] [data-button]:not([data-style])[data-variant='default'],
|
|
14
27
|
[data-style='rokkit'] [data-button][data-style='default']:not([data-variant]),
|
|
15
28
|
[data-style='rokkit'] [data-button]:not([data-style]):not([data-variant]) {
|
|
16
|
-
@apply
|
|
29
|
+
@apply border-paper-edge text-ink-mute border;
|
|
30
|
+
background: var(--paper-mute);
|
|
17
31
|
}
|
|
18
32
|
|
|
19
33
|
/* Primary variant */
|
|
20
34
|
[data-style='rokkit'] [data-button][data-style='default'][data-variant='primary'],
|
|
21
35
|
[data-style='rokkit'] [data-button]:not([data-style])[data-variant='primary'] {
|
|
22
|
-
@apply
|
|
36
|
+
@apply border-primary text-on-primary border;
|
|
37
|
+
background: linear-gradient(to right, var(--primary), var(--accent));
|
|
23
38
|
}
|
|
24
39
|
|
|
25
40
|
/* Secondary variant */
|
|
26
41
|
[data-style='rokkit'] [data-button][data-style='default'][data-variant='secondary'],
|
|
27
42
|
[data-style='rokkit'] [data-button]:not([data-style])[data-variant='secondary'] {
|
|
28
|
-
@apply
|
|
43
|
+
@apply border-accent text-on-primary border;
|
|
44
|
+
background: linear-gradient(to bottom, var(--accent), var(--accent));
|
|
29
45
|
}
|
|
30
46
|
|
|
31
47
|
/* Accent variant */
|
|
32
48
|
[data-style='rokkit'] [data-button][data-style='default'][data-variant='accent'],
|
|
33
49
|
[data-style='rokkit'] [data-button]:not([data-style])[data-variant='accent'] {
|
|
34
|
-
@apply
|
|
50
|
+
@apply border-accent text-on-accent border;
|
|
51
|
+
background: linear-gradient(to bottom, var(--accent), var(--accent));
|
|
35
52
|
}
|
|
36
53
|
|
|
37
54
|
/* Danger variant */
|
|
38
55
|
[data-style='rokkit'] [data-button][data-style='default'][data-variant='danger'],
|
|
39
56
|
[data-style='rokkit'] [data-button]:not([data-style])[data-variant='danger'] {
|
|
40
|
-
@apply
|
|
57
|
+
@apply border-danger text-on-danger border;
|
|
58
|
+
background: linear-gradient(to bottom, var(--danger), var(--danger));
|
|
41
59
|
}
|
|
42
60
|
|
|
43
61
|
/* =============================================================================
|
|
@@ -46,23 +64,23 @@
|
|
|
46
64
|
|
|
47
65
|
[data-style='rokkit'] [data-button][data-style='outline'][data-variant='default'],
|
|
48
66
|
[data-style='rokkit'] [data-button][data-style='outline']:not([data-variant]) {
|
|
49
|
-
@apply border-
|
|
67
|
+
@apply border-paper-edge text-ink-mute border bg-transparent;
|
|
50
68
|
}
|
|
51
69
|
|
|
52
70
|
[data-style='rokkit'] [data-button][data-style='outline'][data-variant='primary'] {
|
|
53
|
-
@apply border-primary
|
|
71
|
+
@apply border-primary text-primary border bg-transparent;
|
|
54
72
|
}
|
|
55
73
|
|
|
56
74
|
[data-style='rokkit'] [data-button][data-style='outline'][data-variant='secondary'] {
|
|
57
|
-
@apply border-
|
|
75
|
+
@apply border-accent text-accent border bg-transparent;
|
|
58
76
|
}
|
|
59
77
|
|
|
60
78
|
[data-style='rokkit'] [data-button][data-style='outline'][data-variant='accent'] {
|
|
61
|
-
@apply border-accent
|
|
79
|
+
@apply border-accent text-accent border bg-transparent;
|
|
62
80
|
}
|
|
63
81
|
|
|
64
82
|
[data-style='rokkit'] [data-button][data-style='outline'][data-variant='danger'] {
|
|
65
|
-
@apply border-danger
|
|
83
|
+
@apply border-danger text-danger border bg-transparent;
|
|
66
84
|
}
|
|
67
85
|
|
|
68
86
|
/* =============================================================================
|
|
@@ -75,23 +93,23 @@
|
|
|
75
93
|
|
|
76
94
|
[data-style='rokkit'] [data-button][data-style='ghost'][data-variant='default'],
|
|
77
95
|
[data-style='rokkit'] [data-button][data-style='ghost']:not([data-variant]) {
|
|
78
|
-
@apply text-
|
|
96
|
+
@apply text-ink-mute;
|
|
79
97
|
}
|
|
80
98
|
|
|
81
99
|
[data-style='rokkit'] [data-button][data-style='ghost'][data-variant='primary'] {
|
|
82
|
-
@apply text-primary
|
|
100
|
+
@apply text-primary;
|
|
83
101
|
}
|
|
84
102
|
|
|
85
103
|
[data-style='rokkit'] [data-button][data-style='ghost'][data-variant='secondary'] {
|
|
86
|
-
@apply text-
|
|
104
|
+
@apply text-accent;
|
|
87
105
|
}
|
|
88
106
|
|
|
89
107
|
[data-style='rokkit'] [data-button][data-style='ghost'][data-variant='accent'] {
|
|
90
|
-
@apply text-accent
|
|
108
|
+
@apply text-accent;
|
|
91
109
|
}
|
|
92
110
|
|
|
93
111
|
[data-style='rokkit'] [data-button][data-style='ghost'][data-variant='danger'] {
|
|
94
|
-
@apply text-danger
|
|
112
|
+
@apply text-danger;
|
|
95
113
|
}
|
|
96
114
|
|
|
97
115
|
/* =============================================================================
|
|
@@ -100,23 +118,23 @@
|
|
|
100
118
|
|
|
101
119
|
[data-style='rokkit'] [data-button][data-style='gradient'][data-variant='default'],
|
|
102
120
|
[data-style='rokkit'] [data-button][data-style='gradient']:not([data-variant]) {
|
|
103
|
-
@apply from-
|
|
121
|
+
@apply from-paper-edge to-paper-mute text-ink bg-gradient-to-br;
|
|
104
122
|
}
|
|
105
123
|
|
|
106
124
|
[data-style='rokkit'] [data-button][data-style='gradient'][data-variant='primary'] {
|
|
107
|
-
@apply from-primary
|
|
125
|
+
@apply from-primary to-primary text-on-primary bg-gradient-to-br;
|
|
108
126
|
}
|
|
109
127
|
|
|
110
128
|
[data-style='rokkit'] [data-button][data-style='gradient'][data-variant='secondary'] {
|
|
111
|
-
@apply from-
|
|
129
|
+
@apply from-accent to-accent text-on-primary bg-gradient-to-br;
|
|
112
130
|
}
|
|
113
131
|
|
|
114
132
|
[data-style='rokkit'] [data-button][data-style='gradient'][data-variant='accent'] {
|
|
115
|
-
@apply from-accent
|
|
133
|
+
@apply from-accent to-accent text-on-accent bg-gradient-to-br;
|
|
116
134
|
}
|
|
117
135
|
|
|
118
136
|
[data-style='rokkit'] [data-button][data-style='gradient'][data-variant='danger'] {
|
|
119
|
-
@apply from-danger
|
|
137
|
+
@apply from-danger to-danger text-on-danger bg-gradient-to-br;
|
|
120
138
|
}
|
|
121
139
|
|
|
122
140
|
[data-style='rokkit']
|
|
@@ -130,27 +148,27 @@
|
|
|
130
148
|
|
|
131
149
|
[data-style='rokkit'] [data-button][data-style='link'][data-variant='default'],
|
|
132
150
|
[data-style='rokkit'] [data-button][data-style='link']:not([data-variant]) {
|
|
133
|
-
@apply text-
|
|
151
|
+
@apply text-ink-mute;
|
|
134
152
|
}
|
|
135
153
|
|
|
136
154
|
[data-style='rokkit'] [data-button][data-style='link'][data-variant='primary'] {
|
|
137
|
-
@apply text-primary
|
|
155
|
+
@apply text-primary;
|
|
138
156
|
}
|
|
139
157
|
|
|
140
158
|
[data-style='rokkit'] [data-button][data-style='link'][data-variant='secondary'] {
|
|
141
|
-
@apply text-
|
|
159
|
+
@apply text-accent;
|
|
142
160
|
}
|
|
143
161
|
|
|
144
162
|
[data-style='rokkit'] [data-button][data-style='link'][data-variant='accent'] {
|
|
145
|
-
@apply text-accent
|
|
163
|
+
@apply text-accent;
|
|
146
164
|
}
|
|
147
165
|
|
|
148
166
|
[data-style='rokkit'] [data-button][data-style='link'][data-variant='danger'] {
|
|
149
|
-
@apply text-danger
|
|
167
|
+
@apply text-danger;
|
|
150
168
|
}
|
|
151
169
|
|
|
152
170
|
[data-style='rokkit'] [data-button][data-style='link']:hover:not(:disabled):not([data-disabled]) {
|
|
153
|
-
@apply text-primary
|
|
171
|
+
@apply text-primary;
|
|
154
172
|
}
|
|
155
173
|
|
|
156
174
|
/* =============================================================================
|
|
@@ -172,35 +190,35 @@
|
|
|
172
190
|
[data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]):not(
|
|
173
191
|
[data-variant]
|
|
174
192
|
) {
|
|
175
|
-
@apply from-
|
|
193
|
+
@apply from-paper-mute to-paper-soft bg-gradient-to-b;
|
|
176
194
|
}
|
|
177
195
|
|
|
178
196
|
[data-style='rokkit']
|
|
179
197
|
[data-button][data-style='outline']:hover:not(:disabled):not(
|
|
180
198
|
[data-disabled]
|
|
181
199
|
)[data-variant='primary'] {
|
|
182
|
-
@apply from-primary
|
|
200
|
+
@apply from-primary to-primary bg-gradient-to-b;
|
|
183
201
|
}
|
|
184
202
|
|
|
185
203
|
[data-style='rokkit']
|
|
186
204
|
[data-button][data-style='outline']:hover:not(:disabled):not(
|
|
187
205
|
[data-disabled]
|
|
188
206
|
)[data-variant='secondary'] {
|
|
189
|
-
@apply from-
|
|
207
|
+
@apply from-accent-soft to-accent-soft bg-gradient-to-b;
|
|
190
208
|
}
|
|
191
209
|
|
|
192
210
|
[data-style='rokkit']
|
|
193
211
|
[data-button][data-style='outline']:hover:not(:disabled):not(
|
|
194
212
|
[data-disabled]
|
|
195
213
|
)[data-variant='accent'] {
|
|
196
|
-
@apply from-accent-
|
|
214
|
+
@apply from-accent-soft to-accent-soft bg-gradient-to-b;
|
|
197
215
|
}
|
|
198
216
|
|
|
199
217
|
[data-style='rokkit']
|
|
200
218
|
[data-button][data-style='outline']:hover:not(:disabled):not(
|
|
201
219
|
[data-disabled]
|
|
202
220
|
)[data-variant='danger'] {
|
|
203
|
-
@apply from-danger-
|
|
221
|
+
@apply from-danger-soft to-danger-soft bg-gradient-to-b;
|
|
204
222
|
}
|
|
205
223
|
|
|
206
224
|
/* Ghost style hover */
|
|
@@ -210,35 +228,35 @@
|
|
|
210
228
|
)[data-variant='default'],
|
|
211
229
|
[data-style='rokkit']
|
|
212
230
|
[data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]):not([data-variant]) {
|
|
213
|
-
@apply bg-
|
|
231
|
+
@apply bg-paper-mute;
|
|
214
232
|
}
|
|
215
233
|
|
|
216
234
|
[data-style='rokkit']
|
|
217
235
|
[data-button][data-style='ghost']:hover:not(:disabled):not(
|
|
218
236
|
[data-disabled]
|
|
219
237
|
)[data-variant='primary'] {
|
|
220
|
-
@apply bg-primary
|
|
238
|
+
@apply bg-primary;
|
|
221
239
|
}
|
|
222
240
|
|
|
223
241
|
[data-style='rokkit']
|
|
224
242
|
[data-button][data-style='ghost']:hover:not(:disabled):not(
|
|
225
243
|
[data-disabled]
|
|
226
244
|
)[data-variant='secondary'] {
|
|
227
|
-
@apply bg-
|
|
245
|
+
@apply bg-accent-soft;
|
|
228
246
|
}
|
|
229
247
|
|
|
230
248
|
[data-style='rokkit']
|
|
231
249
|
[data-button][data-style='ghost']:hover:not(:disabled):not(
|
|
232
250
|
[data-disabled]
|
|
233
251
|
)[data-variant='accent'] {
|
|
234
|
-
@apply bg-accent-
|
|
252
|
+
@apply bg-accent-soft;
|
|
235
253
|
}
|
|
236
254
|
|
|
237
255
|
[data-style='rokkit']
|
|
238
256
|
[data-button][data-style='ghost']:hover:not(:disabled):not(
|
|
239
257
|
[data-disabled]
|
|
240
258
|
)[data-variant='danger'] {
|
|
241
|
-
@apply bg-danger-
|
|
259
|
+
@apply bg-danger-soft;
|
|
242
260
|
}
|
|
243
261
|
|
|
244
262
|
/* =============================================================================
|
|
@@ -255,7 +273,7 @@
|
|
|
255
273
|
============================================================================= */
|
|
256
274
|
|
|
257
275
|
[data-style='rokkit'] [data-button]:focus-visible {
|
|
258
|
-
@apply ring-primary
|
|
276
|
+
@apply ring-primary ring-2 outline-none;
|
|
259
277
|
}
|
|
260
278
|
|
|
261
279
|
/* =============================================================================
|
package/src/rokkit/card.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='rokkit'] [data-card] {
|
|
12
|
-
@apply from-
|
|
12
|
+
@apply from-paper-mute to-paper-soft border-ink-soft text-ink border bg-gradient-to-b shadow-lg;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* Interactive cards (buttons) */
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
============================================================================= */
|
|
36
36
|
|
|
37
37
|
[data-style='rokkit'] [data-card-header] {
|
|
38
|
-
@apply border-
|
|
38
|
+
@apply border-paper-edge border-b;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
[data-style='rokkit'] [data-card-body] {
|
|
42
|
-
@apply text-
|
|
42
|
+
@apply text-ink-mute;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
[data-style='rokkit'] [data-card-footer] {
|
|
46
|
-
@apply border-
|
|
46
|
+
@apply border-paper-edge text-ink-mute border-t;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* =============================================================================
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
============================================================================= */
|
|
52
52
|
|
|
53
53
|
[data-style='rokkit'] [data-card][data-card-interactive]:focus-visible {
|
|
54
|
-
@apply ring-primary
|
|
54
|
+
@apply ring-primary ring-2 outline-none;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/* =============================================================================
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
|
|
71
71
|
/* Primary — gradient from primary to secondary */
|
|
72
72
|
[data-style='rokkit'] [data-card][data-variant='primary'] {
|
|
73
|
-
@apply from-primary
|
|
73
|
+
@apply from-primary to-accent border-primary text-on-primary bg-gradient-to-br shadow-lg;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
[data-style='rokkit'] [data-card][data-variant='primary'] [data-card-header],
|
|
77
77
|
[data-style='rokkit'] [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='rokkit'] [data-card][data-variant='primary'] [data-card-body] {
|
|
@@ -84,19 +84,19 @@
|
|
|
84
84
|
|
|
85
85
|
/* Secondary — muted secondary surface */
|
|
86
86
|
[data-style='rokkit'] [data-card][data-variant='secondary'] {
|
|
87
|
-
@apply from-
|
|
87
|
+
@apply from-accent to-accent border-accent text-on-primary bg-gradient-to-b shadow;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
[data-style='rokkit'] [data-card][data-variant='secondary'] [data-card-header],
|
|
91
91
|
[data-style='rokkit'] [data-card][data-variant='secondary'] [data-card-footer] {
|
|
92
|
-
@apply border-
|
|
92
|
+
@apply border-accent/40;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
[data-style='rokkit'] [data-card][data-variant='secondary'] [data-card-body] {
|
|
96
|
-
@apply text-on-
|
|
96
|
+
@apply text-on-primary/80;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/* Tertiary — elevated surface, no color accent */
|
|
100
100
|
[data-style='rokkit'] [data-card][data-variant='tertiary'] {
|
|
101
|
-
@apply from-
|
|
101
|
+
@apply from-paper-mute to-paper-mute border-paper-edge text-ink-mute bg-gradient-to-b shadow;
|
|
102
102
|
}
|
package/src/rokkit/chart.css
CHANGED
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
[data-style='rokkit'] [data-chart-axis-line],
|
|
6
6
|
[data-style='rokkit'] [data-chart-tick] line {
|
|
7
|
-
@apply stroke-
|
|
7
|
+
@apply stroke-paper-edge;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[data-style='rokkit'] [data-chart-tick-label] {
|
|
11
|
-
@apply fill-
|
|
11
|
+
@apply fill-ink-soft;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
[data-style='rokkit'] [data-chart-grid-line] {
|
|
15
|
-
@apply stroke-
|
|
15
|
+
@apply stroke-paper-mute;
|
|
16
16
|
stroke-dasharray: 4 4;
|
|
17
17
|
stroke-opacity: 0.5;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[data-style='rokkit'] [data-chart-legend-label] {
|
|
21
|
-
@apply fill-
|
|
21
|
+
@apply fill-ink-soft;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='rokkit'] [data-chart-legend-item]:hover {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-ink;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[data-style='rokkit'] [data-plot-element='bar'][data-dimmed],
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='rokkit'] [data-facet-title] {
|
|
37
|
-
@apply text-
|
|
37
|
+
@apply text-ink-soft;
|
|
38
38
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeBlock — rokkit theme.
|
|
3
|
+
* Frame supplies the chrome; this adds typography + muted tokens for
|
|
4
|
+
* the title row, lang chip, action buttons, and pre/code body.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='rokkit'] [data-code-block-icon] {
|
|
8
|
+
@apply text-ink-soft;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-code-block-filename] {
|
|
12
|
+
font: 500 11.5px var(--font-mono);
|
|
13
|
+
@apply text-ink-mute;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[data-style='rokkit'] [data-code-block-lang] {
|
|
17
|
+
font: 500 10px var(--font-mono);
|
|
18
|
+
@apply text-ink-soft border-paper-edge border;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[data-style='rokkit'] [data-code-block-actions] button {
|
|
22
|
+
font: 500 11px var(--font-mono);
|
|
23
|
+
@apply text-ink-soft;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-style='rokkit'] [data-code-block-actions] button:hover {
|
|
27
|
+
@apply bg-paper-mute text-ink;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-style='rokkit'] [data-code-block-body] pre {
|
|
31
|
+
font: 400 12px/1.65 var(--font-mono);
|
|
32
|
+
@apply text-ink;
|
|
33
|
+
}
|
package/src/rokkit/connector.css
CHANGED
package/src/rokkit/divider.css
CHANGED
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
[data-style='rokkit'] [data-divider][data-orientation='horizontal']::before,
|
|
6
6
|
[data-style='rokkit'] [data-divider][data-orientation='horizontal']::after {
|
|
7
|
-
@apply bg-
|
|
7
|
+
@apply bg-paper-edge;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[data-style='rokkit'] [data-divider][data-orientation='vertical']::before,
|
|
11
11
|
[data-style='rokkit'] [data-divider][data-orientation='vertical']::after {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-edge;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* No-label horizontal divider — color the element itself */
|
|
16
16
|
[data-style='rokkit'] [data-divider][data-orientation='horizontal']:not(:has([data-divider-label])) {
|
|
17
|
-
@apply bg-
|
|
17
|
+
@apply bg-paper-edge;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[data-style='rokkit'] [data-divider][data-orientation='vertical']:not(:has([data-divider-label])) {
|
|
21
|
-
@apply bg-
|
|
21
|
+
@apply bg-paper-edge;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='rokkit'] [data-divider-label] {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-ink-soft;
|
|
26
26
|
}
|