@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/material/chart.css
CHANGED
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
[data-style='material'] [data-chart-axis-line],
|
|
6
6
|
[data-style='material'] [data-chart-tick] line {
|
|
7
|
-
@apply stroke-
|
|
7
|
+
@apply stroke-paper-mute;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[data-style='material'] [data-chart-tick-label] {
|
|
11
|
-
@apply fill-
|
|
11
|
+
@apply fill-ink-soft;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
[data-style='material'] [data-chart-grid-line] {
|
|
15
|
-
@apply stroke-
|
|
15
|
+
@apply stroke-paper-mute;
|
|
16
16
|
stroke-opacity: 0.5;
|
|
17
17
|
stroke-dasharray: 2 4;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[data-style='material'] [data-chart-legend-label] {
|
|
21
|
-
@apply fill-
|
|
21
|
+
@apply fill-ink-soft;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='material'] [data-chart-legend-item]:hover {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-ink-mute;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[data-style='material'] [data-plot-element='bar'][data-dimmed],
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='material'] [data-facet-title] {
|
|
37
|
-
@apply text-
|
|
37
|
+
@apply text-ink-soft;
|
|
38
38
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeBlock — material 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='material'] [data-code-block-icon] {
|
|
8
|
+
@apply text-ink-soft;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='material'] [data-code-block-filename] {
|
|
12
|
+
font: 500 11.5px var(--font-mono);
|
|
13
|
+
@apply text-ink-mute;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[data-style='material'] [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='material'] [data-code-block-actions] button {
|
|
22
|
+
font: 500 11px var(--font-mono);
|
|
23
|
+
@apply text-ink-soft;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-style='material'] [data-code-block-actions] button:hover {
|
|
27
|
+
@apply bg-paper-mute text-ink;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-style='material'] [data-code-block-body] pre {
|
|
31
|
+
font: 400 12px/1.65 var(--font-mono);
|
|
32
|
+
@apply text-ink;
|
|
33
|
+
}
|
|
@@ -5,46 +5,46 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
[data-style='material'] [data-dropdown-trigger] {
|
|
8
|
-
@apply bg-
|
|
8
|
+
@apply bg-paper-soft border-paper-edge text-ink-mute border bg-none shadow-sm;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-dropdown-trigger]:hover:not(:disabled) {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-mute text-ink border-ink-soft bg-none shadow-md;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-dropdown-trigger]:focus-visible {
|
|
16
|
-
@apply ring-primary
|
|
16
|
+
@apply ring-primary ring-2 outline-none;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-dropdown][data-open='true'] [data-dropdown-trigger] {
|
|
20
|
-
@apply bg-primary
|
|
20
|
+
@apply bg-primary border-primary bg-none shadow-md;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-dropdown-trigger] [data-dropdown-icon] {
|
|
24
|
-
@apply text-
|
|
24
|
+
@apply text-ink-soft;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='material'] [data-dropdown-trigger] [data-dropdown-arrow] {
|
|
28
|
-
@apply text-
|
|
28
|
+
@apply text-ink-soft;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='material'] [data-dropdown-panel] {
|
|
32
|
-
@apply bg-
|
|
32
|
+
@apply bg-paper-soft border-paper-mute border bg-none shadow-lg;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
[data-style='material'] [data-dropdown-option] {
|
|
36
|
-
@apply text-
|
|
36
|
+
@apply text-ink-mute;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
[data-style='material'] [data-dropdown-option]:hover:not(:disabled),
|
|
40
40
|
[data-style='material'] [data-dropdown-option]:focus:not(:disabled) {
|
|
41
|
-
@apply bg-
|
|
41
|
+
@apply bg-paper-mute text-ink bg-none outline-none;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[data-style='material'] [data-dropdown-option][data-active='true'] {
|
|
45
|
-
@apply bg-primary
|
|
45
|
+
@apply bg-primary text-primary bg-none;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[data-style='material'] [data-dropdown-separator] {
|
|
49
|
-
@apply bg-
|
|
49
|
+
@apply bg-paper-mute bg-none;
|
|
50
50
|
}
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-fab-trigger] {
|
|
12
|
-
@apply bg-primary
|
|
12
|
+
@apply bg-primary bg-none text-on-primary shadow-lg;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-fab-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply bg-primary
|
|
16
|
+
@apply bg-primary bg-none shadow-xl;
|
|
17
17
|
transform: scale(1.05);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[data-style='material'] [data-fab-trigger]:focus-visible {
|
|
21
|
-
@apply ring-primary
|
|
21
|
+
@apply ring-primary ring-2 ring-offset-2 outline-none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='material'] [data-fab][data-open='true'] [data-fab-trigger] {
|
|
25
|
-
@apply bg-
|
|
25
|
+
@apply bg-paper-edge text-ink bg-none shadow-lg;
|
|
26
26
|
transform: rotate(45deg);
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -35,24 +35,24 @@
|
|
|
35
35
|
============================================================================= */
|
|
36
36
|
|
|
37
37
|
[data-style='material'] [data-fab-item] {
|
|
38
|
-
@apply bg-
|
|
38
|
+
@apply bg-paper-soft text-ink-mute bg-none shadow-md;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
[data-style='material'] [data-fab-item]:hover:not(:disabled) {
|
|
42
|
-
@apply bg-
|
|
42
|
+
@apply bg-paper-mute text-ink bg-none shadow-lg;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
[data-style='material'] [data-fab-item]:focus-visible {
|
|
46
|
-
@apply ring-primary
|
|
46
|
+
@apply ring-primary ring-2 outline-none;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* Item icon */
|
|
50
50
|
[data-style='material'] [data-fab-item] [data-fab-item-icon] {
|
|
51
|
-
@apply text-primary
|
|
51
|
+
@apply text-primary;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
[data-style='material'] [data-fab-item]:hover:not(:disabled) [data-fab-item-icon] {
|
|
55
|
-
@apply text-primary
|
|
55
|
+
@apply text-primary;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/* =============================================================================
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
============================================================================= */
|
|
61
61
|
|
|
62
62
|
[data-style='material'] [data-fab-backdrop] {
|
|
63
|
-
|
|
63
|
+
@apply bg-ink/50;
|
|
64
64
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-floating-nav] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-soft bg-none shadow-xl;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-floating-nav-title] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-soft;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-floating-nav-pin] {
|
|
24
|
-
@apply text-
|
|
24
|
+
@apply text-ink-soft;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='material'] [data-floating-nav-pin]:hover {
|
|
28
|
-
@apply text-primary
|
|
28
|
+
@apply text-primary;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='material'] [data-floating-nav-pin][aria-pressed='true'] {
|
|
32
|
-
@apply text-primary
|
|
32
|
+
@apply text-primary;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,32 +37,32 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='material'] [data-floating-nav-item] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='material'] [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='material'] [data-floating-nav-item][data-active] {
|
|
48
|
-
@apply text-primary
|
|
48
|
+
@apply text-primary bg-primary/10 bg-none;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[data-style='material'] [data-floating-nav-item]:focus-visible {
|
|
52
|
-
@apply ring-primary
|
|
52
|
+
@apply ring-primary ring-2 outline-none;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/* Icon */
|
|
56
56
|
[data-style='material'] [data-floating-nav-icon] {
|
|
57
|
-
@apply text-
|
|
57
|
+
@apply text-ink-soft;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
[data-style='material'] [data-floating-nav-item]:hover [data-floating-nav-icon] {
|
|
61
|
-
@apply text-primary
|
|
61
|
+
@apply text-primary;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
[data-style='material'] [data-floating-nav-item][data-active] [data-floating-nav-icon] {
|
|
65
|
-
@apply text-primary
|
|
65
|
+
@apply text-primary;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/* =============================================================================
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
============================================================================= */
|
|
71
71
|
|
|
72
72
|
[data-style='material'] [data-floating-nav-indicator] {
|
|
73
|
-
@apply bg-primary
|
|
73
|
+
@apply bg-primary bg-none shadow-sm;
|
|
74
74
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Frame — material theme.
|
|
3
|
+
* Border + background decoration. Base file owns layout / spacing.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
[data-style='material'] [data-frame] {
|
|
7
|
+
@apply bg-paper border-paper-edge border;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[data-style='material'] [data-frame-header] {
|
|
11
|
+
@apply bg-paper-soft border-paper-edge border-b;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-style='material'] [data-frame-footer] {
|
|
15
|
+
@apply bg-paper border-paper-edge;
|
|
16
|
+
border-top: 1px dashed var(--paper-edge);
|
|
17
|
+
}
|
package/src/material/index.css
CHANGED
package/src/material/input.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/* Form background */
|
|
6
6
|
[data-style='material'] [data-form-root] {
|
|
7
|
-
@apply bg-
|
|
7
|
+
@apply bg-paper-soft;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* Field root: relative positioning for floating label */
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
* (prevents body[data-mode="dark"][data-style="rokkit"] bleed on comparison pages) */
|
|
17
17
|
[data-style='material'] [data-input-root],
|
|
18
18
|
[data-mode='dark'] [data-style='material'] [data-input-root] {
|
|
19
|
-
@apply border-
|
|
19
|
+
@apply border-paper-edge flex items-center rounded border bg-transparent p-0 transition-all;
|
|
20
20
|
background-color: transparent;
|
|
21
21
|
background-image: none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='material'] [data-input-root]:hover {
|
|
25
|
-
@apply border-
|
|
25
|
+
@apply border-ink-soft;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[data-style='material'] [data-input-root]:focus-within {
|
|
29
|
-
@apply border-primary
|
|
29
|
+
@apply border-primary bg-transparent;
|
|
30
30
|
background-image: none;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
[data-mode='dark'] [data-style='material'] [data-input-root] textarea,
|
|
43
43
|
[data-style='material'] [data-input-root] select,
|
|
44
44
|
[data-mode='dark'] [data-style='material'] [data-input-root] select {
|
|
45
|
-
@apply text-
|
|
45
|
+
@apply text-ink w-full border-none bg-transparent px-3 py-2.5 transition-all outline-none;
|
|
46
46
|
background-color: transparent;
|
|
47
47
|
border-radius: 4px;
|
|
48
48
|
font-size: 0.875rem;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
/* Select inside input-root */
|
|
57
57
|
[data-style='material'] [data-input-root] [data-select-trigger] {
|
|
58
|
-
@apply text-
|
|
58
|
+
@apply text-ink rounded border-none bg-transparent px-3 shadow-none ring-0 focus:outline-none;
|
|
59
59
|
font-size: 0.875rem;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
/* Labels: floating label effect (exclude checkbox — uses inline label) */
|
|
68
68
|
[data-style='material'] [data-field-root]:not([data-field-type='checkbox']) [data-field] > label {
|
|
69
|
-
@apply text-
|
|
69
|
+
@apply text-ink-soft pointer-events-none absolute left-3 px-1 text-sm transition-all;
|
|
70
70
|
top: 50%;
|
|
71
71
|
transform: translateY(-50%);
|
|
72
72
|
z-index: 1;
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
[data-field-root]:not([data-field-type='checkbox']):not([data-field-empty='true'])
|
|
82
82
|
[data-field]
|
|
83
83
|
> label {
|
|
84
|
-
@apply bg-
|
|
84
|
+
@apply bg-paper-soft text-xs;
|
|
85
85
|
top: 0;
|
|
86
86
|
transform: translateY(-50%);
|
|
87
87
|
padding-inline: 0.25rem;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
[data-field-root]:not([data-field-type='checkbox'])
|
|
93
93
|
[data-field]:has([data-input-root]:focus-within)
|
|
94
94
|
> label {
|
|
95
|
-
@apply text-primary
|
|
95
|
+
@apply text-primary;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/* Checkbox fields: inline label, centered with icon */
|
|
@@ -101,64 +101,64 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
[data-style='material'] [data-field-type='checkbox'] [data-field] > label {
|
|
104
|
-
@apply text-
|
|
104
|
+
@apply text-ink-mute text-sm;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/* Form-level labels (FormRenderer) */
|
|
108
108
|
[data-style='material'] [data-form-root] label {
|
|
109
|
-
@apply text-
|
|
109
|
+
@apply text-ink-soft text-sm;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
/* Info field value */
|
|
113
113
|
[data-style='material'] [data-field-info] {
|
|
114
|
-
@apply text-primary
|
|
114
|
+
@apply text-primary;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
/* Separator */
|
|
118
118
|
[data-style='material'] [data-form-separator] {
|
|
119
|
-
@apply border-
|
|
119
|
+
@apply border-paper-mute;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
/* Disabled state */
|
|
123
123
|
[data-style='material'] [data-field-disabled] [data-input-root] {
|
|
124
|
-
@apply border-
|
|
124
|
+
@apply border-paper-mute bg-paper-soft cursor-not-allowed opacity-60;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/* Error state */
|
|
128
128
|
[data-style='material'] [data-field-state='fail'] [data-input-root] {
|
|
129
|
-
@apply border-danger
|
|
129
|
+
@apply border-danger;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
[data-style='material']
|
|
133
133
|
[data-field-root]:not([data-field-type='checkbox'])[data-field-state='fail']
|
|
134
134
|
[data-field]
|
|
135
135
|
> label {
|
|
136
|
-
@apply text-danger
|
|
136
|
+
@apply text-danger;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/* Description */
|
|
140
140
|
[data-style='material'] [data-description] {
|
|
141
|
-
@apply text-
|
|
141
|
+
@apply text-ink-soft mt-1 px-3 text-xs;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/* Message */
|
|
145
145
|
[data-style='material'] [data-message] {
|
|
146
|
-
@apply text-danger
|
|
146
|
+
@apply text-danger mt-1 px-3 text-xs;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/* Checkbox */
|
|
150
150
|
[data-style='material'] [data-checkbox-icon] {
|
|
151
|
-
@apply text-
|
|
151
|
+
@apply text-ink-soft text-lg;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
[data-style='material']
|
|
155
155
|
[data-checkbox-root][data-variant='custom']:has(input:checked)
|
|
156
156
|
[data-checkbox-icon] {
|
|
157
|
-
@apply text-primary
|
|
157
|
+
@apply text-primary;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/* Placeholders */
|
|
161
161
|
[data-style='material'] [data-input-root] input::placeholder,
|
|
162
162
|
[data-style='material'] [data-input-root] textarea::placeholder {
|
|
163
|
-
@apply text-
|
|
163
|
+
@apply text-paper-edge;
|
|
164
164
|
}
|
package/src/material/list.css
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-list] [data-list-item] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-mute;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-list] a[data-list-item],
|
|
24
24
|
[data-style='material'] [data-list] button[data-list-item] {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-ink-mute;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Hover and focus (keyboard navigation) */
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
[data-style='material']
|
|
33
33
|
[data-list]
|
|
34
34
|
[data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
35
|
-
@apply bg-
|
|
35
|
+
@apply bg-paper-mute text-ink bg-none outline-none;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/* Active state — muted when list not focused */
|
|
39
39
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] {
|
|
40
|
-
@apply bg-
|
|
40
|
+
@apply bg-paper-mute text-primary bg-none;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* Active state — full highlight when list has focus */
|
|
44
44
|
[data-style='material'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
45
|
-
@apply bg-primary
|
|
45
|
+
@apply bg-primary text-primary bg-none;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* Active + hover/focus */
|
|
49
49
|
[data-style='material'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled),
|
|
50
50
|
[data-style='material'] [data-list] [data-list-item][data-active='true']:focus:not(:disabled) {
|
|
51
|
-
@apply bg-primary
|
|
51
|
+
@apply bg-primary bg-none;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* =============================================================================
|
|
@@ -56,32 +56,46 @@
|
|
|
56
56
|
============================================================================= */
|
|
57
57
|
|
|
58
58
|
[data-style='material'] [data-list] [data-list-item] [data-item-icon] {
|
|
59
|
-
@apply text-
|
|
59
|
+
@apply text-ink-soft;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
[data-style='material'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
|
|
63
63
|
[data-style='material'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
|
|
64
|
-
@apply text-
|
|
64
|
+
@apply text-ink-mute;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
|
|
68
|
-
@apply text-primary
|
|
68
|
+
@apply text-primary;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Literal / kanji icons */
|
|
72
|
+
[data-style='material'] [data-list] [data-list-item] [data-item-icon-literal] {
|
|
73
|
+
@apply text-ink-soft;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
[data-style='material'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon-literal],
|
|
77
|
+
[data-style='material'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon-literal] {
|
|
78
|
+
@apply text-ink-mute;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[data-style='material'] [data-list] [data-list-item][data-active='true'] [data-item-icon-literal] {
|
|
82
|
+
@apply text-primary;
|
|
69
83
|
}
|
|
70
84
|
|
|
71
85
|
[data-style='material'] [data-list] [data-list-item] [data-item-description] {
|
|
72
|
-
@apply text-
|
|
86
|
+
@apply text-ink-soft;
|
|
73
87
|
}
|
|
74
88
|
|
|
75
89
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
|
|
76
|
-
@apply text-primary
|
|
90
|
+
@apply text-primary;
|
|
77
91
|
}
|
|
78
92
|
|
|
79
93
|
[data-style='material'] [data-list] [data-list-item] [data-item-badge] {
|
|
80
|
-
@apply bg-
|
|
94
|
+
@apply bg-paper-mute text-ink-soft rounded-full bg-none;
|
|
81
95
|
}
|
|
82
96
|
|
|
83
97
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
84
|
-
@apply bg-primary
|
|
98
|
+
@apply bg-primary text-primary bg-none;
|
|
85
99
|
}
|
|
86
100
|
|
|
87
101
|
/* =============================================================================
|
|
@@ -89,12 +103,12 @@
|
|
|
89
103
|
============================================================================= */
|
|
90
104
|
|
|
91
105
|
[data-style='material'] [data-list] [data-list-group] {
|
|
92
|
-
@apply text-
|
|
106
|
+
@apply text-ink-soft font-medium;
|
|
93
107
|
}
|
|
94
108
|
|
|
95
109
|
[data-style='material'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
96
110
|
[data-style='material'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
97
|
-
@apply bg-
|
|
111
|
+
@apply bg-paper-mute text-ink-mute bg-none;
|
|
98
112
|
}
|
|
99
113
|
|
|
100
114
|
/* =============================================================================
|
|
@@ -102,7 +116,7 @@
|
|
|
102
116
|
============================================================================= */
|
|
103
117
|
|
|
104
118
|
[data-style='material'] [data-list] [data-list-separator] {
|
|
105
|
-
@apply bg-
|
|
119
|
+
@apply bg-paper-mute bg-none;
|
|
106
120
|
}
|
|
107
121
|
|
|
108
122
|
/* =============================================================================
|
|
@@ -110,17 +124,17 @@
|
|
|
110
124
|
============================================================================= */
|
|
111
125
|
|
|
112
126
|
[data-style='material'] [data-list] [data-list-item][data-selected='true'] {
|
|
113
|
-
@apply bg-primary
|
|
127
|
+
@apply bg-primary text-primary bg-none;
|
|
114
128
|
}
|
|
115
129
|
|
|
116
130
|
[data-style='material'] [data-list]:focus-within [data-list-item][data-selected='true'] {
|
|
117
|
-
@apply bg-primary
|
|
131
|
+
@apply bg-primary bg-none;
|
|
118
132
|
}
|
|
119
133
|
|
|
120
134
|
[data-style='material'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
|
|
121
|
-
@apply bg-primary
|
|
135
|
+
@apply bg-primary bg-none;
|
|
122
136
|
}
|
|
123
137
|
|
|
124
138
|
[data-style='material'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
|
|
125
|
-
@apply text-primary
|
|
139
|
+
@apply text-primary;
|
|
126
140
|
}
|