@ox-content/theme-color-commander 2.84.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/LICENSE +21 -0
- package/README.md +39 -0
- package/dist/index.cjs +148 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +145 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +60 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 ubugeeei
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @ox-content/theme-color-commander
|
|
2
|
+
|
|
3
|
+
Commander — CGA cyan panels by day, the bare console prompt by night — for [Ox Content](https://github.com/ubugeeei-prod/ox-content).
|
|
4
|
+
|
|
5
|
+
**Color only.** Light and dark `--octc-*` tokens and nothing else: no layout, no
|
|
6
|
+
texture, no typography. That is what lets it drop under any skin package.
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install @ox-content/theme-color-commander
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
// vite.config.ts
|
|
14
|
+
import { defineConfig } from "vite";
|
|
15
|
+
import { oxContent } from "@ox-content/vite-plugin";
|
|
16
|
+
import commander from "@ox-content/theme-color-commander";
|
|
17
|
+
|
|
18
|
+
export default defineConfig({
|
|
19
|
+
plugins: [
|
|
20
|
+
oxContent({
|
|
21
|
+
srcDir: "docs",
|
|
22
|
+
ssg: { siteName: "My Docs", theme: commander },
|
|
23
|
+
}),
|
|
24
|
+
],
|
|
25
|
+
});
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Stack a skin on top to change the form as well — layers compose left to right,
|
|
29
|
+
so anything you append wins:
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import pixel from "@ox-content/theme-pixel";
|
|
33
|
+
|
|
34
|
+
theme: [pixel, commander, { colors: { primary: "#ff5f56" } }];
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
MIT
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
//#region src/index.ts
|
|
6
|
+
/**
|
|
7
|
+
* Commander — CGA cyan panels by day, the bare console prompt by night.
|
|
8
|
+
*
|
|
9
|
+
* Color only: no layout, no texture, no typography. Compose it under any
|
|
10
|
+
* `@ox-content/theme-*` skin, or use it on its own over the default theme.
|
|
11
|
+
*
|
|
12
|
+
* Generated from `scripts/theme-colors/palettes.json`; edit that file and run
|
|
13
|
+
* `node scripts/theme-colors/generate.mjs` rather than editing this by hand.
|
|
14
|
+
*/
|
|
15
|
+
const commander = {
|
|
16
|
+
name: "commander",
|
|
17
|
+
colors: {
|
|
18
|
+
primary: "#0000aa",
|
|
19
|
+
primaryHover: "#000077",
|
|
20
|
+
background: "#cfeceb",
|
|
21
|
+
backgroundAlt: "#b8e0df",
|
|
22
|
+
text: "#00292b",
|
|
23
|
+
textMuted: "#12565a",
|
|
24
|
+
border: "#7fc4c2",
|
|
25
|
+
codeBackground: "#0000aa",
|
|
26
|
+
codeBackgroundTop: "#0000aa",
|
|
27
|
+
codeText: "#ffffff"
|
|
28
|
+
},
|
|
29
|
+
darkColors: {
|
|
30
|
+
primary: "#55ffff",
|
|
31
|
+
primaryHover: "#aaffff",
|
|
32
|
+
background: "#000000",
|
|
33
|
+
backgroundAlt: "#0d0d0d",
|
|
34
|
+
text: "#aaaaaa",
|
|
35
|
+
textMuted: "#7f7f7f",
|
|
36
|
+
border: "#555555",
|
|
37
|
+
codeBackground: "#0000aa",
|
|
38
|
+
codeBackgroundTop: "#0000aa",
|
|
39
|
+
codeText: "#ffffff"
|
|
40
|
+
},
|
|
41
|
+
tokens: {
|
|
42
|
+
"color-code-line-highlight": "color-mix(in srgb, #0000aa 16%, transparent)",
|
|
43
|
+
"color-code-line-warning": "color-mix(in srgb, #553300 18%, transparent)",
|
|
44
|
+
"color-code-line-warning-border": "#553300",
|
|
45
|
+
"color-code-line-error": "color-mix(in srgb, #aa0000 20%, transparent)",
|
|
46
|
+
"color-code-line-error-border": "#aa0000",
|
|
47
|
+
"color-code-line-add": "color-mix(in srgb, #005500 16%, transparent)",
|
|
48
|
+
"color-code-line-add-border": "#005500",
|
|
49
|
+
"color-code-line-remove": "color-mix(in srgb, #aa0000 14%, transparent)",
|
|
50
|
+
"color-code-line-remove-border": "#aa0000",
|
|
51
|
+
"color-code-line-focus": "color-mix(in srgb, #0000aa 16%, transparent)",
|
|
52
|
+
"color-code-line-dim": "0.45",
|
|
53
|
+
"color-code-title-bg": "color-mix(in srgb, #0000aa 92%, #ffffff)",
|
|
54
|
+
"color-code-title-text": "color-mix(in srgb, #ffffff 88%, #0000aa)",
|
|
55
|
+
"color-code-title-border": "color-mix(in srgb, #ffffff 22%, transparent)",
|
|
56
|
+
"color-code-line-number": "color-mix(in srgb, #ffffff 48%, transparent)",
|
|
57
|
+
"color-code-frame-border": "color-mix(in srgb, #7fc4c2 92%, transparent)",
|
|
58
|
+
"color-backdrop": "rgba(72, 83, 82, 0.62)",
|
|
59
|
+
"surface-glass": "color-mix(in srgb, #b8e0df 62%, #cfeceb)",
|
|
60
|
+
"surface-line": "color-mix(in srgb, #7fc4c2 72%, #cfeceb)",
|
|
61
|
+
"brand-violet": "#aa00aa",
|
|
62
|
+
"brand-cyan": "#005555",
|
|
63
|
+
"brand-lime": "#005500",
|
|
64
|
+
"brand-coral": "#aa0000",
|
|
65
|
+
"brand-navy": "color-mix(in srgb, #00292b 70%, #cfeceb)",
|
|
66
|
+
"brand-violet-rgb": "170, 0, 170",
|
|
67
|
+
"brand-cyan-rgb": "0, 85, 85",
|
|
68
|
+
"brand-lime-rgb": "0, 85, 0",
|
|
69
|
+
"brand-coral-rgb": "170, 0, 0",
|
|
70
|
+
"accent-a": "#0000aa",
|
|
71
|
+
"accent-b": "#aa00aa",
|
|
72
|
+
"accent-c": "#005555",
|
|
73
|
+
"accent-warm": "#553300",
|
|
74
|
+
"accent-cool": "#0000aa",
|
|
75
|
+
"accent-a-ink": "#0000aa",
|
|
76
|
+
"accent-b-ink": "#aa00aa",
|
|
77
|
+
"accent-c-ink": "#005555",
|
|
78
|
+
"accent-warm-ink": "#553300",
|
|
79
|
+
"accent-cool-ink": "#0000aa",
|
|
80
|
+
"accent-coral-ink": "#aa0000",
|
|
81
|
+
"shiki-foreground": "#ffffff",
|
|
82
|
+
"shiki-background": "#0000aa",
|
|
83
|
+
"shiki-token-comment": "color-mix(in srgb, #ffffff 55%, #0000aa)",
|
|
84
|
+
"shiki-token-punctuation": "color-mix(in srgb, #ffffff 72%, #0000aa)",
|
|
85
|
+
"shiki-token-keyword": "#ff55ff",
|
|
86
|
+
"shiki-token-string": "#55ff55",
|
|
87
|
+
"shiki-token-string-expression": "#55ff55",
|
|
88
|
+
"shiki-token-constant": "#ffff55",
|
|
89
|
+
"shiki-token-function": "#5555ff",
|
|
90
|
+
"shiki-token-parameter": "#ff5555",
|
|
91
|
+
"shiki-token-link": "#55ffff"
|
|
92
|
+
},
|
|
93
|
+
darkTokens: {
|
|
94
|
+
"color-code-line-highlight": "color-mix(in srgb, #5555ff 16%, transparent)",
|
|
95
|
+
"color-code-line-warning": "color-mix(in srgb, #ffff55 18%, transparent)",
|
|
96
|
+
"color-code-line-warning-border": "#ffff55",
|
|
97
|
+
"color-code-line-error": "color-mix(in srgb, #ff5555 20%, transparent)",
|
|
98
|
+
"color-code-line-error-border": "#ff5555",
|
|
99
|
+
"color-code-line-add": "color-mix(in srgb, #55ff55 16%, transparent)",
|
|
100
|
+
"color-code-line-add-border": "#55ff55",
|
|
101
|
+
"color-code-line-remove": "color-mix(in srgb, #ff5555 14%, transparent)",
|
|
102
|
+
"color-code-line-remove-border": "#ff5555",
|
|
103
|
+
"color-code-line-focus": "color-mix(in srgb, #55ffff 16%, transparent)",
|
|
104
|
+
"color-code-line-dim": "0.35",
|
|
105
|
+
"color-code-title-bg": "color-mix(in srgb, #0000aa 92%, #ffffff)",
|
|
106
|
+
"color-code-title-text": "color-mix(in srgb, #ffffff 88%, #0000aa)",
|
|
107
|
+
"color-code-title-border": "color-mix(in srgb, #ffffff 22%, transparent)",
|
|
108
|
+
"color-code-line-number": "color-mix(in srgb, #ffffff 48%, transparent)",
|
|
109
|
+
"color-code-frame-border": "color-mix(in srgb, #555555 92%, transparent)",
|
|
110
|
+
"color-backdrop": "rgba(0, 0, 0, 0.62)",
|
|
111
|
+
"surface-glass": "color-mix(in srgb, #0d0d0d 62%, #000000)",
|
|
112
|
+
"surface-line": "color-mix(in srgb, #555555 72%, #000000)",
|
|
113
|
+
"brand-violet": "#ff55ff",
|
|
114
|
+
"brand-cyan": "#55ffff",
|
|
115
|
+
"brand-lime": "#55ff55",
|
|
116
|
+
"brand-coral": "#ff5555",
|
|
117
|
+
"brand-navy": "color-mix(in srgb, #aaaaaa 70%, #000000)",
|
|
118
|
+
"brand-violet-rgb": "255, 85, 255",
|
|
119
|
+
"brand-cyan-rgb": "85, 255, 255",
|
|
120
|
+
"brand-lime-rgb": "85, 255, 85",
|
|
121
|
+
"brand-coral-rgb": "255, 85, 85",
|
|
122
|
+
"accent-a": "#55ffff",
|
|
123
|
+
"accent-b": "#ff55ff",
|
|
124
|
+
"accent-c": "#55ffff",
|
|
125
|
+
"accent-warm": "#ffff55",
|
|
126
|
+
"accent-cool": "#5555ff",
|
|
127
|
+
"accent-a-ink": "#55ffff",
|
|
128
|
+
"accent-b-ink": "#ff55ff",
|
|
129
|
+
"accent-c-ink": "#55ffff",
|
|
130
|
+
"accent-warm-ink": "#ffff55",
|
|
131
|
+
"accent-cool-ink": "#6363ff",
|
|
132
|
+
"accent-coral-ink": "#ff5555",
|
|
133
|
+
"shiki-foreground": "#ffffff",
|
|
134
|
+
"shiki-background": "#0000aa",
|
|
135
|
+
"shiki-token-comment": "color-mix(in srgb, #ffffff 55%, #0000aa)",
|
|
136
|
+
"shiki-token-punctuation": "color-mix(in srgb, #ffffff 72%, #0000aa)",
|
|
137
|
+
"shiki-token-keyword": "#ff55ff",
|
|
138
|
+
"shiki-token-string": "#55ff55",
|
|
139
|
+
"shiki-token-string-expression": "#55ff55",
|
|
140
|
+
"shiki-token-constant": "#ffff55",
|
|
141
|
+
"shiki-token-function": "#5555ff",
|
|
142
|
+
"shiki-token-parameter": "#ff5555",
|
|
143
|
+
"shiki-token-link": "#55ffff"
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
//#endregion
|
|
147
|
+
exports.commander = commander;
|
|
148
|
+
exports.default = commander;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ThemeConfig } from "@ox-content/vite-plugin";
|
|
2
|
+
//#region src/index.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Commander — CGA cyan panels by day, the bare console prompt by night.
|
|
5
|
+
*
|
|
6
|
+
* Color only: no layout, no texture, no typography. Compose it under any
|
|
7
|
+
* `@ox-content/theme-*` skin, or use it on its own over the default theme.
|
|
8
|
+
*
|
|
9
|
+
* Generated from `scripts/theme-colors/palettes.json`; edit that file and run
|
|
10
|
+
* `node scripts/theme-colors/generate.mjs` rather than editing this by hand.
|
|
11
|
+
*/
|
|
12
|
+
declare const commander: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { commander, commander as default };
|
|
15
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,WAAW"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ThemeConfig } from "@ox-content/vite-plugin";
|
|
2
|
+
//#region src/index.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Commander — CGA cyan panels by day, the bare console prompt by night.
|
|
5
|
+
*
|
|
6
|
+
* Color only: no layout, no texture, no typography. Compose it under any
|
|
7
|
+
* `@ox-content/theme-*` skin, or use it on its own over the default theme.
|
|
8
|
+
*
|
|
9
|
+
* Generated from `scripts/theme-colors/palettes.json`; edit that file and run
|
|
10
|
+
* `node scripts/theme-colors/generate.mjs` rather than editing this by hand.
|
|
11
|
+
*/
|
|
12
|
+
declare const commander: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { commander, commander as default };
|
|
15
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,WAAW"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
//#region src/index.ts
|
|
2
|
+
/**
|
|
3
|
+
* Commander — CGA cyan panels by day, the bare console prompt by night.
|
|
4
|
+
*
|
|
5
|
+
* Color only: no layout, no texture, no typography. Compose it under any
|
|
6
|
+
* `@ox-content/theme-*` skin, or use it on its own over the default theme.
|
|
7
|
+
*
|
|
8
|
+
* Generated from `scripts/theme-colors/palettes.json`; edit that file and run
|
|
9
|
+
* `node scripts/theme-colors/generate.mjs` rather than editing this by hand.
|
|
10
|
+
*/
|
|
11
|
+
const commander = {
|
|
12
|
+
name: "commander",
|
|
13
|
+
colors: {
|
|
14
|
+
primary: "#0000aa",
|
|
15
|
+
primaryHover: "#000077",
|
|
16
|
+
background: "#cfeceb",
|
|
17
|
+
backgroundAlt: "#b8e0df",
|
|
18
|
+
text: "#00292b",
|
|
19
|
+
textMuted: "#12565a",
|
|
20
|
+
border: "#7fc4c2",
|
|
21
|
+
codeBackground: "#0000aa",
|
|
22
|
+
codeBackgroundTop: "#0000aa",
|
|
23
|
+
codeText: "#ffffff"
|
|
24
|
+
},
|
|
25
|
+
darkColors: {
|
|
26
|
+
primary: "#55ffff",
|
|
27
|
+
primaryHover: "#aaffff",
|
|
28
|
+
background: "#000000",
|
|
29
|
+
backgroundAlt: "#0d0d0d",
|
|
30
|
+
text: "#aaaaaa",
|
|
31
|
+
textMuted: "#7f7f7f",
|
|
32
|
+
border: "#555555",
|
|
33
|
+
codeBackground: "#0000aa",
|
|
34
|
+
codeBackgroundTop: "#0000aa",
|
|
35
|
+
codeText: "#ffffff"
|
|
36
|
+
},
|
|
37
|
+
tokens: {
|
|
38
|
+
"color-code-line-highlight": "color-mix(in srgb, #0000aa 16%, transparent)",
|
|
39
|
+
"color-code-line-warning": "color-mix(in srgb, #553300 18%, transparent)",
|
|
40
|
+
"color-code-line-warning-border": "#553300",
|
|
41
|
+
"color-code-line-error": "color-mix(in srgb, #aa0000 20%, transparent)",
|
|
42
|
+
"color-code-line-error-border": "#aa0000",
|
|
43
|
+
"color-code-line-add": "color-mix(in srgb, #005500 16%, transparent)",
|
|
44
|
+
"color-code-line-add-border": "#005500",
|
|
45
|
+
"color-code-line-remove": "color-mix(in srgb, #aa0000 14%, transparent)",
|
|
46
|
+
"color-code-line-remove-border": "#aa0000",
|
|
47
|
+
"color-code-line-focus": "color-mix(in srgb, #0000aa 16%, transparent)",
|
|
48
|
+
"color-code-line-dim": "0.45",
|
|
49
|
+
"color-code-title-bg": "color-mix(in srgb, #0000aa 92%, #ffffff)",
|
|
50
|
+
"color-code-title-text": "color-mix(in srgb, #ffffff 88%, #0000aa)",
|
|
51
|
+
"color-code-title-border": "color-mix(in srgb, #ffffff 22%, transparent)",
|
|
52
|
+
"color-code-line-number": "color-mix(in srgb, #ffffff 48%, transparent)",
|
|
53
|
+
"color-code-frame-border": "color-mix(in srgb, #7fc4c2 92%, transparent)",
|
|
54
|
+
"color-backdrop": "rgba(72, 83, 82, 0.62)",
|
|
55
|
+
"surface-glass": "color-mix(in srgb, #b8e0df 62%, #cfeceb)",
|
|
56
|
+
"surface-line": "color-mix(in srgb, #7fc4c2 72%, #cfeceb)",
|
|
57
|
+
"brand-violet": "#aa00aa",
|
|
58
|
+
"brand-cyan": "#005555",
|
|
59
|
+
"brand-lime": "#005500",
|
|
60
|
+
"brand-coral": "#aa0000",
|
|
61
|
+
"brand-navy": "color-mix(in srgb, #00292b 70%, #cfeceb)",
|
|
62
|
+
"brand-violet-rgb": "170, 0, 170",
|
|
63
|
+
"brand-cyan-rgb": "0, 85, 85",
|
|
64
|
+
"brand-lime-rgb": "0, 85, 0",
|
|
65
|
+
"brand-coral-rgb": "170, 0, 0",
|
|
66
|
+
"accent-a": "#0000aa",
|
|
67
|
+
"accent-b": "#aa00aa",
|
|
68
|
+
"accent-c": "#005555",
|
|
69
|
+
"accent-warm": "#553300",
|
|
70
|
+
"accent-cool": "#0000aa",
|
|
71
|
+
"accent-a-ink": "#0000aa",
|
|
72
|
+
"accent-b-ink": "#aa00aa",
|
|
73
|
+
"accent-c-ink": "#005555",
|
|
74
|
+
"accent-warm-ink": "#553300",
|
|
75
|
+
"accent-cool-ink": "#0000aa",
|
|
76
|
+
"accent-coral-ink": "#aa0000",
|
|
77
|
+
"shiki-foreground": "#ffffff",
|
|
78
|
+
"shiki-background": "#0000aa",
|
|
79
|
+
"shiki-token-comment": "color-mix(in srgb, #ffffff 55%, #0000aa)",
|
|
80
|
+
"shiki-token-punctuation": "color-mix(in srgb, #ffffff 72%, #0000aa)",
|
|
81
|
+
"shiki-token-keyword": "#ff55ff",
|
|
82
|
+
"shiki-token-string": "#55ff55",
|
|
83
|
+
"shiki-token-string-expression": "#55ff55",
|
|
84
|
+
"shiki-token-constant": "#ffff55",
|
|
85
|
+
"shiki-token-function": "#5555ff",
|
|
86
|
+
"shiki-token-parameter": "#ff5555",
|
|
87
|
+
"shiki-token-link": "#55ffff"
|
|
88
|
+
},
|
|
89
|
+
darkTokens: {
|
|
90
|
+
"color-code-line-highlight": "color-mix(in srgb, #5555ff 16%, transparent)",
|
|
91
|
+
"color-code-line-warning": "color-mix(in srgb, #ffff55 18%, transparent)",
|
|
92
|
+
"color-code-line-warning-border": "#ffff55",
|
|
93
|
+
"color-code-line-error": "color-mix(in srgb, #ff5555 20%, transparent)",
|
|
94
|
+
"color-code-line-error-border": "#ff5555",
|
|
95
|
+
"color-code-line-add": "color-mix(in srgb, #55ff55 16%, transparent)",
|
|
96
|
+
"color-code-line-add-border": "#55ff55",
|
|
97
|
+
"color-code-line-remove": "color-mix(in srgb, #ff5555 14%, transparent)",
|
|
98
|
+
"color-code-line-remove-border": "#ff5555",
|
|
99
|
+
"color-code-line-focus": "color-mix(in srgb, #55ffff 16%, transparent)",
|
|
100
|
+
"color-code-line-dim": "0.35",
|
|
101
|
+
"color-code-title-bg": "color-mix(in srgb, #0000aa 92%, #ffffff)",
|
|
102
|
+
"color-code-title-text": "color-mix(in srgb, #ffffff 88%, #0000aa)",
|
|
103
|
+
"color-code-title-border": "color-mix(in srgb, #ffffff 22%, transparent)",
|
|
104
|
+
"color-code-line-number": "color-mix(in srgb, #ffffff 48%, transparent)",
|
|
105
|
+
"color-code-frame-border": "color-mix(in srgb, #555555 92%, transparent)",
|
|
106
|
+
"color-backdrop": "rgba(0, 0, 0, 0.62)",
|
|
107
|
+
"surface-glass": "color-mix(in srgb, #0d0d0d 62%, #000000)",
|
|
108
|
+
"surface-line": "color-mix(in srgb, #555555 72%, #000000)",
|
|
109
|
+
"brand-violet": "#ff55ff",
|
|
110
|
+
"brand-cyan": "#55ffff",
|
|
111
|
+
"brand-lime": "#55ff55",
|
|
112
|
+
"brand-coral": "#ff5555",
|
|
113
|
+
"brand-navy": "color-mix(in srgb, #aaaaaa 70%, #000000)",
|
|
114
|
+
"brand-violet-rgb": "255, 85, 255",
|
|
115
|
+
"brand-cyan-rgb": "85, 255, 255",
|
|
116
|
+
"brand-lime-rgb": "85, 255, 85",
|
|
117
|
+
"brand-coral-rgb": "255, 85, 85",
|
|
118
|
+
"accent-a": "#55ffff",
|
|
119
|
+
"accent-b": "#ff55ff",
|
|
120
|
+
"accent-c": "#55ffff",
|
|
121
|
+
"accent-warm": "#ffff55",
|
|
122
|
+
"accent-cool": "#5555ff",
|
|
123
|
+
"accent-a-ink": "#55ffff",
|
|
124
|
+
"accent-b-ink": "#ff55ff",
|
|
125
|
+
"accent-c-ink": "#55ffff",
|
|
126
|
+
"accent-warm-ink": "#ffff55",
|
|
127
|
+
"accent-cool-ink": "#6363ff",
|
|
128
|
+
"accent-coral-ink": "#ff5555",
|
|
129
|
+
"shiki-foreground": "#ffffff",
|
|
130
|
+
"shiki-background": "#0000aa",
|
|
131
|
+
"shiki-token-comment": "color-mix(in srgb, #ffffff 55%, #0000aa)",
|
|
132
|
+
"shiki-token-punctuation": "color-mix(in srgb, #ffffff 72%, #0000aa)",
|
|
133
|
+
"shiki-token-keyword": "#ff55ff",
|
|
134
|
+
"shiki-token-string": "#55ff55",
|
|
135
|
+
"shiki-token-string-expression": "#55ff55",
|
|
136
|
+
"shiki-token-constant": "#ffff55",
|
|
137
|
+
"shiki-token-function": "#5555ff",
|
|
138
|
+
"shiki-token-parameter": "#ff5555",
|
|
139
|
+
"shiki-token-link": "#55ffff"
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
export { commander, commander as default };
|
|
144
|
+
|
|
145
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { ThemeConfig } from \"@ox-content/vite-plugin\";\n\n/**\n * Commander — CGA cyan panels by day, the bare console prompt by night.\n *\n * Color only: no layout, no texture, no typography. Compose it under any\n * `@ox-content/theme-*` skin, or use it on its own over the default theme.\n *\n * Generated from `scripts/theme-colors/palettes.json`; edit that file and run\n * `node scripts/theme-colors/generate.mjs` rather than editing this by hand.\n */\nexport const commander: ThemeConfig = {\n name: \"commander\",\n colors: {\n primary: \"#0000aa\",\n primaryHover: \"#000077\",\n background: \"#cfeceb\",\n backgroundAlt: \"#b8e0df\",\n text: \"#00292b\",\n textMuted: \"#12565a\",\n border: \"#7fc4c2\",\n codeBackground: \"#0000aa\",\n codeBackgroundTop: \"#0000aa\",\n codeText: \"#ffffff\",\n },\n darkColors: {\n primary: \"#55ffff\",\n primaryHover: \"#aaffff\",\n background: \"#000000\",\n backgroundAlt: \"#0d0d0d\",\n text: \"#aaaaaa\",\n textMuted: \"#7f7f7f\",\n border: \"#555555\",\n codeBackground: \"#0000aa\",\n codeBackgroundTop: \"#0000aa\",\n codeText: \"#ffffff\",\n },\n tokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #0000aa 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #553300 18%, transparent)\",\n \"color-code-line-warning-border\": \"#553300\",\n \"color-code-line-error\": \"color-mix(in srgb, #aa0000 20%, transparent)\",\n \"color-code-line-error-border\": \"#aa0000\",\n \"color-code-line-add\": \"color-mix(in srgb, #005500 16%, transparent)\",\n \"color-code-line-add-border\": \"#005500\",\n \"color-code-line-remove\": \"color-mix(in srgb, #aa0000 14%, transparent)\",\n \"color-code-line-remove-border\": \"#aa0000\",\n \"color-code-line-focus\": \"color-mix(in srgb, #0000aa 16%, transparent)\",\n \"color-code-line-dim\": \"0.45\",\n \"color-code-title-bg\": \"color-mix(in srgb, #0000aa 92%, #ffffff)\",\n \"color-code-title-text\": \"color-mix(in srgb, #ffffff 88%, #0000aa)\",\n \"color-code-title-border\": \"color-mix(in srgb, #ffffff 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #ffffff 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #7fc4c2 92%, transparent)\",\n \"color-backdrop\": \"rgba(72, 83, 82, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #b8e0df 62%, #cfeceb)\",\n \"surface-line\": \"color-mix(in srgb, #7fc4c2 72%, #cfeceb)\",\n \"brand-violet\": \"#aa00aa\",\n \"brand-cyan\": \"#005555\",\n \"brand-lime\": \"#005500\",\n \"brand-coral\": \"#aa0000\",\n \"brand-navy\": \"color-mix(in srgb, #00292b 70%, #cfeceb)\",\n \"brand-violet-rgb\": \"170, 0, 170\",\n \"brand-cyan-rgb\": \"0, 85, 85\",\n \"brand-lime-rgb\": \"0, 85, 0\",\n \"brand-coral-rgb\": \"170, 0, 0\",\n \"accent-a\": \"#0000aa\",\n \"accent-b\": \"#aa00aa\",\n \"accent-c\": \"#005555\",\n \"accent-warm\": \"#553300\",\n \"accent-cool\": \"#0000aa\",\n \"accent-a-ink\": \"#0000aa\",\n \"accent-b-ink\": \"#aa00aa\",\n \"accent-c-ink\": \"#005555\",\n \"accent-warm-ink\": \"#553300\",\n \"accent-cool-ink\": \"#0000aa\",\n \"accent-coral-ink\": \"#aa0000\",\n \"shiki-foreground\": \"#ffffff\",\n \"shiki-background\": \"#0000aa\",\n \"shiki-token-comment\": \"color-mix(in srgb, #ffffff 55%, #0000aa)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #ffffff 72%, #0000aa)\",\n \"shiki-token-keyword\": \"#ff55ff\",\n \"shiki-token-string\": \"#55ff55\",\n \"shiki-token-string-expression\": \"#55ff55\",\n \"shiki-token-constant\": \"#ffff55\",\n \"shiki-token-function\": \"#5555ff\",\n \"shiki-token-parameter\": \"#ff5555\",\n \"shiki-token-link\": \"#55ffff\",\n },\n darkTokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #5555ff 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #ffff55 18%, transparent)\",\n \"color-code-line-warning-border\": \"#ffff55\",\n \"color-code-line-error\": \"color-mix(in srgb, #ff5555 20%, transparent)\",\n \"color-code-line-error-border\": \"#ff5555\",\n \"color-code-line-add\": \"color-mix(in srgb, #55ff55 16%, transparent)\",\n \"color-code-line-add-border\": \"#55ff55\",\n \"color-code-line-remove\": \"color-mix(in srgb, #ff5555 14%, transparent)\",\n \"color-code-line-remove-border\": \"#ff5555\",\n \"color-code-line-focus\": \"color-mix(in srgb, #55ffff 16%, transparent)\",\n \"color-code-line-dim\": \"0.35\",\n \"color-code-title-bg\": \"color-mix(in srgb, #0000aa 92%, #ffffff)\",\n \"color-code-title-text\": \"color-mix(in srgb, #ffffff 88%, #0000aa)\",\n \"color-code-title-border\": \"color-mix(in srgb, #ffffff 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #ffffff 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #555555 92%, transparent)\",\n \"color-backdrop\": \"rgba(0, 0, 0, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #0d0d0d 62%, #000000)\",\n \"surface-line\": \"color-mix(in srgb, #555555 72%, #000000)\",\n \"brand-violet\": \"#ff55ff\",\n \"brand-cyan\": \"#55ffff\",\n \"brand-lime\": \"#55ff55\",\n \"brand-coral\": \"#ff5555\",\n \"brand-navy\": \"color-mix(in srgb, #aaaaaa 70%, #000000)\",\n \"brand-violet-rgb\": \"255, 85, 255\",\n \"brand-cyan-rgb\": \"85, 255, 255\",\n \"brand-lime-rgb\": \"85, 255, 85\",\n \"brand-coral-rgb\": \"255, 85, 85\",\n \"accent-a\": \"#55ffff\",\n \"accent-b\": \"#ff55ff\",\n \"accent-c\": \"#55ffff\",\n \"accent-warm\": \"#ffff55\",\n \"accent-cool\": \"#5555ff\",\n \"accent-a-ink\": \"#55ffff\",\n \"accent-b-ink\": \"#ff55ff\",\n \"accent-c-ink\": \"#55ffff\",\n \"accent-warm-ink\": \"#ffff55\",\n \"accent-cool-ink\": \"#6363ff\",\n \"accent-coral-ink\": \"#ff5555\",\n \"shiki-foreground\": \"#ffffff\",\n \"shiki-background\": \"#0000aa\",\n \"shiki-token-comment\": \"color-mix(in srgb, #ffffff 55%, #0000aa)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #ffffff 72%, #0000aa)\",\n \"shiki-token-keyword\": \"#ff55ff\",\n \"shiki-token-string\": \"#55ff55\",\n \"shiki-token-string-expression\": \"#55ff55\",\n \"shiki-token-constant\": \"#ffff55\",\n \"shiki-token-function\": \"#5555ff\",\n \"shiki-token-parameter\": \"#ff5555\",\n \"shiki-token-link\": \"#55ffff\",\n },\n};\n\nexport default commander;\n"],"mappings":";;;;;;;;;;AAWA,MAAa,YAAyB;CACpC,MAAM;CACN,QAAQ;EACN,SAAS;EACT,cAAc;EACd,YAAY;EACZ,eAAe;EACf,MAAM;EACN,WAAW;EACX,QAAQ;EACR,gBAAgB;EAChB,mBAAmB;EACnB,UAAU;CACZ;CACA,YAAY;EACV,SAAS;EACT,cAAc;EACd,YAAY;EACZ,eAAe;EACf,MAAM;EACN,WAAW;EACX,QAAQ;EACR,gBAAgB;EAChB,mBAAmB;EACnB,UAAU;CACZ;CACA,QAAQ;EACN,6BAA6B;EAC7B,2BAA2B;EAC3B,kCAAkC;EAClC,yBAAyB;EACzB,gCAAgC;EAChC,uBAAuB;EACvB,8BAA8B;EAC9B,0BAA0B;EAC1B,iCAAiC;EACjC,yBAAyB;EACzB,uBAAuB;EACvB,uBAAuB;EACvB,yBAAyB;EACzB,2BAA2B;EAC3B,0BAA0B;EAC1B,2BAA2B;EAC3B,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;EACd,cAAc;EACd,eAAe;EACf,cAAc;EACd,oBAAoB;EACpB,kBAAkB;EAClB,kBAAkB;EAClB,mBAAmB;EACnB,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,eAAe;EACf,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,mBAAmB;EACnB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,2BAA2B;EAC3B,uBAAuB;EACvB,sBAAsB;EACtB,iCAAiC;EACjC,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,oBAAoB;CACtB;CACA,YAAY;EACV,6BAA6B;EAC7B,2BAA2B;EAC3B,kCAAkC;EAClC,yBAAyB;EACzB,gCAAgC;EAChC,uBAAuB;EACvB,8BAA8B;EAC9B,0BAA0B;EAC1B,iCAAiC;EACjC,yBAAyB;EACzB,uBAAuB;EACvB,uBAAuB;EACvB,yBAAyB;EACzB,2BAA2B;EAC3B,0BAA0B;EAC1B,2BAA2B;EAC3B,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;EACd,cAAc;EACd,eAAe;EACf,cAAc;EACd,oBAAoB;EACpB,kBAAkB;EAClB,kBAAkB;EAClB,mBAAmB;EACnB,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,eAAe;EACf,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,mBAAmB;EACnB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,2BAA2B;EAC3B,uBAAuB;EACvB,sBAAsB;EACtB,iCAAiC;EACjC,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,oBAAoB;CACtB;AACF"}
|
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ox-content/theme-color-commander",
|
|
3
|
+
"version": "2.84.0",
|
|
4
|
+
"description": "CGA cyan panels by day, the bare console prompt by night — an Ox Content color scheme that composes with any @ox-content/theme-* skin",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"color-scheme",
|
|
7
|
+
"commander",
|
|
8
|
+
"documentation",
|
|
9
|
+
"markdown",
|
|
10
|
+
"ox-content",
|
|
11
|
+
"palette",
|
|
12
|
+
"ssg",
|
|
13
|
+
"theme"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"author": "ubugeeei",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/ubugeeei-prod/ox-content.git",
|
|
20
|
+
"directory": "npm/theme-color/commander"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"type": "module",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"main": "./dist/index.cjs",
|
|
28
|
+
"types": "./dist/index.d.mts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"import": "./dist/index.mjs",
|
|
32
|
+
"require": "./dist/index.cjs",
|
|
33
|
+
"types": "./dist/index.d.mts"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public",
|
|
38
|
+
"provenance": true
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@types/node": "^26.1.2",
|
|
42
|
+
"@typescript/native-preview": "^7.0.0-dev.20260707.2",
|
|
43
|
+
"typescript": "^7.0.2",
|
|
44
|
+
"vite-plus": "0.2.8",
|
|
45
|
+
"@ox-content/vite-plugin": "2.84.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@ox-content/vite-plugin": ">=2.84.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependenciesMeta": {
|
|
51
|
+
"@ox-content/vite-plugin": {
|
|
52
|
+
"optional": true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "vp pack",
|
|
57
|
+
"dev": "vp pack --watch",
|
|
58
|
+
"typecheck": "tsgo --noEmit"
|
|
59
|
+
}
|
|
60
|
+
}
|