@ox-content/theme-color-emerald 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-emerald
|
|
2
|
+
|
|
3
|
+
Emerald — Vivid green over deep slate — the conference-badge palette — 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-emerald
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
// vite.config.ts
|
|
14
|
+
import { defineConfig } from "vite";
|
|
15
|
+
import { oxContent } from "@ox-content/vite-plugin";
|
|
16
|
+
import emerald from "@ox-content/theme-color-emerald";
|
|
17
|
+
|
|
18
|
+
export default defineConfig({
|
|
19
|
+
plugins: [
|
|
20
|
+
oxContent({
|
|
21
|
+
srcDir: "docs",
|
|
22
|
+
ssg: { siteName: "My Docs", theme: emerald },
|
|
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, emerald, { 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
|
+
* Emerald — Vivid green over deep slate — the conference-badge palette.
|
|
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 emerald = {
|
|
16
|
+
name: "emerald",
|
|
17
|
+
colors: {
|
|
18
|
+
primary: "#0e8462",
|
|
19
|
+
primaryHover: "#0a664c",
|
|
20
|
+
background: "#fbfdfc",
|
|
21
|
+
backgroundAlt: "#eef5f2",
|
|
22
|
+
text: "#1b2b33",
|
|
23
|
+
textMuted: "#526d78",
|
|
24
|
+
border: "#d9eae3",
|
|
25
|
+
codeBackground: "#253440",
|
|
26
|
+
codeBackgroundTop: "#253440",
|
|
27
|
+
codeText: "#e7f2ee"
|
|
28
|
+
},
|
|
29
|
+
darkColors: {
|
|
30
|
+
primary: "#42d99f",
|
|
31
|
+
primaryHover: "#74e8bb",
|
|
32
|
+
background: "#101c22",
|
|
33
|
+
backgroundAlt: "#17262e",
|
|
34
|
+
text: "#e7f2ee",
|
|
35
|
+
textMuted: "#82a099",
|
|
36
|
+
border: "#22343c",
|
|
37
|
+
codeBackground: "#0b1418",
|
|
38
|
+
codeBackgroundTop: "#0b1418",
|
|
39
|
+
codeText: "#e7f2ee"
|
|
40
|
+
},
|
|
41
|
+
tokens: {
|
|
42
|
+
"color-code-line-highlight": "color-mix(in srgb, #2a6a9c 16%, transparent)",
|
|
43
|
+
"color-code-line-warning": "color-mix(in srgb, #8f6c10 18%, transparent)",
|
|
44
|
+
"color-code-line-warning-border": "#8f6c10",
|
|
45
|
+
"color-code-line-error": "color-mix(in srgb, #c9453f 20%, transparent)",
|
|
46
|
+
"color-code-line-error-border": "#c9453f",
|
|
47
|
+
"color-code-line-add": "color-mix(in srgb, #0f8a66 16%, transparent)",
|
|
48
|
+
"color-code-line-add-border": "#0f8a66",
|
|
49
|
+
"color-code-line-remove": "color-mix(in srgb, #c9453f 14%, transparent)",
|
|
50
|
+
"color-code-line-remove-border": "#c9453f",
|
|
51
|
+
"color-code-line-focus": "color-mix(in srgb, #0e8462 16%, transparent)",
|
|
52
|
+
"color-code-line-dim": "0.45",
|
|
53
|
+
"color-code-title-bg": "color-mix(in srgb, #253440 92%, #e7f2ee)",
|
|
54
|
+
"color-code-title-text": "color-mix(in srgb, #e7f2ee 88%, #253440)",
|
|
55
|
+
"color-code-title-border": "color-mix(in srgb, #e7f2ee 22%, transparent)",
|
|
56
|
+
"color-code-line-number": "color-mix(in srgb, #e7f2ee 48%, transparent)",
|
|
57
|
+
"color-code-frame-border": "color-mix(in srgb, #d9eae3 92%, transparent)",
|
|
58
|
+
"color-backdrop": "rgba(88, 89, 88, 0.62)",
|
|
59
|
+
"surface-glass": "color-mix(in srgb, #eef5f2 62%, #fbfdfc)",
|
|
60
|
+
"surface-line": "color-mix(in srgb, #d9eae3 72%, #fbfdfc)",
|
|
61
|
+
"brand-violet": "#7c4a91",
|
|
62
|
+
"brand-cyan": "#12808a",
|
|
63
|
+
"brand-lime": "#0f8a66",
|
|
64
|
+
"brand-coral": "#c9453f",
|
|
65
|
+
"brand-navy": "color-mix(in srgb, #1b2b33 70%, #fbfdfc)",
|
|
66
|
+
"brand-violet-rgb": "124, 74, 145",
|
|
67
|
+
"brand-cyan-rgb": "18, 128, 138",
|
|
68
|
+
"brand-lime-rgb": "15, 138, 102",
|
|
69
|
+
"brand-coral-rgb": "201, 69, 63",
|
|
70
|
+
"accent-a": "#0e8462",
|
|
71
|
+
"accent-b": "#7c4a91",
|
|
72
|
+
"accent-c": "#12808a",
|
|
73
|
+
"accent-warm": "#8f6c10",
|
|
74
|
+
"accent-cool": "#2a6a9c",
|
|
75
|
+
"accent-a-ink": "#0e8462",
|
|
76
|
+
"accent-b-ink": "#7c4a91",
|
|
77
|
+
"accent-c-ink": "#12808a",
|
|
78
|
+
"accent-warm-ink": "#8f6c10",
|
|
79
|
+
"accent-cool-ink": "#2a6a9c",
|
|
80
|
+
"accent-coral-ink": "#c9453f",
|
|
81
|
+
"shiki-foreground": "#e7f2ee",
|
|
82
|
+
"shiki-background": "#253440",
|
|
83
|
+
"shiki-token-comment": "color-mix(in srgb, #e7f2ee 55%, #253440)",
|
|
84
|
+
"shiki-token-punctuation": "color-mix(in srgb, #e7f2ee 72%, #253440)",
|
|
85
|
+
"shiki-token-keyword": "#cf94d8",
|
|
86
|
+
"shiki-token-string": "#42d99f",
|
|
87
|
+
"shiki-token-string-expression": "#42d99f",
|
|
88
|
+
"shiki-token-constant": "#ffd166",
|
|
89
|
+
"shiki-token-function": "#6fc0e8",
|
|
90
|
+
"shiki-token-parameter": "#ff7d72",
|
|
91
|
+
"shiki-token-link": "#4fd8d0"
|
|
92
|
+
},
|
|
93
|
+
darkTokens: {
|
|
94
|
+
"color-code-line-highlight": "color-mix(in srgb, #6fc0e8 16%, transparent)",
|
|
95
|
+
"color-code-line-warning": "color-mix(in srgb, #ffd166 18%, transparent)",
|
|
96
|
+
"color-code-line-warning-border": "#ffd166",
|
|
97
|
+
"color-code-line-error": "color-mix(in srgb, #ff7d72 20%, transparent)",
|
|
98
|
+
"color-code-line-error-border": "#ff7d72",
|
|
99
|
+
"color-code-line-add": "color-mix(in srgb, #42d99f 16%, transparent)",
|
|
100
|
+
"color-code-line-add-border": "#42d99f",
|
|
101
|
+
"color-code-line-remove": "color-mix(in srgb, #ff7d72 14%, transparent)",
|
|
102
|
+
"color-code-line-remove-border": "#ff7d72",
|
|
103
|
+
"color-code-line-focus": "color-mix(in srgb, #42d99f 16%, transparent)",
|
|
104
|
+
"color-code-line-dim": "0.35",
|
|
105
|
+
"color-code-title-bg": "color-mix(in srgb, #0b1418 92%, #e7f2ee)",
|
|
106
|
+
"color-code-title-text": "color-mix(in srgb, #e7f2ee 88%, #0b1418)",
|
|
107
|
+
"color-code-title-border": "color-mix(in srgb, #e7f2ee 22%, transparent)",
|
|
108
|
+
"color-code-line-number": "color-mix(in srgb, #e7f2ee 48%, transparent)",
|
|
109
|
+
"color-code-frame-border": "color-mix(in srgb, #22343c 92%, transparent)",
|
|
110
|
+
"color-backdrop": "rgba(6, 10, 12, 0.62)",
|
|
111
|
+
"surface-glass": "color-mix(in srgb, #17262e 62%, #101c22)",
|
|
112
|
+
"surface-line": "color-mix(in srgb, #22343c 72%, #101c22)",
|
|
113
|
+
"brand-violet": "#cf94d8",
|
|
114
|
+
"brand-cyan": "#4fd8d0",
|
|
115
|
+
"brand-lime": "#42d99f",
|
|
116
|
+
"brand-coral": "#ff7d72",
|
|
117
|
+
"brand-navy": "color-mix(in srgb, #e7f2ee 70%, #101c22)",
|
|
118
|
+
"brand-violet-rgb": "207, 148, 216",
|
|
119
|
+
"brand-cyan-rgb": "79, 216, 208",
|
|
120
|
+
"brand-lime-rgb": "66, 217, 159",
|
|
121
|
+
"brand-coral-rgb": "255, 125, 114",
|
|
122
|
+
"accent-a": "#42d99f",
|
|
123
|
+
"accent-b": "#cf94d8",
|
|
124
|
+
"accent-c": "#4fd8d0",
|
|
125
|
+
"accent-warm": "#ffd166",
|
|
126
|
+
"accent-cool": "#6fc0e8",
|
|
127
|
+
"accent-a-ink": "#42d99f",
|
|
128
|
+
"accent-b-ink": "#cf94d8",
|
|
129
|
+
"accent-c-ink": "#4fd8d0",
|
|
130
|
+
"accent-warm-ink": "#ffd166",
|
|
131
|
+
"accent-cool-ink": "#6fc0e8",
|
|
132
|
+
"accent-coral-ink": "#ff7d72",
|
|
133
|
+
"shiki-foreground": "#e7f2ee",
|
|
134
|
+
"shiki-background": "#0b1418",
|
|
135
|
+
"shiki-token-comment": "color-mix(in srgb, #e7f2ee 55%, #0b1418)",
|
|
136
|
+
"shiki-token-punctuation": "color-mix(in srgb, #e7f2ee 72%, #0b1418)",
|
|
137
|
+
"shiki-token-keyword": "#cf94d8",
|
|
138
|
+
"shiki-token-string": "#42d99f",
|
|
139
|
+
"shiki-token-string-expression": "#42d99f",
|
|
140
|
+
"shiki-token-constant": "#ffd166",
|
|
141
|
+
"shiki-token-function": "#6fc0e8",
|
|
142
|
+
"shiki-token-parameter": "#ff7d72",
|
|
143
|
+
"shiki-token-link": "#4fd8d0"
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
//#endregion
|
|
147
|
+
exports.default = emerald;
|
|
148
|
+
exports.emerald = emerald;
|
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
|
+
* Emerald — Vivid green over deep slate — the conference-badge palette.
|
|
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 emerald: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { emerald as default, emerald };
|
|
15
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,SAAS"}
|
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
|
+
* Emerald — Vivid green over deep slate — the conference-badge palette.
|
|
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 emerald: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { emerald as default, emerald };
|
|
15
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,SAAS"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
//#region src/index.ts
|
|
2
|
+
/**
|
|
3
|
+
* Emerald — Vivid green over deep slate — the conference-badge palette.
|
|
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 emerald = {
|
|
12
|
+
name: "emerald",
|
|
13
|
+
colors: {
|
|
14
|
+
primary: "#0e8462",
|
|
15
|
+
primaryHover: "#0a664c",
|
|
16
|
+
background: "#fbfdfc",
|
|
17
|
+
backgroundAlt: "#eef5f2",
|
|
18
|
+
text: "#1b2b33",
|
|
19
|
+
textMuted: "#526d78",
|
|
20
|
+
border: "#d9eae3",
|
|
21
|
+
codeBackground: "#253440",
|
|
22
|
+
codeBackgroundTop: "#253440",
|
|
23
|
+
codeText: "#e7f2ee"
|
|
24
|
+
},
|
|
25
|
+
darkColors: {
|
|
26
|
+
primary: "#42d99f",
|
|
27
|
+
primaryHover: "#74e8bb",
|
|
28
|
+
background: "#101c22",
|
|
29
|
+
backgroundAlt: "#17262e",
|
|
30
|
+
text: "#e7f2ee",
|
|
31
|
+
textMuted: "#82a099",
|
|
32
|
+
border: "#22343c",
|
|
33
|
+
codeBackground: "#0b1418",
|
|
34
|
+
codeBackgroundTop: "#0b1418",
|
|
35
|
+
codeText: "#e7f2ee"
|
|
36
|
+
},
|
|
37
|
+
tokens: {
|
|
38
|
+
"color-code-line-highlight": "color-mix(in srgb, #2a6a9c 16%, transparent)",
|
|
39
|
+
"color-code-line-warning": "color-mix(in srgb, #8f6c10 18%, transparent)",
|
|
40
|
+
"color-code-line-warning-border": "#8f6c10",
|
|
41
|
+
"color-code-line-error": "color-mix(in srgb, #c9453f 20%, transparent)",
|
|
42
|
+
"color-code-line-error-border": "#c9453f",
|
|
43
|
+
"color-code-line-add": "color-mix(in srgb, #0f8a66 16%, transparent)",
|
|
44
|
+
"color-code-line-add-border": "#0f8a66",
|
|
45
|
+
"color-code-line-remove": "color-mix(in srgb, #c9453f 14%, transparent)",
|
|
46
|
+
"color-code-line-remove-border": "#c9453f",
|
|
47
|
+
"color-code-line-focus": "color-mix(in srgb, #0e8462 16%, transparent)",
|
|
48
|
+
"color-code-line-dim": "0.45",
|
|
49
|
+
"color-code-title-bg": "color-mix(in srgb, #253440 92%, #e7f2ee)",
|
|
50
|
+
"color-code-title-text": "color-mix(in srgb, #e7f2ee 88%, #253440)",
|
|
51
|
+
"color-code-title-border": "color-mix(in srgb, #e7f2ee 22%, transparent)",
|
|
52
|
+
"color-code-line-number": "color-mix(in srgb, #e7f2ee 48%, transparent)",
|
|
53
|
+
"color-code-frame-border": "color-mix(in srgb, #d9eae3 92%, transparent)",
|
|
54
|
+
"color-backdrop": "rgba(88, 89, 88, 0.62)",
|
|
55
|
+
"surface-glass": "color-mix(in srgb, #eef5f2 62%, #fbfdfc)",
|
|
56
|
+
"surface-line": "color-mix(in srgb, #d9eae3 72%, #fbfdfc)",
|
|
57
|
+
"brand-violet": "#7c4a91",
|
|
58
|
+
"brand-cyan": "#12808a",
|
|
59
|
+
"brand-lime": "#0f8a66",
|
|
60
|
+
"brand-coral": "#c9453f",
|
|
61
|
+
"brand-navy": "color-mix(in srgb, #1b2b33 70%, #fbfdfc)",
|
|
62
|
+
"brand-violet-rgb": "124, 74, 145",
|
|
63
|
+
"brand-cyan-rgb": "18, 128, 138",
|
|
64
|
+
"brand-lime-rgb": "15, 138, 102",
|
|
65
|
+
"brand-coral-rgb": "201, 69, 63",
|
|
66
|
+
"accent-a": "#0e8462",
|
|
67
|
+
"accent-b": "#7c4a91",
|
|
68
|
+
"accent-c": "#12808a",
|
|
69
|
+
"accent-warm": "#8f6c10",
|
|
70
|
+
"accent-cool": "#2a6a9c",
|
|
71
|
+
"accent-a-ink": "#0e8462",
|
|
72
|
+
"accent-b-ink": "#7c4a91",
|
|
73
|
+
"accent-c-ink": "#12808a",
|
|
74
|
+
"accent-warm-ink": "#8f6c10",
|
|
75
|
+
"accent-cool-ink": "#2a6a9c",
|
|
76
|
+
"accent-coral-ink": "#c9453f",
|
|
77
|
+
"shiki-foreground": "#e7f2ee",
|
|
78
|
+
"shiki-background": "#253440",
|
|
79
|
+
"shiki-token-comment": "color-mix(in srgb, #e7f2ee 55%, #253440)",
|
|
80
|
+
"shiki-token-punctuation": "color-mix(in srgb, #e7f2ee 72%, #253440)",
|
|
81
|
+
"shiki-token-keyword": "#cf94d8",
|
|
82
|
+
"shiki-token-string": "#42d99f",
|
|
83
|
+
"shiki-token-string-expression": "#42d99f",
|
|
84
|
+
"shiki-token-constant": "#ffd166",
|
|
85
|
+
"shiki-token-function": "#6fc0e8",
|
|
86
|
+
"shiki-token-parameter": "#ff7d72",
|
|
87
|
+
"shiki-token-link": "#4fd8d0"
|
|
88
|
+
},
|
|
89
|
+
darkTokens: {
|
|
90
|
+
"color-code-line-highlight": "color-mix(in srgb, #6fc0e8 16%, transparent)",
|
|
91
|
+
"color-code-line-warning": "color-mix(in srgb, #ffd166 18%, transparent)",
|
|
92
|
+
"color-code-line-warning-border": "#ffd166",
|
|
93
|
+
"color-code-line-error": "color-mix(in srgb, #ff7d72 20%, transparent)",
|
|
94
|
+
"color-code-line-error-border": "#ff7d72",
|
|
95
|
+
"color-code-line-add": "color-mix(in srgb, #42d99f 16%, transparent)",
|
|
96
|
+
"color-code-line-add-border": "#42d99f",
|
|
97
|
+
"color-code-line-remove": "color-mix(in srgb, #ff7d72 14%, transparent)",
|
|
98
|
+
"color-code-line-remove-border": "#ff7d72",
|
|
99
|
+
"color-code-line-focus": "color-mix(in srgb, #42d99f 16%, transparent)",
|
|
100
|
+
"color-code-line-dim": "0.35",
|
|
101
|
+
"color-code-title-bg": "color-mix(in srgb, #0b1418 92%, #e7f2ee)",
|
|
102
|
+
"color-code-title-text": "color-mix(in srgb, #e7f2ee 88%, #0b1418)",
|
|
103
|
+
"color-code-title-border": "color-mix(in srgb, #e7f2ee 22%, transparent)",
|
|
104
|
+
"color-code-line-number": "color-mix(in srgb, #e7f2ee 48%, transparent)",
|
|
105
|
+
"color-code-frame-border": "color-mix(in srgb, #22343c 92%, transparent)",
|
|
106
|
+
"color-backdrop": "rgba(6, 10, 12, 0.62)",
|
|
107
|
+
"surface-glass": "color-mix(in srgb, #17262e 62%, #101c22)",
|
|
108
|
+
"surface-line": "color-mix(in srgb, #22343c 72%, #101c22)",
|
|
109
|
+
"brand-violet": "#cf94d8",
|
|
110
|
+
"brand-cyan": "#4fd8d0",
|
|
111
|
+
"brand-lime": "#42d99f",
|
|
112
|
+
"brand-coral": "#ff7d72",
|
|
113
|
+
"brand-navy": "color-mix(in srgb, #e7f2ee 70%, #101c22)",
|
|
114
|
+
"brand-violet-rgb": "207, 148, 216",
|
|
115
|
+
"brand-cyan-rgb": "79, 216, 208",
|
|
116
|
+
"brand-lime-rgb": "66, 217, 159",
|
|
117
|
+
"brand-coral-rgb": "255, 125, 114",
|
|
118
|
+
"accent-a": "#42d99f",
|
|
119
|
+
"accent-b": "#cf94d8",
|
|
120
|
+
"accent-c": "#4fd8d0",
|
|
121
|
+
"accent-warm": "#ffd166",
|
|
122
|
+
"accent-cool": "#6fc0e8",
|
|
123
|
+
"accent-a-ink": "#42d99f",
|
|
124
|
+
"accent-b-ink": "#cf94d8",
|
|
125
|
+
"accent-c-ink": "#4fd8d0",
|
|
126
|
+
"accent-warm-ink": "#ffd166",
|
|
127
|
+
"accent-cool-ink": "#6fc0e8",
|
|
128
|
+
"accent-coral-ink": "#ff7d72",
|
|
129
|
+
"shiki-foreground": "#e7f2ee",
|
|
130
|
+
"shiki-background": "#0b1418",
|
|
131
|
+
"shiki-token-comment": "color-mix(in srgb, #e7f2ee 55%, #0b1418)",
|
|
132
|
+
"shiki-token-punctuation": "color-mix(in srgb, #e7f2ee 72%, #0b1418)",
|
|
133
|
+
"shiki-token-keyword": "#cf94d8",
|
|
134
|
+
"shiki-token-string": "#42d99f",
|
|
135
|
+
"shiki-token-string-expression": "#42d99f",
|
|
136
|
+
"shiki-token-constant": "#ffd166",
|
|
137
|
+
"shiki-token-function": "#6fc0e8",
|
|
138
|
+
"shiki-token-parameter": "#ff7d72",
|
|
139
|
+
"shiki-token-link": "#4fd8d0"
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
export { emerald as default, emerald };
|
|
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 * Emerald — Vivid green over deep slate — the conference-badge palette.\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 emerald: ThemeConfig = {\n name: \"emerald\",\n colors: {\n primary: \"#0e8462\",\n primaryHover: \"#0a664c\",\n background: \"#fbfdfc\",\n backgroundAlt: \"#eef5f2\",\n text: \"#1b2b33\",\n textMuted: \"#526d78\",\n border: \"#d9eae3\",\n codeBackground: \"#253440\",\n codeBackgroundTop: \"#253440\",\n codeText: \"#e7f2ee\",\n },\n darkColors: {\n primary: \"#42d99f\",\n primaryHover: \"#74e8bb\",\n background: \"#101c22\",\n backgroundAlt: \"#17262e\",\n text: \"#e7f2ee\",\n textMuted: \"#82a099\",\n border: \"#22343c\",\n codeBackground: \"#0b1418\",\n codeBackgroundTop: \"#0b1418\",\n codeText: \"#e7f2ee\",\n },\n tokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #2a6a9c 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #8f6c10 18%, transparent)\",\n \"color-code-line-warning-border\": \"#8f6c10\",\n \"color-code-line-error\": \"color-mix(in srgb, #c9453f 20%, transparent)\",\n \"color-code-line-error-border\": \"#c9453f\",\n \"color-code-line-add\": \"color-mix(in srgb, #0f8a66 16%, transparent)\",\n \"color-code-line-add-border\": \"#0f8a66\",\n \"color-code-line-remove\": \"color-mix(in srgb, #c9453f 14%, transparent)\",\n \"color-code-line-remove-border\": \"#c9453f\",\n \"color-code-line-focus\": \"color-mix(in srgb, #0e8462 16%, transparent)\",\n \"color-code-line-dim\": \"0.45\",\n \"color-code-title-bg\": \"color-mix(in srgb, #253440 92%, #e7f2ee)\",\n \"color-code-title-text\": \"color-mix(in srgb, #e7f2ee 88%, #253440)\",\n \"color-code-title-border\": \"color-mix(in srgb, #e7f2ee 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #e7f2ee 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #d9eae3 92%, transparent)\",\n \"color-backdrop\": \"rgba(88, 89, 88, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #eef5f2 62%, #fbfdfc)\",\n \"surface-line\": \"color-mix(in srgb, #d9eae3 72%, #fbfdfc)\",\n \"brand-violet\": \"#7c4a91\",\n \"brand-cyan\": \"#12808a\",\n \"brand-lime\": \"#0f8a66\",\n \"brand-coral\": \"#c9453f\",\n \"brand-navy\": \"color-mix(in srgb, #1b2b33 70%, #fbfdfc)\",\n \"brand-violet-rgb\": \"124, 74, 145\",\n \"brand-cyan-rgb\": \"18, 128, 138\",\n \"brand-lime-rgb\": \"15, 138, 102\",\n \"brand-coral-rgb\": \"201, 69, 63\",\n \"accent-a\": \"#0e8462\",\n \"accent-b\": \"#7c4a91\",\n \"accent-c\": \"#12808a\",\n \"accent-warm\": \"#8f6c10\",\n \"accent-cool\": \"#2a6a9c\",\n \"accent-a-ink\": \"#0e8462\",\n \"accent-b-ink\": \"#7c4a91\",\n \"accent-c-ink\": \"#12808a\",\n \"accent-warm-ink\": \"#8f6c10\",\n \"accent-cool-ink\": \"#2a6a9c\",\n \"accent-coral-ink\": \"#c9453f\",\n \"shiki-foreground\": \"#e7f2ee\",\n \"shiki-background\": \"#253440\",\n \"shiki-token-comment\": \"color-mix(in srgb, #e7f2ee 55%, #253440)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #e7f2ee 72%, #253440)\",\n \"shiki-token-keyword\": \"#cf94d8\",\n \"shiki-token-string\": \"#42d99f\",\n \"shiki-token-string-expression\": \"#42d99f\",\n \"shiki-token-constant\": \"#ffd166\",\n \"shiki-token-function\": \"#6fc0e8\",\n \"shiki-token-parameter\": \"#ff7d72\",\n \"shiki-token-link\": \"#4fd8d0\",\n },\n darkTokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #6fc0e8 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #ffd166 18%, transparent)\",\n \"color-code-line-warning-border\": \"#ffd166\",\n \"color-code-line-error\": \"color-mix(in srgb, #ff7d72 20%, transparent)\",\n \"color-code-line-error-border\": \"#ff7d72\",\n \"color-code-line-add\": \"color-mix(in srgb, #42d99f 16%, transparent)\",\n \"color-code-line-add-border\": \"#42d99f\",\n \"color-code-line-remove\": \"color-mix(in srgb, #ff7d72 14%, transparent)\",\n \"color-code-line-remove-border\": \"#ff7d72\",\n \"color-code-line-focus\": \"color-mix(in srgb, #42d99f 16%, transparent)\",\n \"color-code-line-dim\": \"0.35\",\n \"color-code-title-bg\": \"color-mix(in srgb, #0b1418 92%, #e7f2ee)\",\n \"color-code-title-text\": \"color-mix(in srgb, #e7f2ee 88%, #0b1418)\",\n \"color-code-title-border\": \"color-mix(in srgb, #e7f2ee 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #e7f2ee 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #22343c 92%, transparent)\",\n \"color-backdrop\": \"rgba(6, 10, 12, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #17262e 62%, #101c22)\",\n \"surface-line\": \"color-mix(in srgb, #22343c 72%, #101c22)\",\n \"brand-violet\": \"#cf94d8\",\n \"brand-cyan\": \"#4fd8d0\",\n \"brand-lime\": \"#42d99f\",\n \"brand-coral\": \"#ff7d72\",\n \"brand-navy\": \"color-mix(in srgb, #e7f2ee 70%, #101c22)\",\n \"brand-violet-rgb\": \"207, 148, 216\",\n \"brand-cyan-rgb\": \"79, 216, 208\",\n \"brand-lime-rgb\": \"66, 217, 159\",\n \"brand-coral-rgb\": \"255, 125, 114\",\n \"accent-a\": \"#42d99f\",\n \"accent-b\": \"#cf94d8\",\n \"accent-c\": \"#4fd8d0\",\n \"accent-warm\": \"#ffd166\",\n \"accent-cool\": \"#6fc0e8\",\n \"accent-a-ink\": \"#42d99f\",\n \"accent-b-ink\": \"#cf94d8\",\n \"accent-c-ink\": \"#4fd8d0\",\n \"accent-warm-ink\": \"#ffd166\",\n \"accent-cool-ink\": \"#6fc0e8\",\n \"accent-coral-ink\": \"#ff7d72\",\n \"shiki-foreground\": \"#e7f2ee\",\n \"shiki-background\": \"#0b1418\",\n \"shiki-token-comment\": \"color-mix(in srgb, #e7f2ee 55%, #0b1418)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #e7f2ee 72%, #0b1418)\",\n \"shiki-token-keyword\": \"#cf94d8\",\n \"shiki-token-string\": \"#42d99f\",\n \"shiki-token-string-expression\": \"#42d99f\",\n \"shiki-token-constant\": \"#ffd166\",\n \"shiki-token-function\": \"#6fc0e8\",\n \"shiki-token-parameter\": \"#ff7d72\",\n \"shiki-token-link\": \"#4fd8d0\",\n },\n};\n\nexport default emerald;\n"],"mappings":";;;;;;;;;;AAWA,MAAa,UAAuB;CAClC,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-emerald",
|
|
3
|
+
"version": "2.84.0",
|
|
4
|
+
"description": "Vivid green over deep slate — the conference-badge palette — an Ox Content color scheme that composes with any @ox-content/theme-* skin",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"color-scheme",
|
|
7
|
+
"documentation",
|
|
8
|
+
"emerald",
|
|
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/emerald"
|
|
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
|
+
}
|