@rokkit/themes 1.0.0-next.147 → 1.0.0-next.149
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 +10 -2
- package/dist/ant-design.css +2065 -0
- package/dist/base.css +229 -4
- package/dist/bits-ui.css +2060 -0
- package/dist/carbon.css +2072 -0
- package/dist/daisy-ui.css +2081 -0
- package/dist/glass.css +84 -2
- package/dist/grada-ui.css +283 -198
- package/dist/index.css +11267 -280
- package/dist/material.css +106 -29
- package/dist/minimal.css +106 -29
- package/dist/rokkit.css +119 -14
- package/dist/shadcn.css +2053 -0
- package/package.json +28 -2
- package/src/ant-design/button.css +183 -0
- package/src/ant-design/card.css +100 -0
- package/src/ant-design/chart.css +34 -0
- package/src/ant-design/connector.css +11 -0
- package/src/ant-design/dropdown.css +50 -0
- package/src/ant-design/floating-action.css +63 -0
- package/src/ant-design/floating-navigation.css +70 -0
- package/src/ant-design/grid.css +46 -0
- package/src/ant-design/index.css +34 -0
- package/src/ant-design/input.css +149 -0
- package/src/ant-design/list.css +126 -0
- package/src/ant-design/menu.css +88 -0
- package/src/ant-design/message.css +35 -0
- package/src/ant-design/range.css +61 -0
- package/src/ant-design/search-filter.css +49 -0
- package/src/ant-design/select.css +158 -0
- package/src/ant-design/status-list.css +66 -0
- package/src/ant-design/switch.css +29 -0
- package/src/ant-design/table.css +89 -0
- package/src/ant-design/tabs.css +149 -0
- package/src/ant-design/timeline.css +45 -0
- package/src/ant-design/toc.css +18 -0
- package/src/ant-design/toggle.css +48 -0
- package/src/ant-design/toolbar.css +85 -0
- package/src/ant-design/tree.css +127 -0
- package/src/ant-design/upload-progress.css +102 -0
- package/src/ant-design/upload-target.css +50 -0
- package/src/base/chart.css +94 -0
- package/src/base/index.css +2 -0
- package/src/base/input.css +53 -3
- package/src/base/swatch.css +79 -0
- package/src/base/tree.css +1 -1
- package/src/bits-ui/button.css +176 -0
- package/src/bits-ui/card.css +99 -0
- package/src/bits-ui/chart.css +34 -0
- package/src/bits-ui/connector.css +11 -0
- package/src/bits-ui/dropdown.css +50 -0
- package/src/bits-ui/floating-action.css +63 -0
- package/src/bits-ui/floating-navigation.css +70 -0
- package/src/bits-ui/grid.css +46 -0
- package/src/bits-ui/index.css +34 -0
- package/src/bits-ui/input.css +150 -0
- package/src/bits-ui/list.css +126 -0
- package/src/bits-ui/menu.css +88 -0
- package/src/bits-ui/message.css +35 -0
- package/src/bits-ui/range.css +61 -0
- package/src/bits-ui/search-filter.css +49 -0
- package/src/bits-ui/select.css +158 -0
- package/src/bits-ui/status-list.css +66 -0
- package/src/bits-ui/switch.css +29 -0
- package/src/bits-ui/table.css +89 -0
- package/src/bits-ui/tabs.css +151 -0
- package/src/bits-ui/timeline.css +45 -0
- package/src/bits-ui/toc.css +18 -0
- package/src/bits-ui/toggle.css +48 -0
- package/src/bits-ui/toolbar.css +85 -0
- package/src/bits-ui/tree.css +127 -0
- package/src/bits-ui/upload-progress.css +102 -0
- package/src/bits-ui/upload-target.css +50 -0
- package/src/carbon/button.css +183 -0
- package/src/carbon/card.css +97 -0
- package/src/carbon/chart.css +34 -0
- package/src/carbon/connector.css +11 -0
- package/src/carbon/dropdown.css +50 -0
- package/src/carbon/floating-action.css +63 -0
- package/src/carbon/floating-navigation.css +70 -0
- package/src/carbon/grid.css +46 -0
- package/src/carbon/index.css +33 -0
- package/src/carbon/input.css +148 -0
- package/src/carbon/list.css +126 -0
- package/src/carbon/menu.css +88 -0
- package/src/carbon/message.css +37 -0
- package/src/carbon/range.css +61 -0
- package/src/carbon/search-filter.css +49 -0
- package/src/carbon/select.css +158 -0
- package/src/carbon/status-list.css +66 -0
- package/src/carbon/switch.css +31 -0
- package/src/carbon/table.css +93 -0
- package/src/carbon/tabs.css +149 -0
- package/src/carbon/timeline.css +45 -0
- package/src/carbon/toc.css +22 -0
- package/src/carbon/toggle.css +48 -0
- package/src/carbon/toolbar.css +85 -0
- package/src/carbon/tree.css +127 -0
- package/src/carbon/upload-progress.css +102 -0
- package/src/carbon/upload-target.css +50 -0
- package/src/daisy-ui/button.css +195 -0
- package/src/daisy-ui/card.css +99 -0
- package/src/daisy-ui/chart.css +34 -0
- package/src/daisy-ui/connector.css +11 -0
- package/src/daisy-ui/dropdown.css +50 -0
- package/src/daisy-ui/floating-action.css +63 -0
- package/src/daisy-ui/floating-navigation.css +70 -0
- package/src/daisy-ui/grid.css +46 -0
- package/src/daisy-ui/index.css +33 -0
- package/src/daisy-ui/input.css +146 -0
- package/src/daisy-ui/list.css +127 -0
- package/src/daisy-ui/menu.css +88 -0
- package/src/daisy-ui/message.css +37 -0
- package/src/daisy-ui/range.css +61 -0
- package/src/daisy-ui/search-filter.css +49 -0
- package/src/daisy-ui/select.css +158 -0
- package/src/daisy-ui/status-list.css +66 -0
- package/src/daisy-ui/switch.css +31 -0
- package/src/daisy-ui/table.css +89 -0
- package/src/daisy-ui/tabs.css +149 -0
- package/src/daisy-ui/timeline.css +45 -0
- package/src/daisy-ui/toc.css +22 -0
- package/src/daisy-ui/toggle.css +48 -0
- package/src/daisy-ui/toolbar.css +85 -0
- package/src/daisy-ui/tree.css +127 -0
- package/src/daisy-ui/upload-progress.css +102 -0
- package/src/daisy-ui/upload-target.css +50 -0
- package/src/glass/button.css +21 -0
- package/src/glass/chart.css +38 -0
- package/src/glass/index.css +2 -0
- package/src/glass/input.css +2 -0
- package/src/glass/swatch.css +19 -0
- package/src/glass/tabs.css +2 -2
- package/src/grada-ui/button.css +63 -25
- package/src/grada-ui/card.css +14 -16
- package/src/grada-ui/chart.css +34 -0
- package/src/grada-ui/dropdown.css +5 -4
- package/src/grada-ui/floating-action.css +6 -5
- package/src/grada-ui/floating-navigation.css +10 -9
- package/src/grada-ui/index.css +1 -0
- package/src/grada-ui/input.css +9 -10
- package/src/grada-ui/list.css +10 -7
- package/src/grada-ui/menu.css +6 -6
- package/src/grada-ui/message.css +7 -7
- package/src/grada-ui/range.css +5 -4
- package/src/grada-ui/search-filter.css +4 -3
- package/src/grada-ui/select.css +17 -13
- package/src/grada-ui/status-list.css +9 -8
- package/src/grada-ui/switch.css +4 -4
- package/src/grada-ui/table.css +10 -12
- package/src/grada-ui/tabs.css +7 -9
- package/src/grada-ui/timeline.css +8 -6
- package/src/grada-ui/toc.css +2 -2
- package/src/grada-ui/toggle.css +2 -1
- package/src/grada-ui/toolbar.css +10 -8
- package/src/grada-ui/tree.css +11 -10
- package/src/material/button.css +21 -0
- package/src/material/card.css +2 -1
- package/src/material/chart.css +38 -0
- package/src/material/index.css +2 -0
- package/src/material/input.css +18 -13
- package/src/material/swatch.css +19 -0
- package/src/material/tabs.css +2 -2
- package/src/minimal/button.css +21 -0
- package/src/minimal/card.css +2 -1
- package/src/minimal/chart.css +38 -0
- package/src/minimal/index.css +2 -0
- package/src/minimal/input.css +2 -1
- package/src/minimal/swatch.css +19 -0
- package/src/minimal/switch.css +9 -5
- package/src/minimal/tabs.css +2 -2
- package/src/minimal/toggle.css +3 -3
- package/src/rokkit/button.css +36 -0
- package/src/rokkit/card.css +2 -1
- package/src/rokkit/chart.css +38 -0
- package/src/rokkit/index.css +2 -0
- package/src/rokkit/list.css +19 -1
- package/src/rokkit/swatch.css +18 -0
- package/src/rokkit/switch.css +2 -1
- package/src/shadcn/button.css +176 -0
- package/src/shadcn/card.css +99 -0
- package/src/shadcn/chart.css +34 -0
- package/src/shadcn/connector.css +11 -0
- package/src/shadcn/dropdown.css +50 -0
- package/src/shadcn/floating-action.css +63 -0
- package/src/shadcn/floating-navigation.css +70 -0
- package/src/shadcn/grid.css +46 -0
- package/src/shadcn/index.css +34 -0
- package/src/shadcn/input.css +141 -0
- package/src/shadcn/list.css +126 -0
- package/src/shadcn/menu.css +88 -0
- package/src/shadcn/message.css +35 -0
- package/src/shadcn/range.css +61 -0
- package/src/shadcn/search-filter.css +49 -0
- package/src/shadcn/select.css +158 -0
- package/src/shadcn/status-list.css +66 -0
- package/src/shadcn/switch.css +31 -0
- package/src/shadcn/table.css +89 -0
- package/src/shadcn/tabs.css +149 -0
- package/src/shadcn/timeline.css +45 -0
- package/src/shadcn/toc.css +20 -0
- package/src/shadcn/toggle.css +48 -0
- package/src/shadcn/toolbar.css +85 -0
- package/src/shadcn/tree.css +127 -0
- package/src/shadcn/upload-progress.css +102 -0
- package/src/shadcn/upload-target.css +50 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* TableOfContents — bits-ui theme */
|
|
2
|
+
|
|
3
|
+
[data-style='bits-ui'] [data-toc] [data-toc-label] {
|
|
4
|
+
@apply text-surface-z5;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[data-style='bits-ui'] [data-toc] [data-toc-item] {
|
|
8
|
+
@apply text-surface-z6 rounded-lg;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='bits-ui'] [data-toc] [data-toc-item]:hover,
|
|
12
|
+
[data-style='bits-ui'] [data-toc] [data-toc-item][data-toc-focused] {
|
|
13
|
+
@apply bg-surface-z2 text-surface-z9 outline-none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[data-style='bits-ui'] [data-toc] [data-toc-item][data-toc-active] {
|
|
17
|
+
@apply bg-primary-z2 text-primary-z7;
|
|
18
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toggle - bits-ui Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rounded pill container with softer styling.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Toggle Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='bits-ui'] [data-toggle] {
|
|
12
|
+
@apply bg-none border-surface-z3 rounded-lg border bg-surface-z1 shadow-sm;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
Toggle Options
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='bits-ui'] [data-toggle-option] {
|
|
20
|
+
@apply text-surface-z6 border-0 border-solid border-transparent rounded-lg;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='bits-ui'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
|
|
24
|
+
[data-style='bits-ui'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
|
|
25
|
+
@apply bg-surface-z2 text-surface-z8;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Selected state */
|
|
29
|
+
[data-style='bits-ui'] [data-toggle-option][data-selected='true'] {
|
|
30
|
+
@apply bg-surface-z3 text-surface-z9 shadow-sm;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Toggle Icon
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='bits-ui'] [data-toggle-option] [data-toggle-icon] {
|
|
38
|
+
@apply text-surface-z5;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-style='bits-ui'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
|
|
42
|
+
[data-style='bits-ui'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
|
|
43
|
+
@apply text-surface-z7;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[data-style='bits-ui'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
|
|
47
|
+
@apply text-surface-z8;
|
|
48
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolbar - bits-ui Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Softer styling with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Toolbar Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='bits-ui'] [data-toolbar] {
|
|
12
|
+
@apply bg-none bg-transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Position-based borders */
|
|
16
|
+
[data-style='bits-ui'] [data-toolbar][data-toolbar-position='top'],
|
|
17
|
+
[data-style='bits-ui'] [data-toolbar]:not([data-toolbar-position]) {
|
|
18
|
+
@apply border-surface-z3 border-b;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[data-style='bits-ui'] [data-toolbar][data-toolbar-position='bottom'] {
|
|
22
|
+
@apply border-surface-z3 border-t;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-style='bits-ui'] [data-toolbar][data-toolbar-position='left'] {
|
|
26
|
+
@apply border-surface-z3 border-r;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-style='bits-ui'] [data-toolbar][data-toolbar-position='right'] {
|
|
30
|
+
@apply border-surface-z3 border-l;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Toolbar Items
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='bits-ui'] [data-toolbar-item] {
|
|
38
|
+
@apply text-surface-z6 rounded-lg;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-style='bits-ui'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
|
|
42
|
+
@apply bg-none text-surface-z9;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[data-style='bits-ui']
|
|
46
|
+
[data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
|
|
47
|
+
@apply bg-none text-surface-z9 ring-primary-z3 ring-2 outline-none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Active/pressed state */
|
|
51
|
+
[data-style='bits-ui'] [data-toolbar-item][data-active='true'] {
|
|
52
|
+
@apply bg-none text-primary-z7;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-style='bits-ui'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
|
|
56
|
+
@apply bg-none text-primary-z8;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* =============================================================================
|
|
60
|
+
Toolbar Icon
|
|
61
|
+
============================================================================= */
|
|
62
|
+
|
|
63
|
+
[data-style='bits-ui'] [data-toolbar-item] [data-toolbar-icon] {
|
|
64
|
+
@apply text-surface-z5;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-style='bits-ui'] [data-toolbar-item]:hover:not(:disabled) [data-toolbar-icon] {
|
|
68
|
+
@apply text-surface-z8;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-style='bits-ui'] [data-toolbar-item][data-active='true'] [data-toolbar-icon] {
|
|
72
|
+
@apply text-primary-z6;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* =============================================================================
|
|
76
|
+
Separator & Divider
|
|
77
|
+
============================================================================= */
|
|
78
|
+
|
|
79
|
+
[data-style='bits-ui'] [data-toolbar-separator] {
|
|
80
|
+
@apply bg-none bg-surface-z3;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-style='bits-ui'] [data-toolbar-divider] {
|
|
84
|
+
@apply bg-none bg-surface-z3;
|
|
85
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tree - bits-ui Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Softer tree with rounded item backgrounds on hover/active.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Tree Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='bits-ui'] [data-tree]:focus-within {
|
|
12
|
+
@apply outline-none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
Tree Toggle Button
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='bits-ui'] [data-tree-toggle-btn] {
|
|
20
|
+
@apply text-surface-z4 rounded;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='bits-ui'] [data-tree-toggle-btn]:hover {
|
|
24
|
+
@apply bg-surface-z2 text-surface-z6;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* =============================================================================
|
|
28
|
+
Tree Item Content
|
|
29
|
+
============================================================================= */
|
|
30
|
+
|
|
31
|
+
[data-style='bits-ui'] [data-tree-item-content] {
|
|
32
|
+
@apply text-surface-z7 rounded-lg;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-style='bits-ui'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
|
+
[data-style='bits-ui'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
|
+
@apply bg-surface-z2 text-surface-z9 outline-none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Focus visible for keyboard navigation */
|
|
41
|
+
[data-style='bits-ui'] [data-tree-item-content]:focus-visible {
|
|
42
|
+
@apply ring-primary-z3 ring-2 outline-none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Active/selected state */
|
|
46
|
+
[data-style='bits-ui'] [data-tree-item-content][data-active='true'] {
|
|
47
|
+
@apply bg-primary-z2 text-primary-z7;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[data-style='bits-ui'] [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
51
|
+
@apply bg-primary-z3 text-primary-z8;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
|
|
55
|
+
[data-style='bits-ui'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] {
|
|
56
|
+
@apply bg-primary-z2;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[data-style='bits-ui'] [data-tree]:focus-within [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
60
|
+
@apply bg-primary-z3;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[data-style='bits-ui'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
|
|
64
|
+
@apply bg-surface-z2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* =============================================================================
|
|
68
|
+
Item Elements
|
|
69
|
+
============================================================================= */
|
|
70
|
+
|
|
71
|
+
[data-style='bits-ui'] [data-tree-item-content] [data-item-icon] {
|
|
72
|
+
@apply text-surface-z5;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-style='bits-ui'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
|
|
76
|
+
@apply text-surface-z6;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-icon] {
|
|
80
|
+
@apply text-primary-z5;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-style='bits-ui'] [data-tree-item-content] [data-item-description] {
|
|
84
|
+
@apply text-surface-z5;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-description] {
|
|
88
|
+
@apply text-primary-z6;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
[data-style='bits-ui'] [data-tree-item-content] [data-item-badge] {
|
|
92
|
+
@apply bg-none text-surface-z6 border-surface-z3 border bg-transparent rounded-lg;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
96
|
+
@apply text-primary-z7 border-primary-z3;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[data-style='bits-ui'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
100
|
+
@apply bg-none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
[data-style='bits-ui'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
104
|
+
@apply bg-none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* =============================================================================
|
|
108
|
+
Multi-Selection
|
|
109
|
+
============================================================================= */
|
|
110
|
+
|
|
111
|
+
[data-style='bits-ui'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
|
|
112
|
+
@apply bg-primary-z2 text-primary-z7;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
[data-style='bits-ui']
|
|
116
|
+
[data-tree]:focus-within
|
|
117
|
+
[data-tree-node][data-selected='true']
|
|
118
|
+
[data-tree-item-content] {
|
|
119
|
+
@apply bg-primary-z2 text-primary-z7;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-style='bits-ui']
|
|
123
|
+
[data-tree-node][data-selected='true']
|
|
124
|
+
[data-tree-item-content]
|
|
125
|
+
[data-item-icon] {
|
|
126
|
+
@apply text-primary-z5;
|
|
127
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UploadProgress - bits-ui Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Status colors, progress fill, action buttons.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Header
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='bits-ui'] [data-upload-header] {
|
|
12
|
+
@apply text-surface-z7;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='bits-ui'] [data-upload-clear] {
|
|
16
|
+
@apply border-surface-z3 text-surface-z6 rounded-lg shadow-sm;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='bits-ui'] [data-upload-clear]:hover {
|
|
20
|
+
@apply bg-surface-z3 text-surface-z9;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* =============================================================================
|
|
24
|
+
File Rows
|
|
25
|
+
============================================================================= */
|
|
26
|
+
|
|
27
|
+
[data-style='bits-ui'] [data-upload-file-status] {
|
|
28
|
+
@apply text-surface-z7 rounded-lg;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='bits-ui'] [data-upload-file-status]:hover {
|
|
32
|
+
@apply bg-surface-z2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* =============================================================================
|
|
36
|
+
File Elements
|
|
37
|
+
============================================================================= */
|
|
38
|
+
|
|
39
|
+
[data-style='bits-ui'] [data-upload-file-icon] {
|
|
40
|
+
@apply text-surface-z5;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-style='bits-ui'] [data-upload-file-size] {
|
|
44
|
+
@apply text-surface-z5;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* =============================================================================
|
|
48
|
+
Progress Bar
|
|
49
|
+
============================================================================= */
|
|
50
|
+
|
|
51
|
+
[data-style='bits-ui'] [data-upload-bar] {
|
|
52
|
+
@apply bg-surface-z3 rounded-lg;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-style='bits-ui'] [data-upload-fill] {
|
|
56
|
+
@apply from-primary-z5 to-secondary-z5 bg-gradient-to-r rounded-lg;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* =============================================================================
|
|
60
|
+
Status Colors
|
|
61
|
+
============================================================================= */
|
|
62
|
+
|
|
63
|
+
[data-style='bits-ui'] [data-upload-file-status][data-status='uploading'] [data-upload-status] {
|
|
64
|
+
@apply text-primary-z6;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-style='bits-ui'] [data-upload-file-status][data-status='done'] [data-upload-status] {
|
|
68
|
+
@apply text-green-500;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-style='bits-ui'] [data-upload-file-status][data-status='error'] [data-upload-status] {
|
|
72
|
+
@apply text-red-500;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-style='bits-ui'] [data-upload-file-status][data-status='pending'] [data-upload-status] {
|
|
76
|
+
@apply text-surface-z5;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Status-based file icon tinting */
|
|
80
|
+
[data-style='bits-ui'] [data-upload-file-status][data-status='done'] [data-upload-file-icon] {
|
|
81
|
+
@apply text-green-500;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[data-style='bits-ui'] [data-upload-file-status][data-status='error'] [data-upload-file-icon] {
|
|
85
|
+
@apply text-red-500;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* =============================================================================
|
|
89
|
+
Action Buttons
|
|
90
|
+
============================================================================= */
|
|
91
|
+
|
|
92
|
+
[data-style='bits-ui'] [data-upload-actions] button {
|
|
93
|
+
@apply text-surface-z5 rounded;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[data-style='bits-ui'] [data-upload-actions] button:hover {
|
|
97
|
+
@apply bg-surface-z3 text-surface-z9;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[data-style='bits-ui'] [data-upload-file-status][data-status='error'] [data-upload-retry]:hover {
|
|
101
|
+
@apply text-primary-z7;
|
|
102
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UploadTarget - bits-ui Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rounded drop zone with shadow and primary drag highlight.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Drop Zone
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='bits-ui'] [data-upload-target] {
|
|
12
|
+
@apply border-surface-z3 text-surface-z6 rounded-xl shadow-sm;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='bits-ui'] [data-upload-target]:hover:not([data-disabled]) {
|
|
16
|
+
@apply border-surface-z4 text-surface-z7 bg-surface-z2;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='bits-ui'] [data-upload-target]:focus-visible:not([data-disabled]) {
|
|
20
|
+
@apply border-primary-z4 ring-primary-z3 ring-2;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Drag-over highlight */
|
|
24
|
+
[data-style='bits-ui'] [data-upload-target][data-dragging] {
|
|
25
|
+
@apply border-primary-z4 bg-primary-z2 text-primary-z7;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* =============================================================================
|
|
29
|
+
Upload Icon
|
|
30
|
+
============================================================================= */
|
|
31
|
+
|
|
32
|
+
[data-style='bits-ui'] [data-upload-target] [data-upload-icon] {
|
|
33
|
+
@apply text-surface-z5;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-style='bits-ui'] [data-upload-target][data-dragging] [data-upload-icon] {
|
|
37
|
+
@apply text-primary-z6;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* =============================================================================
|
|
41
|
+
Browse Button
|
|
42
|
+
============================================================================= */
|
|
43
|
+
|
|
44
|
+
[data-style='bits-ui'] [data-upload-target] [data-upload-button] {
|
|
45
|
+
@apply border-surface-z3 text-surface-z7 rounded-lg shadow-sm;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-style='bits-ui'] [data-upload-target] [data-upload-button]:hover:not(:disabled) {
|
|
49
|
+
@apply bg-surface-z3 text-surface-z9;
|
|
50
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Button - Carbon Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Completely square, flat fills, no border-radius. IBM Carbon inspired.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Default Style (filled)
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='carbon'] [data-button][data-style='default'][data-variant='default'],
|
|
12
|
+
[data-style='carbon'] [data-button]:not([data-style])[data-variant='default'],
|
|
13
|
+
[data-style='carbon'] [data-button][data-style='default']:not([data-variant]),
|
|
14
|
+
[data-style='carbon'] [data-button]:not([data-style]):not([data-variant]) {
|
|
15
|
+
@apply bg-none bg-surface-z3 text-surface-z8 rounded-none border-0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-style='carbon'] [data-button][data-style='default'][data-variant='primary'],
|
|
19
|
+
[data-style='carbon'] [data-button]:not([data-style])[data-variant='primary'] {
|
|
20
|
+
@apply bg-none bg-primary-z5 text-on-primary rounded-none border-0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='carbon'] [data-button][data-style='default'][data-variant='secondary'],
|
|
24
|
+
[data-style='carbon'] [data-button]:not([data-style])[data-variant='secondary'] {
|
|
25
|
+
@apply bg-none bg-secondary-z5 text-on-secondary rounded-none border-0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-style='carbon'] [data-button][data-style='default'][data-variant='accent'],
|
|
29
|
+
[data-style='carbon'] [data-button]:not([data-style])[data-variant='accent'] {
|
|
30
|
+
@apply bg-none bg-accent-z5 text-on-accent rounded-none border-0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-style='carbon'] [data-button][data-style='default'][data-variant='danger'],
|
|
34
|
+
[data-style='carbon'] [data-button]:not([data-style])[data-variant='danger'] {
|
|
35
|
+
@apply bg-none bg-danger-z5 text-on-danger rounded-none border-0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* =============================================================================
|
|
39
|
+
Outline Style
|
|
40
|
+
============================================================================= */
|
|
41
|
+
|
|
42
|
+
[data-style='carbon'] [data-button][data-style='outline'][data-variant='default'],
|
|
43
|
+
[data-style='carbon'] [data-button][data-style='outline']:not([data-variant]) {
|
|
44
|
+
@apply border-surface-z5 text-surface-z7 rounded-none border bg-transparent;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-style='carbon'] [data-button][data-style='outline'][data-variant='primary'] {
|
|
48
|
+
@apply border-primary-z5 text-primary-z6 rounded-none border bg-transparent;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[data-style='carbon'] [data-button][data-style='outline'][data-variant='secondary'] {
|
|
52
|
+
@apply border-secondary-z5 text-secondary-z6 rounded-none border bg-transparent;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-style='carbon'] [data-button][data-style='outline'][data-variant='accent'] {
|
|
56
|
+
@apply border-accent-z5 text-accent-z6 rounded-none border bg-transparent;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[data-style='carbon'] [data-button][data-style='outline'][data-variant='danger'] {
|
|
60
|
+
@apply border-danger-z5 text-danger-z5 rounded-none border bg-transparent;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* =============================================================================
|
|
64
|
+
Ghost Style
|
|
65
|
+
============================================================================= */
|
|
66
|
+
|
|
67
|
+
[data-style='carbon'] [data-button][data-style='ghost'] {
|
|
68
|
+
@apply border-transparent bg-transparent rounded-none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-style='carbon'] [data-button][data-style='ghost'][data-variant='default'],
|
|
72
|
+
[data-style='carbon'] [data-button][data-style='ghost']:not([data-variant]) {
|
|
73
|
+
@apply text-surface-z7;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
[data-style='carbon'] [data-button][data-style='ghost'][data-variant='primary'] {
|
|
77
|
+
@apply text-primary-z6;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[data-style='carbon'] [data-button][data-style='ghost'][data-variant='secondary'] {
|
|
81
|
+
@apply text-secondary-z6;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[data-style='carbon'] [data-button][data-style='ghost'][data-variant='accent'] {
|
|
85
|
+
@apply text-accent-z6;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[data-style='carbon'] [data-button][data-style='ghost'][data-variant='danger'] {
|
|
89
|
+
@apply text-danger-z5;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* =============================================================================
|
|
93
|
+
Gradient Style (flat fill — Carbon avoids gradients)
|
|
94
|
+
============================================================================= */
|
|
95
|
+
|
|
96
|
+
[data-style='carbon'] [data-button][data-style='gradient'][data-variant='default'],
|
|
97
|
+
[data-style='carbon'] [data-button][data-style='gradient']:not([data-variant]) {
|
|
98
|
+
@apply bg-none bg-surface-z4 text-surface-z9 rounded-none border-0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
[data-style='carbon'] [data-button][data-style='gradient'][data-variant='primary'] {
|
|
102
|
+
@apply bg-none bg-primary-z5 text-on-primary rounded-none border-0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
[data-style='carbon'] [data-button][data-style='gradient'][data-variant='secondary'] {
|
|
106
|
+
@apply bg-none bg-secondary-z5 text-on-secondary rounded-none border-0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
[data-style='carbon'] [data-button][data-style='gradient'][data-variant='accent'] {
|
|
110
|
+
@apply bg-none bg-accent-z5 text-on-accent rounded-none border-0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
[data-style='carbon'] [data-button][data-style='gradient'][data-variant='danger'] {
|
|
114
|
+
@apply bg-none bg-danger-z5 text-on-danger rounded-none border-0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* =============================================================================
|
|
118
|
+
Link Style
|
|
119
|
+
============================================================================= */
|
|
120
|
+
|
|
121
|
+
[data-style='carbon'] [data-button][data-style='link'][data-variant='default'],
|
|
122
|
+
[data-style='carbon'] [data-button][data-style='link']:not([data-variant]) {
|
|
123
|
+
@apply text-surface-z7;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
[data-style='carbon'] [data-button][data-style='link'][data-variant='primary'] {
|
|
127
|
+
@apply text-primary-z6;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
[data-style='carbon'] [data-button][data-style='link'][data-variant='secondary'] {
|
|
131
|
+
@apply text-secondary-z6;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
[data-style='carbon'] [data-button][data-style='link'][data-variant='accent'] {
|
|
135
|
+
@apply text-accent-z6;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
[data-style='carbon'] [data-button][data-style='link'][data-variant='danger'] {
|
|
139
|
+
@apply text-danger-z5;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[data-style='carbon'] [data-button][data-style='link']:hover:not(:disabled):not([data-disabled]) {
|
|
143
|
+
@apply text-surface-z9;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* =============================================================================
|
|
147
|
+
Hover States
|
|
148
|
+
============================================================================= */
|
|
149
|
+
|
|
150
|
+
[data-style='carbon']
|
|
151
|
+
[data-button][data-style='default']:hover:not(:disabled):not([data-disabled]),
|
|
152
|
+
[data-style='carbon'] [data-button]:not([data-style]):hover:not(:disabled):not([data-disabled]) {
|
|
153
|
+
@apply bg-none bg-surface-z4;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
[data-style='carbon']
|
|
157
|
+
[data-button][data-style='default'][data-variant='primary']:hover:not(:disabled):not([data-disabled]),
|
|
158
|
+
[data-style='carbon']
|
|
159
|
+
[data-button]:not([data-style])[data-variant='primary']:hover:not(:disabled):not([data-disabled]) {
|
|
160
|
+
@apply bg-none bg-primary-z6;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
[data-style='carbon']
|
|
164
|
+
[data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]) {
|
|
165
|
+
@apply bg-none bg-surface-z2;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
[data-style='carbon'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]) {
|
|
169
|
+
@apply bg-surface-z2;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
[data-style='carbon']
|
|
173
|
+
[data-button][data-style='gradient']:hover:not(:disabled):not([data-disabled]) {
|
|
174
|
+
@apply bg-none bg-surface-z5;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* =============================================================================
|
|
178
|
+
Focus — Carbon style: thick outline, no ring, no offset
|
|
179
|
+
============================================================================= */
|
|
180
|
+
|
|
181
|
+
[data-style='carbon'] [data-button]:focus-visible {
|
|
182
|
+
@apply outline-none border-2 border-primary-z5;
|
|
183
|
+
}
|