@rokkit/themes 1.1.12 → 1.1.14
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/package.json +3 -3
- package/src/base/command-palette.css +35 -0
- package/src/base/index.css +1 -0
- package/src/frosted/command-palette.css +42 -0
- package/src/frosted/index.css +1 -0
- package/src/material/command-palette.css +37 -0
- package/src/material/index.css +1 -0
- package/src/minimal/command-palette.css +37 -0
- package/src/minimal/index.css +1 -0
- package/src/rokkit/command-palette.css +37 -0
- package/src/rokkit/index.css +1 -0
- package/src/zen-sumi/command-palette.css +39 -0
- package/src/zen-sumi/index.css +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rokkit/themes",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.14",
|
|
4
4
|
"description": "Theme styles for @rokkit/ui components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
"build": "bun run build.mjs"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@rokkit/core": "1.1.
|
|
106
|
+
"@rokkit/core": "1.1.14"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@rokkit/unocss": "1.1.
|
|
109
|
+
"@rokkit/unocss": "1.1.14",
|
|
110
110
|
"magic-string": "^0.30.21",
|
|
111
111
|
"unocss": "^66.5.1"
|
|
112
112
|
},
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CommandPalette - Base Structural Styles
|
|
3
|
+
*
|
|
4
|
+
* Layout, positioning, and sizing only.
|
|
5
|
+
* No colors, shadows, or visual theming — those belong in theme styles.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
[data-command-backdrop] {
|
|
9
|
+
@apply fixed inset-0 z-50 flex items-start justify-center;
|
|
10
|
+
padding-top: 12vh;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[data-command-palette] {
|
|
14
|
+
@apply flex w-full max-w-xl flex-col gap-1 rounded-lg p-2 shadow-lg;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[data-command-input] {
|
|
18
|
+
@apply w-full bg-transparent px-3 py-2 outline-none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[data-command-list] {
|
|
22
|
+
@apply m-0 flex max-h-80 list-none flex-col gap-0.5 overflow-y-auto p-0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-command-item] {
|
|
26
|
+
@apply flex cursor-pointer items-center justify-between rounded-md px-3 py-2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-command-empty] {
|
|
30
|
+
@apply px-3 py-6 text-center text-sm;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-command-shortcut] {
|
|
34
|
+
@apply ml-auto text-xs;
|
|
35
|
+
}
|
package/src/base/index.css
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CommandPalette - Frosted Glass Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Translucent panel with deep blur and specular highlights.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='frosted'] [data-command-backdrop] {
|
|
8
|
+
background: rgb(0 0 0 / 0.3);
|
|
9
|
+
backdrop-filter: blur(2px);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
[data-style='frosted'] [data-command-palette] {
|
|
13
|
+
@apply border backdrop-blur-2xl bg-paper-mute/45;
|
|
14
|
+
border-color: rgba(255, 255, 255, 0.2);
|
|
15
|
+
box-shadow:
|
|
16
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.2),
|
|
17
|
+
0 16px 48px rgba(0, 0, 0, 0.18);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[data-style='frosted'] [data-command-input] {
|
|
21
|
+
@apply text-ink placeholder:text-ink-soft;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-style='frosted'] [data-command-item] {
|
|
25
|
+
@apply text-ink-mute;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-style='frosted'] [data-command-item][data-active] {
|
|
29
|
+
@apply bg-primary/80 text-on-primary;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-style='frosted'] [data-command-shortcut] {
|
|
33
|
+
@apply text-ink-soft;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-style='frosted'] [data-command-label] {
|
|
37
|
+
@apply text-ink-soft text-xs font-medium;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[data-style='frosted'] [data-command-empty] {
|
|
41
|
+
@apply text-ink-soft;
|
|
42
|
+
}
|
package/src/frosted/index.css
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CommandPalette - Material Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Material Design inspired with elevation and shadows.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='material'] [data-command-backdrop] {
|
|
8
|
+
background: rgb(0 0 0 / 0.35);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='material'] [data-command-palette] {
|
|
12
|
+
@apply bg-paper-soft border-paper-mute border shadow-lg;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='material'] [data-command-input] {
|
|
16
|
+
@apply text-ink placeholder:text-ink-soft;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='material'] [data-command-item] {
|
|
20
|
+
@apply text-ink-mute;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='material'] [data-command-item][data-active] {
|
|
24
|
+
@apply bg-primary text-on-primary;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='material'] [data-command-shortcut] {
|
|
28
|
+
@apply text-ink-soft;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='material'] [data-command-label] {
|
|
32
|
+
@apply text-ink-soft text-xs font-medium;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-style='material'] [data-command-empty] {
|
|
36
|
+
@apply text-ink-soft;
|
|
37
|
+
}
|
package/src/material/index.css
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CommandPalette - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated styling with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='minimal'] [data-command-backdrop] {
|
|
8
|
+
background: rgb(0 0 0 / 0.25);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-command-palette] {
|
|
12
|
+
@apply bg-paper-soft border-paper-mute border;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='minimal'] [data-command-input] {
|
|
16
|
+
@apply text-ink placeholder:text-ink-soft;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='minimal'] [data-command-item] {
|
|
20
|
+
@apply text-ink-mute;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='minimal'] [data-command-item][data-active] {
|
|
24
|
+
@apply bg-paper-mute text-ink border-l-accent border-l-2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='minimal'] [data-command-shortcut] {
|
|
28
|
+
@apply text-ink-soft;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='minimal'] [data-command-label] {
|
|
32
|
+
@apply text-ink-soft text-xs font-medium;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-style='minimal'] [data-command-empty] {
|
|
36
|
+
@apply text-ink-soft;
|
|
37
|
+
}
|
package/src/minimal/index.css
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CommandPalette - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='rokkit'] [data-command-backdrop] {
|
|
8
|
+
background: rgb(0 0 0 / 0.4);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-command-palette] {
|
|
12
|
+
@apply bg-paper-soft border-paper-edge border;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='rokkit'] [data-command-input] {
|
|
16
|
+
@apply text-ink placeholder:text-ink-faint;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-command-item] {
|
|
20
|
+
@apply text-ink;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='rokkit'] [data-command-item][data-active] {
|
|
24
|
+
@apply bg-primary text-on-primary;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='rokkit'] [data-command-shortcut] {
|
|
28
|
+
@apply text-ink-mute;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='rokkit'] [data-command-label] {
|
|
32
|
+
@apply text-ink-soft text-xs font-medium;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-style='rokkit'] [data-command-empty] {
|
|
36
|
+
@apply text-ink-mute;
|
|
37
|
+
}
|
package/src/rokkit/index.css
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CommandPalette - Zen-Sumi Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* 禅墨 — Ink on paper. Hairline border, no shadow, restraint as luxury.
|
|
5
|
+
* Active item: paper-mute surface with primary accent border (no glow).
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
[data-style='zen-sumi'] [data-command-backdrop] {
|
|
9
|
+
background: rgb(0 0 0 / 0.2);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
[data-style='zen-sumi'] [data-command-palette] {
|
|
13
|
+
@apply bg-paper border-paper-mute border;
|
|
14
|
+
box-shadow: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[data-style='zen-sumi'] [data-command-input] {
|
|
18
|
+
@apply text-ink-mute placeholder:text-paper-edge;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[data-style='zen-sumi'] [data-command-item] {
|
|
22
|
+
@apply text-ink-soft;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-style='zen-sumi'] [data-command-item][data-active] {
|
|
26
|
+
@apply bg-paper-mute text-ink-mute border-l-primary border-l-2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-style='zen-sumi'] [data-command-shortcut] {
|
|
30
|
+
@apply text-paper-edge;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-style='zen-sumi'] [data-command-label] {
|
|
34
|
+
@apply text-paper-edge text-xs font-medium;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[data-style='zen-sumi'] [data-command-empty] {
|
|
38
|
+
@apply text-paper-edge;
|
|
39
|
+
}
|
package/src/zen-sumi/index.css
CHANGED