@rokkit/themes 1.0.0-next.125 → 1.0.0-next.128
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 +118 -9
- package/build.mjs +237 -0
- package/package.json +43 -28
- package/src/base/breadcrumbs.css +46 -0
- package/src/base/button.css +247 -0
- package/src/base/card.css +36 -0
- package/src/base/carousel.css +122 -12
- package/src/base/connector.css +92 -0
- package/src/base/display.css +91 -0
- package/src/base/floating-action.css +388 -0
- package/src/base/floating-navigation.css +381 -0
- package/src/base/grid.css +93 -0
- package/src/base/index.css +39 -0
- package/src/base/input.css +198 -39
- package/src/base/item.css +78 -0
- package/src/base/list.css +179 -0
- package/src/base/menu.css +274 -0
- package/src/base/pill.css +57 -0
- package/src/base/progress.css +28 -15
- package/src/base/range.css +121 -0
- package/src/base/rating.css +40 -0
- package/src/base/reveal.css +37 -0
- package/src/base/search-filter.css +132 -0
- package/src/base/select.css +411 -0
- package/src/base/shine.css +14 -0
- package/src/base/stepper.css +140 -0
- package/src/base/switch.css +152 -0
- package/src/base/table.css +143 -33
- package/src/base/tabs.css +171 -0
- package/src/base/tilt.css +14 -0
- package/src/base/timeline.css +84 -0
- package/src/base/toggle.css +138 -0
- package/src/base/toolbar.css +337 -0
- package/src/base/tree.css +195 -11
- package/src/base/upload-progress.css +155 -0
- package/src/base/upload-target.css +67 -0
- package/src/glass/button.css +152 -0
- package/src/glass/floating-action.css +61 -0
- package/src/glass/floating-navigation.css +74 -0
- package/src/glass/index.css +23 -0
- package/src/glass/input.css +124 -0
- package/src/glass/list.css +122 -0
- package/src/glass/menu.css +92 -0
- package/src/glass/range.css +61 -0
- package/src/glass/search-filter.css +49 -0
- package/src/glass/select.css +178 -0
- package/src/glass/switch.css +28 -0
- package/src/glass/table.css +87 -0
- package/src/glass/tabs.css +58 -0
- package/src/glass/timeline.css +46 -0
- package/src/glass/toggle.css +48 -0
- package/src/glass/toolbar.css +84 -0
- package/src/glass/tree.css +104 -0
- package/src/index.css +18 -0
- package/src/index.js +25 -2
- package/src/material/button.css +153 -0
- package/src/material/floating-action.css +60 -0
- package/src/material/floating-navigation.css +74 -0
- package/src/material/index.css +23 -0
- package/src/material/input.css +118 -40
- package/src/material/list.css +90 -64
- package/src/material/menu.css +92 -0
- package/src/material/range.css +62 -0
- package/src/material/search-filter.css +49 -0
- package/src/material/select.css +170 -0
- package/src/material/switch.css +28 -0
- package/src/material/table.css +87 -0
- package/src/material/tabs.css +62 -0
- package/src/material/timeline.css +46 -0
- package/src/material/toggle.css +48 -0
- package/src/material/toolbar.css +84 -0
- package/src/material/tree.css +100 -0
- package/src/minimal/button.css +152 -0
- package/src/minimal/floating-action.css +59 -0
- package/src/minimal/floating-navigation.css +70 -0
- package/src/minimal/index.css +23 -0
- package/src/minimal/input.css +81 -120
- package/src/minimal/list.css +90 -104
- package/src/minimal/menu.css +88 -0
- package/src/minimal/range.css +61 -0
- package/src/minimal/search-filter.css +49 -0
- package/src/minimal/select.css +168 -0
- package/src/minimal/switch.css +28 -0
- package/src/minimal/table.css +87 -0
- package/src/minimal/tabs.css +53 -31
- package/src/minimal/timeline.css +45 -0
- package/src/minimal/toggle.css +48 -0
- package/src/minimal/toolbar.css +84 -0
- package/src/minimal/tree.css +100 -0
- package/src/rokkit/button.css +225 -0
- package/src/rokkit/connector.css +11 -0
- package/src/rokkit/floating-action.css +65 -0
- package/src/rokkit/floating-navigation.css +83 -0
- package/src/rokkit/grid.css +46 -0
- package/src/rokkit/index.css +27 -0
- package/src/rokkit/input.css +130 -0
- package/src/rokkit/list.css +127 -0
- package/src/rokkit/menu.css +93 -0
- package/src/rokkit/range.css +62 -0
- package/src/rokkit/search-filter.css +49 -0
- package/src/rokkit/select.css +185 -0
- package/src/rokkit/switch.css +28 -0
- package/src/rokkit/table.css +68 -38
- package/src/rokkit/tabs.css +82 -0
- package/src/rokkit/timeline.css +46 -0
- package/src/rokkit/toggle.css +36 -52
- package/src/rokkit/toolbar.css +84 -0
- package/src/rokkit/tree.css +123 -0
- package/src/rokkit/upload-progress.css +102 -0
- package/src/rokkit/upload-target.css +50 -0
- package/src/base/alert.css +0 -30
- package/src/base/animation.css +0 -37
- package/src/base/atoms.css +0 -58
- package/src/base/core.css +0 -107
- package/src/base/layout.css +0 -65
- package/src/base/molecules.css +0 -109
- package/src/base/organisms.css +0 -66
- package/src/base/scrollbar.css +0 -16
- package/src/base/toggles.css +0 -17
- package/src/base.css +0 -13
- package/src/markdown.css +0 -955
- package/src/material/base.css +0 -12
- package/src/material/form.css +0 -30
- package/src/material.css +0 -9
- package/src/minimal/base.css +0 -8
- package/src/minimal/form.css +0 -87
- package/src/minimal.css +0 -11
- package/src/mixins/mixins.scss +0 -66
- package/src/mixins/palette.scss +0 -48
- package/src/prism.css +0 -102
- package/src/rokkit/alert.css +0 -4
- package/src/rokkit/atoms.css +0 -52
- package/src/rokkit/carousel.css +0 -19
- package/src/rokkit/layout.css +0 -17
- package/src/rokkit/molecules.css +0 -124
- package/src/rokkit/organisms.css +0 -307
- package/src/rokkit.css +0 -11
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connector - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Visual theming for tree line connectors.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='rokkit'] [data-connector] [data-connector-v],
|
|
8
|
+
[data-style='rokkit'] [data-connector] [data-connector-h],
|
|
9
|
+
[data-style='rokkit'] [data-connector] [data-connector-corner] {
|
|
10
|
+
@apply border-surface-z3;
|
|
11
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FloatingAction - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
FAB Trigger Button
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-fab-trigger] {
|
|
12
|
+
@apply from-primary-z5 to-secondary-z5 ring-primary-600 bg-gradient-to-b text-white shadow-lg ring-1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='rokkit'] [data-fab-trigger]:hover:not(:disabled) {
|
|
16
|
+
@apply from-primary-400 to-primary-500 ring-primary-500 bg-gradient-to-b shadow-xl ring-1;
|
|
17
|
+
transform: scale(1.05);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[data-style='rokkit'] [data-fab-trigger]:focus-visible {
|
|
21
|
+
@apply ring-primary-400 shadow-lg ring-3 outline-none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-style='rokkit'] [data-fab][data-open='true'] [data-fab-trigger] {
|
|
25
|
+
@apply from-surface-z4 to-surface-z3 text-surface-z10 ring-surface-z5 bg-gradient-to-b shadow-lg ring-1;
|
|
26
|
+
transform: rotate(45deg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-style='rokkit'] [data-fab][data-open='true'] [data-fab-trigger]:hover:not(:disabled) {
|
|
30
|
+
@apply from-surface-z5 to-surface-z4 bg-gradient-to-b;
|
|
31
|
+
transform: rotate(45deg) scale(1.05);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* =============================================================================
|
|
35
|
+
FAB Items
|
|
36
|
+
============================================================================= */
|
|
37
|
+
|
|
38
|
+
[data-style='rokkit'] [data-fab-item] {
|
|
39
|
+
@apply from-surface-z1 to-surface-z0 text-surface-z8 ring-surface-z2 bg-gradient-to-b shadow-md ring-1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[data-style='rokkit'] [data-fab-item]:hover:not(:disabled) {
|
|
43
|
+
@apply from-surface-z2 to-surface-z1 text-surface-z10 ring-surface-z3 bg-gradient-to-b shadow-lg ring-1;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[data-style='rokkit'] [data-fab-item]:focus-visible {
|
|
47
|
+
@apply ring-primary-400 shadow-md ring-2 outline-none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Item icon */
|
|
51
|
+
[data-style='rokkit'] [data-fab-item] [data-fab-item-icon] {
|
|
52
|
+
@apply text-primary-z6;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-style='rokkit'] [data-fab-item]:hover:not(:disabled) [data-fab-item-icon] {
|
|
56
|
+
@apply text-primary-z7;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* =============================================================================
|
|
60
|
+
Backdrop
|
|
61
|
+
============================================================================= */
|
|
62
|
+
|
|
63
|
+
[data-style='rokkit'] [data-fab-backdrop] {
|
|
64
|
+
background: rgba(0, 0, 0, 0.4);
|
|
65
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FloatingNavigation - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-floating-nav] {
|
|
12
|
+
@apply from-surface-z1 to-surface-z0 ring-surface-z3 bg-gradient-to-b shadow-xl ring-1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
Header
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-floating-nav-title] {
|
|
20
|
+
@apply text-surface-z6;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='rokkit'] [data-floating-nav-pin] {
|
|
24
|
+
@apply text-surface-z6;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='rokkit'] [data-floating-nav-pin]:hover {
|
|
28
|
+
@apply text-primary-z6;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='rokkit'] [data-floating-nav-pin][aria-pressed='true'] {
|
|
32
|
+
@apply text-primary-z7;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* =============================================================================
|
|
36
|
+
Items
|
|
37
|
+
============================================================================= */
|
|
38
|
+
|
|
39
|
+
[data-style='rokkit'] [data-floating-nav-item] {
|
|
40
|
+
@apply text-surface-z7;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-style='rokkit'] [data-floating-nav-item]:hover {
|
|
44
|
+
@apply from-surface-z2 to-surface-z1 bg-gradient-to-b text-surface-z10;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-style='rokkit'] [data-floating-nav-item][data-active] {
|
|
48
|
+
@apply from-primary-z5/10 to-primary-z5/5 bg-gradient-to-b text-primary-z7;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[data-style='rokkit'] [data-floating-nav-item]:focus-visible {
|
|
52
|
+
@apply ring-primary-400 ring-2 outline-none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Icon */
|
|
56
|
+
[data-style='rokkit'] [data-floating-nav-icon] {
|
|
57
|
+
@apply text-surface-z6;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[data-style='rokkit'] [data-floating-nav-item]:hover [data-floating-nav-icon] {
|
|
61
|
+
@apply text-primary-z6;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[data-style='rokkit'] [data-floating-nav-item][data-active] [data-floating-nav-icon] {
|
|
65
|
+
@apply text-primary-z7;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Label */
|
|
69
|
+
[data-style='rokkit'] [data-floating-nav-label] {
|
|
70
|
+
@apply text-surface-z7;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[data-style='rokkit'] [data-floating-nav-item][data-active] [data-floating-nav-label] {
|
|
74
|
+
@apply text-primary-z7 font-medium;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* =============================================================================
|
|
78
|
+
Active Indicator
|
|
79
|
+
============================================================================= */
|
|
80
|
+
|
|
81
|
+
[data-style='rokkit'] [data-floating-nav-indicator] {
|
|
82
|
+
@apply from-primary-z5 to-primary-z6 bg-gradient-to-b shadow-sm;
|
|
83
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Grid - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Tile borders, hover/focus effects, selection highlight.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Grid Tiles
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-grid] [data-grid-item] {
|
|
12
|
+
@apply border-surface-z3 text-surface-z7;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='rokkit'] [data-grid] [data-grid-item]:hover:not(:disabled):not([data-disabled]) {
|
|
16
|
+
@apply border-surface-z5 bg-surface-z2 text-surface-z9;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-grid] [data-grid-item]:focus:not(:disabled):not([data-disabled]) {
|
|
20
|
+
@apply border-primary-z5 bg-surface-z2 text-surface-z9 outline-none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Active / selected tile */
|
|
24
|
+
[data-style='rokkit'] [data-grid] [data-grid-item][data-active] {
|
|
25
|
+
@apply border-primary-z5 bg-primary-z2 text-primary-z9;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-style='rokkit'] [data-grid] [data-grid-item][data-active]:hover:not(:disabled) {
|
|
29
|
+
@apply bg-primary-z3;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* =============================================================================
|
|
33
|
+
Item Elements
|
|
34
|
+
============================================================================= */
|
|
35
|
+
|
|
36
|
+
[data-style='rokkit'] [data-grid] [data-grid-item] [data-item-icon] {
|
|
37
|
+
@apply text-surface-z5;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[data-style='rokkit'] [data-grid] [data-grid-item]:hover:not(:disabled) [data-item-icon] {
|
|
41
|
+
@apply text-surface-z7;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-style='rokkit'] [data-grid] [data-grid-item][data-active] [data-item-icon] {
|
|
45
|
+
@apply text-primary-z6;
|
|
46
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @rokkit/themes - Rokkit Theme
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients, glowing borders, and vibrant accents.
|
|
5
|
+
* Default theme — no wrapper needed.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@import './button.css';
|
|
9
|
+
@import './toolbar.css';
|
|
10
|
+
@import './tabs.css';
|
|
11
|
+
@import './toggle.css';
|
|
12
|
+
@import './switch.css';
|
|
13
|
+
@import './list.css';
|
|
14
|
+
@import './tree.css';
|
|
15
|
+
@import './connector.css';
|
|
16
|
+
@import './select.css';
|
|
17
|
+
@import './menu.css';
|
|
18
|
+
@import './floating-action.css';
|
|
19
|
+
@import './input.css';
|
|
20
|
+
@import './table.css';
|
|
21
|
+
@import './search-filter.css';
|
|
22
|
+
@import './range.css';
|
|
23
|
+
@import './timeline.css';
|
|
24
|
+
@import './floating-navigation.css';
|
|
25
|
+
@import './grid.css';
|
|
26
|
+
@import './upload-target.css';
|
|
27
|
+
@import './upload-progress.css';
|
package/src/rokkit/input.css
CHANGED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/* Rokkit Theme - Form field and input styles */
|
|
2
|
+
|
|
3
|
+
/* Field root: text color, spacing, rounded */
|
|
4
|
+
[data-style='rokkit'] [data-field-root] {
|
|
5
|
+
@apply text-surface-z9 gap-1 rounded-md transition-all;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Disabled state */
|
|
9
|
+
[data-style='rokkit'] [data-field-root][data-field-disabled] [data-input-root] {
|
|
10
|
+
@apply bg-surface-z3 text-surface-z6 cursor-not-allowed;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Labels */
|
|
14
|
+
[data-style='rokkit'] [data-field] > label {
|
|
15
|
+
@apply text-surface-z7;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-style='rokkit'] [data-form-root] label {
|
|
19
|
+
@apply text-surface-z7;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Info field value */
|
|
23
|
+
[data-style='rokkit'] [data-field-info] {
|
|
24
|
+
@apply text-primary-z6 font-medium;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Separator */
|
|
28
|
+
[data-style='rokkit'] [data-form-separator] {
|
|
29
|
+
@apply border-surface-z2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Input root: gradient border wrapper */
|
|
33
|
+
[data-style='rokkit'] [data-input-root] {
|
|
34
|
+
@apply bg-surface-z4 flex items-center rounded-md p-px transition-all;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[data-style='rokkit'] [data-input-root]:focus-within {
|
|
38
|
+
@apply from-primary-500 to-secondary-500 border-transparent bg-gradient-to-r;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Standard inputs inside wrapper */
|
|
42
|
+
[data-style='rokkit'] [data-input-root] input:not([type='checkbox'], [type='radio'], [type='color']),
|
|
43
|
+
[data-style='rokkit'] [data-input-root] select {
|
|
44
|
+
@apply bg-surface-z2 text-surface-z8 rounded-md border-none px-3 focus:outline-none;
|
|
45
|
+
font-size: 0.875rem;
|
|
46
|
+
height: 2.25rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-style='rokkit'] [data-input-root] textarea {
|
|
50
|
+
@apply bg-surface-z2 text-surface-z8 rounded-md border-none px-3 py-2 focus:outline-none;
|
|
51
|
+
font-size: 0.875rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Select inside input-root: remove trigger styles since input-root provides the border */
|
|
55
|
+
[data-style='rokkit'] [data-input-root] [data-select-trigger] {
|
|
56
|
+
@apply border-none bg-surface-z2 text-surface-z8 rounded-md shadow-none ring-0 focus:outline-none;
|
|
57
|
+
background-image: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Suppress standalone select open-state ring/border when inside input-root */
|
|
61
|
+
[data-style='rokkit'] [data-input-root] [data-select][data-open='true'] [data-select-trigger] {
|
|
62
|
+
@apply border-none ring-0 shadow-none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[data-style='rokkit'] [data-input-root] input::placeholder,
|
|
66
|
+
[data-style='rokkit'] [data-input-root] textarea::placeholder {
|
|
67
|
+
@apply text-surface-z5;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Checkbox field */
|
|
71
|
+
[data-style='rokkit'] [data-field-type='checkbox'] [data-field] {
|
|
72
|
+
@apply flex items-center leading-loose;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Checkbox icon: theme-colored */
|
|
76
|
+
[data-style='rokkit'] [data-checkbox-icon] {
|
|
77
|
+
@apply text-surface-z5 cursor-pointer transition-colors text-lg rounded;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[data-style='rokkit'] [data-checkbox-icon]:focus-visible {
|
|
81
|
+
@apply outline-2 outline-primary-z4 outline-offset-2;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[data-style='rokkit'] [data-checkbox-root][data-variant='custom']:has(input:checked) [data-checkbox-icon] {
|
|
85
|
+
@apply text-primary-z6;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[data-style='rokkit'] [data-field] textarea {
|
|
89
|
+
@apply resize-vertical min-h-20 py-2;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Color input */
|
|
93
|
+
[data-style='rokkit'] [data-field-type='color'] [data-input-root] {
|
|
94
|
+
@apply overflow-hidden;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[data-style='rokkit'] [data-field-type='color'] input[type='color'] {
|
|
98
|
+
@apply bg-surface-z2 flex min-h-11 flex-1 rounded-md focus:outline-none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Description and message */
|
|
102
|
+
[data-style='rokkit'] [data-description],
|
|
103
|
+
[data-style='rokkit'] [data-message] {
|
|
104
|
+
@apply text-surface-z6;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[data-style='rokkit'] [data-message] {
|
|
108
|
+
@apply rounded-md px-2 py-1;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Validation state messages */
|
|
112
|
+
[data-style='rokkit'] [data-field-state='success'] [data-message] {
|
|
113
|
+
@apply bg-success text-success opacity-10;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[data-style='rokkit'] [data-field-state='warning'] [data-message] {
|
|
117
|
+
@apply bg-warning text-warning opacity-10;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[data-style='rokkit'] [data-field-state='info'] [data-message] {
|
|
121
|
+
@apply bg-info text-info opacity-10;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[data-style='rokkit'] [data-field-state='error'] [data-message] {
|
|
125
|
+
@apply bg-error text-error opacity-10;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
[data-style='rokkit'] [data-field-root][data-field-state='fail'] [data-input-root] {
|
|
129
|
+
@apply bg-error text-error opacity-10;
|
|
130
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
List Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-list]:focus-within {
|
|
12
|
+
@apply rounded ring-0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
List Items
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-list] [data-list-item] {
|
|
20
|
+
@apply text-surface-z8 rounded-none border-0 border-solid border-transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='rokkit'] [data-list] a[data-list-item],
|
|
24
|
+
[data-style='rokkit'] [data-list] button[data-list-item] {
|
|
25
|
+
@apply text-surface-z7 rounded-none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Hover and focus (keyboard navigation) */
|
|
29
|
+
[data-style='rokkit'] [data-list] [data-list-item]:hover:not(:disabled):not([data-disabled='true']),
|
|
30
|
+
[data-style='rokkit'] [data-list] [data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
31
|
+
@apply from-surface-z3 to-surface-z2 text-surface-z10 bg-gradient-to-r outline-none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Active state — muted when list not focused */
|
|
35
|
+
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] {
|
|
36
|
+
@apply bg-surface-z2 text-primary-z9 border-l-primary-z5 border-l-2;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Active state — full gradient when list has focus */
|
|
40
|
+
[data-style='rokkit'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
41
|
+
@apply from-primary-z5 to-secondary-z5 text-primary-z9 border-l-primary-z5 border-l-2 bg-gradient-to-r;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Active + hover — intensified gradient on hover */
|
|
45
|
+
[data-style='rokkit'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled) {
|
|
46
|
+
@apply from-primary-z4 to-primary-z3 bg-gradient-to-r;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* =============================================================================
|
|
50
|
+
Item Elements
|
|
51
|
+
============================================================================= */
|
|
52
|
+
|
|
53
|
+
[data-style='rokkit'] [data-list] [data-list-item] [data-item-icon] {
|
|
54
|
+
@apply text-surface-z5;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[data-style='rokkit'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
|
|
58
|
+
[data-style='rokkit'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
|
|
59
|
+
@apply text-surface-z7;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
|
|
63
|
+
@apply text-primary-z6;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[data-style='rokkit'] [data-list]:focus-within [data-list-item][data-active='true'] [data-item-icon] {
|
|
67
|
+
@apply text-primary-z9;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Item description */
|
|
71
|
+
[data-style='rokkit'] [data-list] [data-list-item] [data-item-description] {
|
|
72
|
+
@apply text-surface-z5;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
|
|
76
|
+
@apply text-primary-z7;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Item badge */
|
|
80
|
+
[data-style='rokkit'] [data-list] [data-list-item] [data-item-badge] {
|
|
81
|
+
@apply text-surface-z6 from-surface-z3 to-surface-z2 border-surface-z4 border bg-gradient-to-b;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
85
|
+
@apply text-primary-z8 from-primary-z3 to-primary-z2 border-primary-z4 border bg-gradient-to-b;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* =============================================================================
|
|
89
|
+
Groups
|
|
90
|
+
============================================================================= */
|
|
91
|
+
|
|
92
|
+
[data-style='rokkit'] [data-list] [data-list-group] {
|
|
93
|
+
@apply text-surface-z6;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[data-style='rokkit'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
97
|
+
[data-style='rokkit'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
98
|
+
@apply from-surface-z4 to-surface-z3 text-surface-z8 bg-gradient-to-r;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* =============================================================================
|
|
102
|
+
Separator
|
|
103
|
+
============================================================================= */
|
|
104
|
+
|
|
105
|
+
[data-style='rokkit'] [data-list] [data-list-separator] {
|
|
106
|
+
@apply via-surface-z4 bg-gradient-to-r from-transparent to-transparent;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* =============================================================================
|
|
110
|
+
Multi-Selection
|
|
111
|
+
============================================================================= */
|
|
112
|
+
|
|
113
|
+
[data-style='rokkit'] [data-list] [data-list-item][data-selected='true'] {
|
|
114
|
+
@apply bg-primary-z3 text-primary-z9;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
[data-style='rokkit'] [data-list]:focus-within [data-list-item][data-selected='true'] {
|
|
118
|
+
@apply bg-primary-z4 text-primary-z9;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[data-style='rokkit'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
|
|
122
|
+
@apply bg-primary-z5;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
[data-style='rokkit'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
|
|
126
|
+
@apply text-primary-z6;
|
|
127
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Menu - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Menu Trigger
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-menu-trigger] {
|
|
12
|
+
@apply from-surface-z3 to-surface-z2 border-surface-z4 text-surface-z8 border bg-gradient-to-b;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='rokkit'] [data-menu-trigger]:hover:not(:disabled) {
|
|
16
|
+
@apply from-surface-z4 to-surface-z3 text-surface-z10 border-surface-z5 bg-gradient-to-b;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-menu-trigger]:focus-visible {
|
|
20
|
+
@apply outline-none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='rokkit'] [data-menu][data-open='true'] [data-menu-trigger] {
|
|
24
|
+
@apply from-primary-z5 to-secondary-z5 border-primary-z5 bg-gradient-to-b;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Trigger elements */
|
|
28
|
+
[data-style='rokkit'] [data-menu-trigger] [data-menu-icon] {
|
|
29
|
+
@apply text-surface-z5;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-style='rokkit'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
|
|
33
|
+
@apply text-surface-z7;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-style='rokkit'] [data-menu-trigger] [data-menu-arrow] {
|
|
37
|
+
@apply text-surface-z5;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* =============================================================================
|
|
41
|
+
Menu Dropdown
|
|
42
|
+
============================================================================= */
|
|
43
|
+
|
|
44
|
+
[data-style='rokkit'] [data-menu-dropdown] {
|
|
45
|
+
@apply from-surface-z2 to-surface-z1 border-surface-z4 border bg-gradient-to-b shadow-md;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-style='rokkit'] [data-menu-dropdown]:focus-within {
|
|
49
|
+
@apply outline-none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* =============================================================================
|
|
53
|
+
Menu Items
|
|
54
|
+
============================================================================= */
|
|
55
|
+
|
|
56
|
+
[data-style='rokkit'] [data-menu-item] {
|
|
57
|
+
@apply text-surface-z8 rounded-none border-0 border-solid border-transparent;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[data-style='rokkit'] [data-menu-item]:hover:not(:disabled):not([data-disabled='true']),
|
|
61
|
+
[data-style='rokkit'] [data-menu-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
62
|
+
@apply from-surface-z3 to-surface-z2 text-surface-z10 bg-gradient-to-r outline-none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Item elements */
|
|
66
|
+
[data-style='rokkit'] [data-menu-item] [data-item-icon] {
|
|
67
|
+
@apply text-surface-z5;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[data-style='rokkit'] [data-menu-item]:hover:not(:disabled) [data-item-icon],
|
|
71
|
+
[data-style='rokkit'] [data-menu-item]:focus:not(:disabled) [data-item-icon] {
|
|
72
|
+
@apply text-primary-z6;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-style='rokkit'] [data-menu-item] [data-item-description] {
|
|
76
|
+
@apply text-surface-z5;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* =============================================================================
|
|
80
|
+
Groups
|
|
81
|
+
============================================================================= */
|
|
82
|
+
|
|
83
|
+
[data-style='rokkit'] [data-menu-group] {
|
|
84
|
+
@apply text-surface-z5;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* =============================================================================
|
|
88
|
+
Divider
|
|
89
|
+
============================================================================= */
|
|
90
|
+
|
|
91
|
+
[data-style='rokkit'] [data-menu-separator] {
|
|
92
|
+
@apply via-surface-z4 bg-gradient-to-r from-transparent to-transparent;
|
|
93
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Range - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Track
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-range-bar] {
|
|
12
|
+
@apply bg-surface-z2 border-surface-z3 border;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='rokkit'] [data-range-selected] {
|
|
16
|
+
@apply from-primary to-secondary bg-gradient-to-r;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* =============================================================================
|
|
20
|
+
Thumb
|
|
21
|
+
============================================================================= */
|
|
22
|
+
|
|
23
|
+
[data-style='rokkit'] [data-range-thumb] {
|
|
24
|
+
@apply bg-secondary border-secondary shadow-lg;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='rokkit'] [data-range-thumb][data-sliding] {
|
|
28
|
+
@apply shadow-xl;
|
|
29
|
+
box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-secondary) 30%, transparent);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-style='rokkit'] [data-range-thumb]:focus-visible {
|
|
33
|
+
box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-secondary) 30%, transparent);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* =============================================================================
|
|
37
|
+
Ticks
|
|
38
|
+
============================================================================= */
|
|
39
|
+
|
|
40
|
+
[data-style='rokkit'] [data-range-tick] {
|
|
41
|
+
@apply text-surface-z6;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-style='rokkit'] [data-tick-bar] {
|
|
45
|
+
@apply border-surface-z5;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-style='rokkit'] [data-tick-label] {
|
|
49
|
+
@apply text-surface-z6;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* =============================================================================
|
|
53
|
+
Disabled
|
|
54
|
+
============================================================================= */
|
|
55
|
+
|
|
56
|
+
[data-style='rokkit'] [data-range][data-disabled] [data-range-thumb] {
|
|
57
|
+
@apply bg-surface-z4 border-surface-z4;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[data-style='rokkit'] [data-range][data-disabled] [data-range-selected] {
|
|
61
|
+
@apply bg-surface-z4;
|
|
62
|
+
}
|