@ox-content/theme-color-flexoki 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-flexoki
|
|
2
|
+
|
|
3
|
+
Flexoki — Ink and paper, tuned for e-ink-like calm — 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-flexoki
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
// vite.config.ts
|
|
14
|
+
import { defineConfig } from "vite";
|
|
15
|
+
import { oxContent } from "@ox-content/vite-plugin";
|
|
16
|
+
import flexoki from "@ox-content/theme-color-flexoki";
|
|
17
|
+
|
|
18
|
+
export default defineConfig({
|
|
19
|
+
plugins: [
|
|
20
|
+
oxContent({
|
|
21
|
+
srcDir: "docs",
|
|
22
|
+
ssg: { siteName: "My Docs", theme: flexoki },
|
|
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, flexoki, { 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
|
+
* Flexoki — Ink and paper, tuned for e-ink-like calm.
|
|
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 flexoki = {
|
|
16
|
+
name: "flexoki",
|
|
17
|
+
colors: {
|
|
18
|
+
primary: "#237e76",
|
|
19
|
+
primaryHover: "#1c6c66",
|
|
20
|
+
background: "#fffcf0",
|
|
21
|
+
backgroundAlt: "#f2f0e5",
|
|
22
|
+
text: "#100f0f",
|
|
23
|
+
textMuted: "#6f6e69",
|
|
24
|
+
border: "#e6e4d9",
|
|
25
|
+
codeBackground: "#f2f0e5",
|
|
26
|
+
codeBackgroundTop: "#f2f0e5",
|
|
27
|
+
codeText: "#100f0f"
|
|
28
|
+
},
|
|
29
|
+
darkColors: {
|
|
30
|
+
primary: "#3aa99f",
|
|
31
|
+
primaryHover: "#5abdb3",
|
|
32
|
+
background: "#100f0f",
|
|
33
|
+
backgroundAlt: "#1c1b1a",
|
|
34
|
+
text: "#fffcf0",
|
|
35
|
+
textMuted: "#878580",
|
|
36
|
+
border: "#282726",
|
|
37
|
+
codeBackground: "#1c1b1a",
|
|
38
|
+
codeBackgroundTop: "#1c1b1a",
|
|
39
|
+
codeText: "#fffcf0"
|
|
40
|
+
},
|
|
41
|
+
tokens: {
|
|
42
|
+
"color-code-line-highlight": "color-mix(in srgb, #205ea6 16%, transparent)",
|
|
43
|
+
"color-code-line-warning": "color-mix(in srgb, #ad8301 18%, transparent)",
|
|
44
|
+
"color-code-line-warning-border": "#ad8301",
|
|
45
|
+
"color-code-line-error": "color-mix(in srgb, #af3029 20%, transparent)",
|
|
46
|
+
"color-code-line-error-border": "#af3029",
|
|
47
|
+
"color-code-line-add": "color-mix(in srgb, #66800b 16%, transparent)",
|
|
48
|
+
"color-code-line-add-border": "#66800b",
|
|
49
|
+
"color-code-line-remove": "color-mix(in srgb, #af3029 14%, transparent)",
|
|
50
|
+
"color-code-line-remove-border": "#af3029",
|
|
51
|
+
"color-code-line-focus": "color-mix(in srgb, #237e76 16%, transparent)",
|
|
52
|
+
"color-code-line-dim": "0.45",
|
|
53
|
+
"color-code-title-bg": "color-mix(in srgb, #f2f0e5 92%, #100f0f)",
|
|
54
|
+
"color-code-title-text": "color-mix(in srgb, #100f0f 88%, #f2f0e5)",
|
|
55
|
+
"color-code-title-border": "color-mix(in srgb, #100f0f 22%, transparent)",
|
|
56
|
+
"color-code-line-number": "color-mix(in srgb, #100f0f 48%, transparent)",
|
|
57
|
+
"color-code-frame-border": "color-mix(in srgb, #e6e4d9 92%, transparent)",
|
|
58
|
+
"color-backdrop": "rgba(89, 88, 84, 0.62)",
|
|
59
|
+
"surface-glass": "color-mix(in srgb, #f2f0e5 62%, #fffcf0)",
|
|
60
|
+
"surface-line": "color-mix(in srgb, #e6e4d9 72%, #fffcf0)",
|
|
61
|
+
"brand-violet": "#a02f6f",
|
|
62
|
+
"brand-cyan": "#24837b",
|
|
63
|
+
"brand-lime": "#66800b",
|
|
64
|
+
"brand-coral": "#af3029",
|
|
65
|
+
"brand-navy": "color-mix(in srgb, #100f0f 70%, #fffcf0)",
|
|
66
|
+
"brand-violet-rgb": "160, 47, 111",
|
|
67
|
+
"brand-cyan-rgb": "36, 131, 123",
|
|
68
|
+
"brand-lime-rgb": "102, 128, 11",
|
|
69
|
+
"brand-coral-rgb": "175, 48, 41",
|
|
70
|
+
"accent-a": "#237e76",
|
|
71
|
+
"accent-b": "#a02f6f",
|
|
72
|
+
"accent-c": "#24837b",
|
|
73
|
+
"accent-warm": "#ad8301",
|
|
74
|
+
"accent-cool": "#205ea6",
|
|
75
|
+
"accent-a-ink": "#237e76",
|
|
76
|
+
"accent-b-ink": "#a02f6f",
|
|
77
|
+
"accent-c-ink": "#237e76",
|
|
78
|
+
"accent-warm-ink": "#916e01",
|
|
79
|
+
"accent-cool-ink": "#205ea6",
|
|
80
|
+
"accent-coral-ink": "#af3029",
|
|
81
|
+
"shiki-foreground": "#100f0f",
|
|
82
|
+
"shiki-background": "#f2f0e5",
|
|
83
|
+
"shiki-token-comment": "color-mix(in srgb, #100f0f 55%, #f2f0e5)",
|
|
84
|
+
"shiki-token-punctuation": "color-mix(in srgb, #100f0f 72%, #f2f0e5)",
|
|
85
|
+
"shiki-token-keyword": "#a02f6f",
|
|
86
|
+
"shiki-token-string": "#66800b",
|
|
87
|
+
"shiki-token-string-expression": "#66800b",
|
|
88
|
+
"shiki-token-constant": "#ad8301",
|
|
89
|
+
"shiki-token-function": "#205ea6",
|
|
90
|
+
"shiki-token-parameter": "#af3029",
|
|
91
|
+
"shiki-token-link": "#24837b"
|
|
92
|
+
},
|
|
93
|
+
darkTokens: {
|
|
94
|
+
"color-code-line-highlight": "color-mix(in srgb, #4385be 16%, transparent)",
|
|
95
|
+
"color-code-line-warning": "color-mix(in srgb, #d0a215 18%, transparent)",
|
|
96
|
+
"color-code-line-warning-border": "#d0a215",
|
|
97
|
+
"color-code-line-error": "color-mix(in srgb, #d14d41 20%, transparent)",
|
|
98
|
+
"color-code-line-error-border": "#d14d41",
|
|
99
|
+
"color-code-line-add": "color-mix(in srgb, #879a39 16%, transparent)",
|
|
100
|
+
"color-code-line-add-border": "#879a39",
|
|
101
|
+
"color-code-line-remove": "color-mix(in srgb, #d14d41 14%, transparent)",
|
|
102
|
+
"color-code-line-remove-border": "#d14d41",
|
|
103
|
+
"color-code-line-focus": "color-mix(in srgb, #3aa99f 16%, transparent)",
|
|
104
|
+
"color-code-line-dim": "0.35",
|
|
105
|
+
"color-code-title-bg": "color-mix(in srgb, #1c1b1a 92%, #fffcf0)",
|
|
106
|
+
"color-code-title-text": "color-mix(in srgb, #fffcf0 88%, #1c1b1a)",
|
|
107
|
+
"color-code-title-border": "color-mix(in srgb, #fffcf0 22%, transparent)",
|
|
108
|
+
"color-code-line-number": "color-mix(in srgb, #fffcf0 48%, transparent)",
|
|
109
|
+
"color-code-frame-border": "color-mix(in srgb, #282726 92%, transparent)",
|
|
110
|
+
"color-backdrop": "rgba(6, 5, 5, 0.62)",
|
|
111
|
+
"surface-glass": "color-mix(in srgb, #1c1b1a 62%, #100f0f)",
|
|
112
|
+
"surface-line": "color-mix(in srgb, #282726 72%, #100f0f)",
|
|
113
|
+
"brand-violet": "#ce5d97",
|
|
114
|
+
"brand-cyan": "#3aa99f",
|
|
115
|
+
"brand-lime": "#879a39",
|
|
116
|
+
"brand-coral": "#d14d41",
|
|
117
|
+
"brand-navy": "color-mix(in srgb, #fffcf0 70%, #100f0f)",
|
|
118
|
+
"brand-violet-rgb": "206, 93, 151",
|
|
119
|
+
"brand-cyan-rgb": "58, 169, 159",
|
|
120
|
+
"brand-lime-rgb": "135, 154, 57",
|
|
121
|
+
"brand-coral-rgb": "209, 77, 65",
|
|
122
|
+
"accent-a": "#3aa99f",
|
|
123
|
+
"accent-b": "#ce5d97",
|
|
124
|
+
"accent-c": "#3aa99f",
|
|
125
|
+
"accent-warm": "#d0a215",
|
|
126
|
+
"accent-cool": "#4385be",
|
|
127
|
+
"accent-a-ink": "#3aa99f",
|
|
128
|
+
"accent-b-ink": "#ce5d97",
|
|
129
|
+
"accent-c-ink": "#3aa99f",
|
|
130
|
+
"accent-warm-ink": "#d0a215",
|
|
131
|
+
"accent-cool-ink": "#4385be",
|
|
132
|
+
"accent-coral-ink": "#d35449",
|
|
133
|
+
"shiki-foreground": "#fffcf0",
|
|
134
|
+
"shiki-background": "#1c1b1a",
|
|
135
|
+
"shiki-token-comment": "color-mix(in srgb, #fffcf0 55%, #1c1b1a)",
|
|
136
|
+
"shiki-token-punctuation": "color-mix(in srgb, #fffcf0 72%, #1c1b1a)",
|
|
137
|
+
"shiki-token-keyword": "#ce5d97",
|
|
138
|
+
"shiki-token-string": "#879a39",
|
|
139
|
+
"shiki-token-string-expression": "#879a39",
|
|
140
|
+
"shiki-token-constant": "#d0a215",
|
|
141
|
+
"shiki-token-function": "#4385be",
|
|
142
|
+
"shiki-token-parameter": "#d14d41",
|
|
143
|
+
"shiki-token-link": "#3aa99f"
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
//#endregion
|
|
147
|
+
exports.default = flexoki;
|
|
148
|
+
exports.flexoki = flexoki;
|
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
|
+
* Flexoki — Ink and paper, tuned for e-ink-like calm.
|
|
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 flexoki: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { flexoki as default, flexoki };
|
|
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
|
+
* Flexoki — Ink and paper, tuned for e-ink-like calm.
|
|
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 flexoki: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { flexoki as default, flexoki };
|
|
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
|
+
* Flexoki — Ink and paper, tuned for e-ink-like calm.
|
|
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 flexoki = {
|
|
12
|
+
name: "flexoki",
|
|
13
|
+
colors: {
|
|
14
|
+
primary: "#237e76",
|
|
15
|
+
primaryHover: "#1c6c66",
|
|
16
|
+
background: "#fffcf0",
|
|
17
|
+
backgroundAlt: "#f2f0e5",
|
|
18
|
+
text: "#100f0f",
|
|
19
|
+
textMuted: "#6f6e69",
|
|
20
|
+
border: "#e6e4d9",
|
|
21
|
+
codeBackground: "#f2f0e5",
|
|
22
|
+
codeBackgroundTop: "#f2f0e5",
|
|
23
|
+
codeText: "#100f0f"
|
|
24
|
+
},
|
|
25
|
+
darkColors: {
|
|
26
|
+
primary: "#3aa99f",
|
|
27
|
+
primaryHover: "#5abdb3",
|
|
28
|
+
background: "#100f0f",
|
|
29
|
+
backgroundAlt: "#1c1b1a",
|
|
30
|
+
text: "#fffcf0",
|
|
31
|
+
textMuted: "#878580",
|
|
32
|
+
border: "#282726",
|
|
33
|
+
codeBackground: "#1c1b1a",
|
|
34
|
+
codeBackgroundTop: "#1c1b1a",
|
|
35
|
+
codeText: "#fffcf0"
|
|
36
|
+
},
|
|
37
|
+
tokens: {
|
|
38
|
+
"color-code-line-highlight": "color-mix(in srgb, #205ea6 16%, transparent)",
|
|
39
|
+
"color-code-line-warning": "color-mix(in srgb, #ad8301 18%, transparent)",
|
|
40
|
+
"color-code-line-warning-border": "#ad8301",
|
|
41
|
+
"color-code-line-error": "color-mix(in srgb, #af3029 20%, transparent)",
|
|
42
|
+
"color-code-line-error-border": "#af3029",
|
|
43
|
+
"color-code-line-add": "color-mix(in srgb, #66800b 16%, transparent)",
|
|
44
|
+
"color-code-line-add-border": "#66800b",
|
|
45
|
+
"color-code-line-remove": "color-mix(in srgb, #af3029 14%, transparent)",
|
|
46
|
+
"color-code-line-remove-border": "#af3029",
|
|
47
|
+
"color-code-line-focus": "color-mix(in srgb, #237e76 16%, transparent)",
|
|
48
|
+
"color-code-line-dim": "0.45",
|
|
49
|
+
"color-code-title-bg": "color-mix(in srgb, #f2f0e5 92%, #100f0f)",
|
|
50
|
+
"color-code-title-text": "color-mix(in srgb, #100f0f 88%, #f2f0e5)",
|
|
51
|
+
"color-code-title-border": "color-mix(in srgb, #100f0f 22%, transparent)",
|
|
52
|
+
"color-code-line-number": "color-mix(in srgb, #100f0f 48%, transparent)",
|
|
53
|
+
"color-code-frame-border": "color-mix(in srgb, #e6e4d9 92%, transparent)",
|
|
54
|
+
"color-backdrop": "rgba(89, 88, 84, 0.62)",
|
|
55
|
+
"surface-glass": "color-mix(in srgb, #f2f0e5 62%, #fffcf0)",
|
|
56
|
+
"surface-line": "color-mix(in srgb, #e6e4d9 72%, #fffcf0)",
|
|
57
|
+
"brand-violet": "#a02f6f",
|
|
58
|
+
"brand-cyan": "#24837b",
|
|
59
|
+
"brand-lime": "#66800b",
|
|
60
|
+
"brand-coral": "#af3029",
|
|
61
|
+
"brand-navy": "color-mix(in srgb, #100f0f 70%, #fffcf0)",
|
|
62
|
+
"brand-violet-rgb": "160, 47, 111",
|
|
63
|
+
"brand-cyan-rgb": "36, 131, 123",
|
|
64
|
+
"brand-lime-rgb": "102, 128, 11",
|
|
65
|
+
"brand-coral-rgb": "175, 48, 41",
|
|
66
|
+
"accent-a": "#237e76",
|
|
67
|
+
"accent-b": "#a02f6f",
|
|
68
|
+
"accent-c": "#24837b",
|
|
69
|
+
"accent-warm": "#ad8301",
|
|
70
|
+
"accent-cool": "#205ea6",
|
|
71
|
+
"accent-a-ink": "#237e76",
|
|
72
|
+
"accent-b-ink": "#a02f6f",
|
|
73
|
+
"accent-c-ink": "#237e76",
|
|
74
|
+
"accent-warm-ink": "#916e01",
|
|
75
|
+
"accent-cool-ink": "#205ea6",
|
|
76
|
+
"accent-coral-ink": "#af3029",
|
|
77
|
+
"shiki-foreground": "#100f0f",
|
|
78
|
+
"shiki-background": "#f2f0e5",
|
|
79
|
+
"shiki-token-comment": "color-mix(in srgb, #100f0f 55%, #f2f0e5)",
|
|
80
|
+
"shiki-token-punctuation": "color-mix(in srgb, #100f0f 72%, #f2f0e5)",
|
|
81
|
+
"shiki-token-keyword": "#a02f6f",
|
|
82
|
+
"shiki-token-string": "#66800b",
|
|
83
|
+
"shiki-token-string-expression": "#66800b",
|
|
84
|
+
"shiki-token-constant": "#ad8301",
|
|
85
|
+
"shiki-token-function": "#205ea6",
|
|
86
|
+
"shiki-token-parameter": "#af3029",
|
|
87
|
+
"shiki-token-link": "#24837b"
|
|
88
|
+
},
|
|
89
|
+
darkTokens: {
|
|
90
|
+
"color-code-line-highlight": "color-mix(in srgb, #4385be 16%, transparent)",
|
|
91
|
+
"color-code-line-warning": "color-mix(in srgb, #d0a215 18%, transparent)",
|
|
92
|
+
"color-code-line-warning-border": "#d0a215",
|
|
93
|
+
"color-code-line-error": "color-mix(in srgb, #d14d41 20%, transparent)",
|
|
94
|
+
"color-code-line-error-border": "#d14d41",
|
|
95
|
+
"color-code-line-add": "color-mix(in srgb, #879a39 16%, transparent)",
|
|
96
|
+
"color-code-line-add-border": "#879a39",
|
|
97
|
+
"color-code-line-remove": "color-mix(in srgb, #d14d41 14%, transparent)",
|
|
98
|
+
"color-code-line-remove-border": "#d14d41",
|
|
99
|
+
"color-code-line-focus": "color-mix(in srgb, #3aa99f 16%, transparent)",
|
|
100
|
+
"color-code-line-dim": "0.35",
|
|
101
|
+
"color-code-title-bg": "color-mix(in srgb, #1c1b1a 92%, #fffcf0)",
|
|
102
|
+
"color-code-title-text": "color-mix(in srgb, #fffcf0 88%, #1c1b1a)",
|
|
103
|
+
"color-code-title-border": "color-mix(in srgb, #fffcf0 22%, transparent)",
|
|
104
|
+
"color-code-line-number": "color-mix(in srgb, #fffcf0 48%, transparent)",
|
|
105
|
+
"color-code-frame-border": "color-mix(in srgb, #282726 92%, transparent)",
|
|
106
|
+
"color-backdrop": "rgba(6, 5, 5, 0.62)",
|
|
107
|
+
"surface-glass": "color-mix(in srgb, #1c1b1a 62%, #100f0f)",
|
|
108
|
+
"surface-line": "color-mix(in srgb, #282726 72%, #100f0f)",
|
|
109
|
+
"brand-violet": "#ce5d97",
|
|
110
|
+
"brand-cyan": "#3aa99f",
|
|
111
|
+
"brand-lime": "#879a39",
|
|
112
|
+
"brand-coral": "#d14d41",
|
|
113
|
+
"brand-navy": "color-mix(in srgb, #fffcf0 70%, #100f0f)",
|
|
114
|
+
"brand-violet-rgb": "206, 93, 151",
|
|
115
|
+
"brand-cyan-rgb": "58, 169, 159",
|
|
116
|
+
"brand-lime-rgb": "135, 154, 57",
|
|
117
|
+
"brand-coral-rgb": "209, 77, 65",
|
|
118
|
+
"accent-a": "#3aa99f",
|
|
119
|
+
"accent-b": "#ce5d97",
|
|
120
|
+
"accent-c": "#3aa99f",
|
|
121
|
+
"accent-warm": "#d0a215",
|
|
122
|
+
"accent-cool": "#4385be",
|
|
123
|
+
"accent-a-ink": "#3aa99f",
|
|
124
|
+
"accent-b-ink": "#ce5d97",
|
|
125
|
+
"accent-c-ink": "#3aa99f",
|
|
126
|
+
"accent-warm-ink": "#d0a215",
|
|
127
|
+
"accent-cool-ink": "#4385be",
|
|
128
|
+
"accent-coral-ink": "#d35449",
|
|
129
|
+
"shiki-foreground": "#fffcf0",
|
|
130
|
+
"shiki-background": "#1c1b1a",
|
|
131
|
+
"shiki-token-comment": "color-mix(in srgb, #fffcf0 55%, #1c1b1a)",
|
|
132
|
+
"shiki-token-punctuation": "color-mix(in srgb, #fffcf0 72%, #1c1b1a)",
|
|
133
|
+
"shiki-token-keyword": "#ce5d97",
|
|
134
|
+
"shiki-token-string": "#879a39",
|
|
135
|
+
"shiki-token-string-expression": "#879a39",
|
|
136
|
+
"shiki-token-constant": "#d0a215",
|
|
137
|
+
"shiki-token-function": "#4385be",
|
|
138
|
+
"shiki-token-parameter": "#d14d41",
|
|
139
|
+
"shiki-token-link": "#3aa99f"
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
export { flexoki as default, flexoki };
|
|
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 * Flexoki — Ink and paper, tuned for e-ink-like calm.\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 flexoki: ThemeConfig = {\n name: \"flexoki\",\n colors: {\n primary: \"#237e76\",\n primaryHover: \"#1c6c66\",\n background: \"#fffcf0\",\n backgroundAlt: \"#f2f0e5\",\n text: \"#100f0f\",\n textMuted: \"#6f6e69\",\n border: \"#e6e4d9\",\n codeBackground: \"#f2f0e5\",\n codeBackgroundTop: \"#f2f0e5\",\n codeText: \"#100f0f\",\n },\n darkColors: {\n primary: \"#3aa99f\",\n primaryHover: \"#5abdb3\",\n background: \"#100f0f\",\n backgroundAlt: \"#1c1b1a\",\n text: \"#fffcf0\",\n textMuted: \"#878580\",\n border: \"#282726\",\n codeBackground: \"#1c1b1a\",\n codeBackgroundTop: \"#1c1b1a\",\n codeText: \"#fffcf0\",\n },\n tokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #205ea6 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #ad8301 18%, transparent)\",\n \"color-code-line-warning-border\": \"#ad8301\",\n \"color-code-line-error\": \"color-mix(in srgb, #af3029 20%, transparent)\",\n \"color-code-line-error-border\": \"#af3029\",\n \"color-code-line-add\": \"color-mix(in srgb, #66800b 16%, transparent)\",\n \"color-code-line-add-border\": \"#66800b\",\n \"color-code-line-remove\": \"color-mix(in srgb, #af3029 14%, transparent)\",\n \"color-code-line-remove-border\": \"#af3029\",\n \"color-code-line-focus\": \"color-mix(in srgb, #237e76 16%, transparent)\",\n \"color-code-line-dim\": \"0.45\",\n \"color-code-title-bg\": \"color-mix(in srgb, #f2f0e5 92%, #100f0f)\",\n \"color-code-title-text\": \"color-mix(in srgb, #100f0f 88%, #f2f0e5)\",\n \"color-code-title-border\": \"color-mix(in srgb, #100f0f 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #100f0f 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #e6e4d9 92%, transparent)\",\n \"color-backdrop\": \"rgba(89, 88, 84, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #f2f0e5 62%, #fffcf0)\",\n \"surface-line\": \"color-mix(in srgb, #e6e4d9 72%, #fffcf0)\",\n \"brand-violet\": \"#a02f6f\",\n \"brand-cyan\": \"#24837b\",\n \"brand-lime\": \"#66800b\",\n \"brand-coral\": \"#af3029\",\n \"brand-navy\": \"color-mix(in srgb, #100f0f 70%, #fffcf0)\",\n \"brand-violet-rgb\": \"160, 47, 111\",\n \"brand-cyan-rgb\": \"36, 131, 123\",\n \"brand-lime-rgb\": \"102, 128, 11\",\n \"brand-coral-rgb\": \"175, 48, 41\",\n \"accent-a\": \"#237e76\",\n \"accent-b\": \"#a02f6f\",\n \"accent-c\": \"#24837b\",\n \"accent-warm\": \"#ad8301\",\n \"accent-cool\": \"#205ea6\",\n \"accent-a-ink\": \"#237e76\",\n \"accent-b-ink\": \"#a02f6f\",\n \"accent-c-ink\": \"#237e76\",\n \"accent-warm-ink\": \"#916e01\",\n \"accent-cool-ink\": \"#205ea6\",\n \"accent-coral-ink\": \"#af3029\",\n \"shiki-foreground\": \"#100f0f\",\n \"shiki-background\": \"#f2f0e5\",\n \"shiki-token-comment\": \"color-mix(in srgb, #100f0f 55%, #f2f0e5)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #100f0f 72%, #f2f0e5)\",\n \"shiki-token-keyword\": \"#a02f6f\",\n \"shiki-token-string\": \"#66800b\",\n \"shiki-token-string-expression\": \"#66800b\",\n \"shiki-token-constant\": \"#ad8301\",\n \"shiki-token-function\": \"#205ea6\",\n \"shiki-token-parameter\": \"#af3029\",\n \"shiki-token-link\": \"#24837b\",\n },\n darkTokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #4385be 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #d0a215 18%, transparent)\",\n \"color-code-line-warning-border\": \"#d0a215\",\n \"color-code-line-error\": \"color-mix(in srgb, #d14d41 20%, transparent)\",\n \"color-code-line-error-border\": \"#d14d41\",\n \"color-code-line-add\": \"color-mix(in srgb, #879a39 16%, transparent)\",\n \"color-code-line-add-border\": \"#879a39\",\n \"color-code-line-remove\": \"color-mix(in srgb, #d14d41 14%, transparent)\",\n \"color-code-line-remove-border\": \"#d14d41\",\n \"color-code-line-focus\": \"color-mix(in srgb, #3aa99f 16%, transparent)\",\n \"color-code-line-dim\": \"0.35\",\n \"color-code-title-bg\": \"color-mix(in srgb, #1c1b1a 92%, #fffcf0)\",\n \"color-code-title-text\": \"color-mix(in srgb, #fffcf0 88%, #1c1b1a)\",\n \"color-code-title-border\": \"color-mix(in srgb, #fffcf0 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #fffcf0 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #282726 92%, transparent)\",\n \"color-backdrop\": \"rgba(6, 5, 5, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #1c1b1a 62%, #100f0f)\",\n \"surface-line\": \"color-mix(in srgb, #282726 72%, #100f0f)\",\n \"brand-violet\": \"#ce5d97\",\n \"brand-cyan\": \"#3aa99f\",\n \"brand-lime\": \"#879a39\",\n \"brand-coral\": \"#d14d41\",\n \"brand-navy\": \"color-mix(in srgb, #fffcf0 70%, #100f0f)\",\n \"brand-violet-rgb\": \"206, 93, 151\",\n \"brand-cyan-rgb\": \"58, 169, 159\",\n \"brand-lime-rgb\": \"135, 154, 57\",\n \"brand-coral-rgb\": \"209, 77, 65\",\n \"accent-a\": \"#3aa99f\",\n \"accent-b\": \"#ce5d97\",\n \"accent-c\": \"#3aa99f\",\n \"accent-warm\": \"#d0a215\",\n \"accent-cool\": \"#4385be\",\n \"accent-a-ink\": \"#3aa99f\",\n \"accent-b-ink\": \"#ce5d97\",\n \"accent-c-ink\": \"#3aa99f\",\n \"accent-warm-ink\": \"#d0a215\",\n \"accent-cool-ink\": \"#4385be\",\n \"accent-coral-ink\": \"#d35449\",\n \"shiki-foreground\": \"#fffcf0\",\n \"shiki-background\": \"#1c1b1a\",\n \"shiki-token-comment\": \"color-mix(in srgb, #fffcf0 55%, #1c1b1a)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #fffcf0 72%, #1c1b1a)\",\n \"shiki-token-keyword\": \"#ce5d97\",\n \"shiki-token-string\": \"#879a39\",\n \"shiki-token-string-expression\": \"#879a39\",\n \"shiki-token-constant\": \"#d0a215\",\n \"shiki-token-function\": \"#4385be\",\n \"shiki-token-parameter\": \"#d14d41\",\n \"shiki-token-link\": \"#3aa99f\",\n },\n};\n\nexport default flexoki;\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-flexoki",
|
|
3
|
+
"version": "2.84.0",
|
|
4
|
+
"description": "Ink and paper, tuned for e-ink-like calm — an Ox Content color scheme that composes with any @ox-content/theme-* skin",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"color-scheme",
|
|
7
|
+
"documentation",
|
|
8
|
+
"flexoki",
|
|
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/flexoki"
|
|
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
|
+
}
|