@ox-content/theme-color-moss 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-moss
|
|
2
|
+
|
|
3
|
+
Moss — Deep forest and paper cream — 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-moss
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
// vite.config.ts
|
|
14
|
+
import { defineConfig } from "vite";
|
|
15
|
+
import { oxContent } from "@ox-content/vite-plugin";
|
|
16
|
+
import moss from "@ox-content/theme-color-moss";
|
|
17
|
+
|
|
18
|
+
export default defineConfig({
|
|
19
|
+
plugins: [
|
|
20
|
+
oxContent({
|
|
21
|
+
srcDir: "docs",
|
|
22
|
+
ssg: { siteName: "My Docs", theme: moss },
|
|
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, moss, { 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
|
+
* Moss — Deep forest and paper cream.
|
|
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 moss = {
|
|
16
|
+
name: "moss",
|
|
17
|
+
colors: {
|
|
18
|
+
primary: "#2f6b4f",
|
|
19
|
+
primaryHover: "#22513c",
|
|
20
|
+
background: "#f7f6f0",
|
|
21
|
+
backgroundAlt: "#ecebe1",
|
|
22
|
+
text: "#17211b",
|
|
23
|
+
textMuted: "#5c6b60",
|
|
24
|
+
border: "#dbdccf",
|
|
25
|
+
codeBackground: "#14201a",
|
|
26
|
+
codeBackgroundTop: "#14201a",
|
|
27
|
+
codeText: "#e6ece7"
|
|
28
|
+
},
|
|
29
|
+
darkColors: {
|
|
30
|
+
primary: "#7fc79b",
|
|
31
|
+
primaryHover: "#a4dbb7",
|
|
32
|
+
background: "#111813",
|
|
33
|
+
backgroundAlt: "#18211b",
|
|
34
|
+
text: "#e2e9e2",
|
|
35
|
+
textMuted: "#8b9a8e",
|
|
36
|
+
border: "#243027",
|
|
37
|
+
codeBackground: "#0c120e",
|
|
38
|
+
codeBackgroundTop: "#0c120e",
|
|
39
|
+
codeText: "#e2e9e2"
|
|
40
|
+
},
|
|
41
|
+
tokens: {
|
|
42
|
+
"color-code-line-highlight": "color-mix(in srgb, #3c5f72 16%, transparent)",
|
|
43
|
+
"color-code-line-warning": "color-mix(in srgb, #8a6a1d 18%, transparent)",
|
|
44
|
+
"color-code-line-warning-border": "#8a6a1d",
|
|
45
|
+
"color-code-line-error": "color-mix(in srgb, #a4432f 20%, transparent)",
|
|
46
|
+
"color-code-line-error-border": "#a4432f",
|
|
47
|
+
"color-code-line-add": "color-mix(in srgb, #2f6b4f 16%, transparent)",
|
|
48
|
+
"color-code-line-add-border": "#2f6b4f",
|
|
49
|
+
"color-code-line-remove": "color-mix(in srgb, #a4432f 14%, transparent)",
|
|
50
|
+
"color-code-line-remove-border": "#a4432f",
|
|
51
|
+
"color-code-line-focus": "color-mix(in srgb, #2f6b4f 16%, transparent)",
|
|
52
|
+
"color-code-line-dim": "0.45",
|
|
53
|
+
"color-code-title-bg": "color-mix(in srgb, #14201a 92%, #e6ece7)",
|
|
54
|
+
"color-code-title-text": "color-mix(in srgb, #e6ece7 88%, #14201a)",
|
|
55
|
+
"color-code-title-border": "color-mix(in srgb, #e6ece7 22%, transparent)",
|
|
56
|
+
"color-code-line-number": "color-mix(in srgb, #e6ece7 48%, transparent)",
|
|
57
|
+
"color-code-frame-border": "color-mix(in srgb, #dbdccf 92%, transparent)",
|
|
58
|
+
"color-backdrop": "rgba(86, 86, 84, 0.62)",
|
|
59
|
+
"surface-glass": "color-mix(in srgb, #ecebe1 62%, #f7f6f0)",
|
|
60
|
+
"surface-line": "color-mix(in srgb, #dbdccf 72%, #f7f6f0)",
|
|
61
|
+
"brand-violet": "#7a4d6a",
|
|
62
|
+
"brand-cyan": "#2e6d68",
|
|
63
|
+
"brand-lime": "#2f6b4f",
|
|
64
|
+
"brand-coral": "#a4432f",
|
|
65
|
+
"brand-navy": "color-mix(in srgb, #17211b 70%, #f7f6f0)",
|
|
66
|
+
"brand-violet-rgb": "122, 77, 106",
|
|
67
|
+
"brand-cyan-rgb": "46, 109, 104",
|
|
68
|
+
"brand-lime-rgb": "47, 107, 79",
|
|
69
|
+
"brand-coral-rgb": "164, 67, 47",
|
|
70
|
+
"accent-a": "#2f6b4f",
|
|
71
|
+
"accent-b": "#7a4d6a",
|
|
72
|
+
"accent-c": "#2e6d68",
|
|
73
|
+
"accent-warm": "#8a6a1d",
|
|
74
|
+
"accent-cool": "#3c5f72",
|
|
75
|
+
"accent-a-ink": "#2f6b4f",
|
|
76
|
+
"accent-b-ink": "#7a4d6a",
|
|
77
|
+
"accent-c-ink": "#2e6d68",
|
|
78
|
+
"accent-warm-ink": "#8a6a1d",
|
|
79
|
+
"accent-cool-ink": "#3c5f72",
|
|
80
|
+
"accent-coral-ink": "#a4432f",
|
|
81
|
+
"shiki-foreground": "#e6ece7",
|
|
82
|
+
"shiki-background": "#14201a",
|
|
83
|
+
"shiki-token-comment": "color-mix(in srgb, #e6ece7 55%, #14201a)",
|
|
84
|
+
"shiki-token-punctuation": "color-mix(in srgb, #e6ece7 72%, #14201a)",
|
|
85
|
+
"shiki-token-keyword": "#c39ab8",
|
|
86
|
+
"shiki-token-string": "#7fc79b",
|
|
87
|
+
"shiki-token-string-expression": "#7fc79b",
|
|
88
|
+
"shiki-token-constant": "#d7bd7c",
|
|
89
|
+
"shiki-token-function": "#89b3c9",
|
|
90
|
+
"shiki-token-parameter": "#e08a76",
|
|
91
|
+
"shiki-token-link": "#79c4bd"
|
|
92
|
+
},
|
|
93
|
+
darkTokens: {
|
|
94
|
+
"color-code-line-highlight": "color-mix(in srgb, #89b3c9 16%, transparent)",
|
|
95
|
+
"color-code-line-warning": "color-mix(in srgb, #d7bd7c 18%, transparent)",
|
|
96
|
+
"color-code-line-warning-border": "#d7bd7c",
|
|
97
|
+
"color-code-line-error": "color-mix(in srgb, #e08a76 20%, transparent)",
|
|
98
|
+
"color-code-line-error-border": "#e08a76",
|
|
99
|
+
"color-code-line-add": "color-mix(in srgb, #7fc79b 16%, transparent)",
|
|
100
|
+
"color-code-line-add-border": "#7fc79b",
|
|
101
|
+
"color-code-line-remove": "color-mix(in srgb, #e08a76 14%, transparent)",
|
|
102
|
+
"color-code-line-remove-border": "#e08a76",
|
|
103
|
+
"color-code-line-focus": "color-mix(in srgb, #7fc79b 16%, transparent)",
|
|
104
|
+
"color-code-line-dim": "0.35",
|
|
105
|
+
"color-code-title-bg": "color-mix(in srgb, #0c120e 92%, #e2e9e2)",
|
|
106
|
+
"color-code-title-text": "color-mix(in srgb, #e2e9e2 88%, #0c120e)",
|
|
107
|
+
"color-code-title-border": "color-mix(in srgb, #e2e9e2 22%, transparent)",
|
|
108
|
+
"color-code-line-number": "color-mix(in srgb, #e2e9e2 48%, transparent)",
|
|
109
|
+
"color-code-frame-border": "color-mix(in srgb, #243027 92%, transparent)",
|
|
110
|
+
"color-backdrop": "rgba(6, 8, 7, 0.62)",
|
|
111
|
+
"surface-glass": "color-mix(in srgb, #18211b 62%, #111813)",
|
|
112
|
+
"surface-line": "color-mix(in srgb, #243027 72%, #111813)",
|
|
113
|
+
"brand-violet": "#c39ab8",
|
|
114
|
+
"brand-cyan": "#79c4bd",
|
|
115
|
+
"brand-lime": "#7fc79b",
|
|
116
|
+
"brand-coral": "#e08a76",
|
|
117
|
+
"brand-navy": "color-mix(in srgb, #e2e9e2 70%, #111813)",
|
|
118
|
+
"brand-violet-rgb": "195, 154, 184",
|
|
119
|
+
"brand-cyan-rgb": "121, 196, 189",
|
|
120
|
+
"brand-lime-rgb": "127, 199, 155",
|
|
121
|
+
"brand-coral-rgb": "224, 138, 118",
|
|
122
|
+
"accent-a": "#7fc79b",
|
|
123
|
+
"accent-b": "#c39ab8",
|
|
124
|
+
"accent-c": "#79c4bd",
|
|
125
|
+
"accent-warm": "#d7bd7c",
|
|
126
|
+
"accent-cool": "#89b3c9",
|
|
127
|
+
"accent-a-ink": "#7fc79b",
|
|
128
|
+
"accent-b-ink": "#c39ab8",
|
|
129
|
+
"accent-c-ink": "#79c4bd",
|
|
130
|
+
"accent-warm-ink": "#d7bd7c",
|
|
131
|
+
"accent-cool-ink": "#89b3c9",
|
|
132
|
+
"accent-coral-ink": "#e08a76",
|
|
133
|
+
"shiki-foreground": "#e2e9e2",
|
|
134
|
+
"shiki-background": "#0c120e",
|
|
135
|
+
"shiki-token-comment": "color-mix(in srgb, #e2e9e2 55%, #0c120e)",
|
|
136
|
+
"shiki-token-punctuation": "color-mix(in srgb, #e2e9e2 72%, #0c120e)",
|
|
137
|
+
"shiki-token-keyword": "#c39ab8",
|
|
138
|
+
"shiki-token-string": "#7fc79b",
|
|
139
|
+
"shiki-token-string-expression": "#7fc79b",
|
|
140
|
+
"shiki-token-constant": "#d7bd7c",
|
|
141
|
+
"shiki-token-function": "#89b3c9",
|
|
142
|
+
"shiki-token-parameter": "#e08a76",
|
|
143
|
+
"shiki-token-link": "#79c4bd"
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
//#endregion
|
|
147
|
+
exports.default = moss;
|
|
148
|
+
exports.moss = moss;
|
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
|
+
* Moss — Deep forest and paper cream.
|
|
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 moss: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { moss as default, moss };
|
|
15
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,MAAM"}
|
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
|
+
* Moss — Deep forest and paper cream.
|
|
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 moss: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { moss as default, moss };
|
|
15
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,MAAM"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
//#region src/index.ts
|
|
2
|
+
/**
|
|
3
|
+
* Moss — Deep forest and paper cream.
|
|
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 moss = {
|
|
12
|
+
name: "moss",
|
|
13
|
+
colors: {
|
|
14
|
+
primary: "#2f6b4f",
|
|
15
|
+
primaryHover: "#22513c",
|
|
16
|
+
background: "#f7f6f0",
|
|
17
|
+
backgroundAlt: "#ecebe1",
|
|
18
|
+
text: "#17211b",
|
|
19
|
+
textMuted: "#5c6b60",
|
|
20
|
+
border: "#dbdccf",
|
|
21
|
+
codeBackground: "#14201a",
|
|
22
|
+
codeBackgroundTop: "#14201a",
|
|
23
|
+
codeText: "#e6ece7"
|
|
24
|
+
},
|
|
25
|
+
darkColors: {
|
|
26
|
+
primary: "#7fc79b",
|
|
27
|
+
primaryHover: "#a4dbb7",
|
|
28
|
+
background: "#111813",
|
|
29
|
+
backgroundAlt: "#18211b",
|
|
30
|
+
text: "#e2e9e2",
|
|
31
|
+
textMuted: "#8b9a8e",
|
|
32
|
+
border: "#243027",
|
|
33
|
+
codeBackground: "#0c120e",
|
|
34
|
+
codeBackgroundTop: "#0c120e",
|
|
35
|
+
codeText: "#e2e9e2"
|
|
36
|
+
},
|
|
37
|
+
tokens: {
|
|
38
|
+
"color-code-line-highlight": "color-mix(in srgb, #3c5f72 16%, transparent)",
|
|
39
|
+
"color-code-line-warning": "color-mix(in srgb, #8a6a1d 18%, transparent)",
|
|
40
|
+
"color-code-line-warning-border": "#8a6a1d",
|
|
41
|
+
"color-code-line-error": "color-mix(in srgb, #a4432f 20%, transparent)",
|
|
42
|
+
"color-code-line-error-border": "#a4432f",
|
|
43
|
+
"color-code-line-add": "color-mix(in srgb, #2f6b4f 16%, transparent)",
|
|
44
|
+
"color-code-line-add-border": "#2f6b4f",
|
|
45
|
+
"color-code-line-remove": "color-mix(in srgb, #a4432f 14%, transparent)",
|
|
46
|
+
"color-code-line-remove-border": "#a4432f",
|
|
47
|
+
"color-code-line-focus": "color-mix(in srgb, #2f6b4f 16%, transparent)",
|
|
48
|
+
"color-code-line-dim": "0.45",
|
|
49
|
+
"color-code-title-bg": "color-mix(in srgb, #14201a 92%, #e6ece7)",
|
|
50
|
+
"color-code-title-text": "color-mix(in srgb, #e6ece7 88%, #14201a)",
|
|
51
|
+
"color-code-title-border": "color-mix(in srgb, #e6ece7 22%, transparent)",
|
|
52
|
+
"color-code-line-number": "color-mix(in srgb, #e6ece7 48%, transparent)",
|
|
53
|
+
"color-code-frame-border": "color-mix(in srgb, #dbdccf 92%, transparent)",
|
|
54
|
+
"color-backdrop": "rgba(86, 86, 84, 0.62)",
|
|
55
|
+
"surface-glass": "color-mix(in srgb, #ecebe1 62%, #f7f6f0)",
|
|
56
|
+
"surface-line": "color-mix(in srgb, #dbdccf 72%, #f7f6f0)",
|
|
57
|
+
"brand-violet": "#7a4d6a",
|
|
58
|
+
"brand-cyan": "#2e6d68",
|
|
59
|
+
"brand-lime": "#2f6b4f",
|
|
60
|
+
"brand-coral": "#a4432f",
|
|
61
|
+
"brand-navy": "color-mix(in srgb, #17211b 70%, #f7f6f0)",
|
|
62
|
+
"brand-violet-rgb": "122, 77, 106",
|
|
63
|
+
"brand-cyan-rgb": "46, 109, 104",
|
|
64
|
+
"brand-lime-rgb": "47, 107, 79",
|
|
65
|
+
"brand-coral-rgb": "164, 67, 47",
|
|
66
|
+
"accent-a": "#2f6b4f",
|
|
67
|
+
"accent-b": "#7a4d6a",
|
|
68
|
+
"accent-c": "#2e6d68",
|
|
69
|
+
"accent-warm": "#8a6a1d",
|
|
70
|
+
"accent-cool": "#3c5f72",
|
|
71
|
+
"accent-a-ink": "#2f6b4f",
|
|
72
|
+
"accent-b-ink": "#7a4d6a",
|
|
73
|
+
"accent-c-ink": "#2e6d68",
|
|
74
|
+
"accent-warm-ink": "#8a6a1d",
|
|
75
|
+
"accent-cool-ink": "#3c5f72",
|
|
76
|
+
"accent-coral-ink": "#a4432f",
|
|
77
|
+
"shiki-foreground": "#e6ece7",
|
|
78
|
+
"shiki-background": "#14201a",
|
|
79
|
+
"shiki-token-comment": "color-mix(in srgb, #e6ece7 55%, #14201a)",
|
|
80
|
+
"shiki-token-punctuation": "color-mix(in srgb, #e6ece7 72%, #14201a)",
|
|
81
|
+
"shiki-token-keyword": "#c39ab8",
|
|
82
|
+
"shiki-token-string": "#7fc79b",
|
|
83
|
+
"shiki-token-string-expression": "#7fc79b",
|
|
84
|
+
"shiki-token-constant": "#d7bd7c",
|
|
85
|
+
"shiki-token-function": "#89b3c9",
|
|
86
|
+
"shiki-token-parameter": "#e08a76",
|
|
87
|
+
"shiki-token-link": "#79c4bd"
|
|
88
|
+
},
|
|
89
|
+
darkTokens: {
|
|
90
|
+
"color-code-line-highlight": "color-mix(in srgb, #89b3c9 16%, transparent)",
|
|
91
|
+
"color-code-line-warning": "color-mix(in srgb, #d7bd7c 18%, transparent)",
|
|
92
|
+
"color-code-line-warning-border": "#d7bd7c",
|
|
93
|
+
"color-code-line-error": "color-mix(in srgb, #e08a76 20%, transparent)",
|
|
94
|
+
"color-code-line-error-border": "#e08a76",
|
|
95
|
+
"color-code-line-add": "color-mix(in srgb, #7fc79b 16%, transparent)",
|
|
96
|
+
"color-code-line-add-border": "#7fc79b",
|
|
97
|
+
"color-code-line-remove": "color-mix(in srgb, #e08a76 14%, transparent)",
|
|
98
|
+
"color-code-line-remove-border": "#e08a76",
|
|
99
|
+
"color-code-line-focus": "color-mix(in srgb, #7fc79b 16%, transparent)",
|
|
100
|
+
"color-code-line-dim": "0.35",
|
|
101
|
+
"color-code-title-bg": "color-mix(in srgb, #0c120e 92%, #e2e9e2)",
|
|
102
|
+
"color-code-title-text": "color-mix(in srgb, #e2e9e2 88%, #0c120e)",
|
|
103
|
+
"color-code-title-border": "color-mix(in srgb, #e2e9e2 22%, transparent)",
|
|
104
|
+
"color-code-line-number": "color-mix(in srgb, #e2e9e2 48%, transparent)",
|
|
105
|
+
"color-code-frame-border": "color-mix(in srgb, #243027 92%, transparent)",
|
|
106
|
+
"color-backdrop": "rgba(6, 8, 7, 0.62)",
|
|
107
|
+
"surface-glass": "color-mix(in srgb, #18211b 62%, #111813)",
|
|
108
|
+
"surface-line": "color-mix(in srgb, #243027 72%, #111813)",
|
|
109
|
+
"brand-violet": "#c39ab8",
|
|
110
|
+
"brand-cyan": "#79c4bd",
|
|
111
|
+
"brand-lime": "#7fc79b",
|
|
112
|
+
"brand-coral": "#e08a76",
|
|
113
|
+
"brand-navy": "color-mix(in srgb, #e2e9e2 70%, #111813)",
|
|
114
|
+
"brand-violet-rgb": "195, 154, 184",
|
|
115
|
+
"brand-cyan-rgb": "121, 196, 189",
|
|
116
|
+
"brand-lime-rgb": "127, 199, 155",
|
|
117
|
+
"brand-coral-rgb": "224, 138, 118",
|
|
118
|
+
"accent-a": "#7fc79b",
|
|
119
|
+
"accent-b": "#c39ab8",
|
|
120
|
+
"accent-c": "#79c4bd",
|
|
121
|
+
"accent-warm": "#d7bd7c",
|
|
122
|
+
"accent-cool": "#89b3c9",
|
|
123
|
+
"accent-a-ink": "#7fc79b",
|
|
124
|
+
"accent-b-ink": "#c39ab8",
|
|
125
|
+
"accent-c-ink": "#79c4bd",
|
|
126
|
+
"accent-warm-ink": "#d7bd7c",
|
|
127
|
+
"accent-cool-ink": "#89b3c9",
|
|
128
|
+
"accent-coral-ink": "#e08a76",
|
|
129
|
+
"shiki-foreground": "#e2e9e2",
|
|
130
|
+
"shiki-background": "#0c120e",
|
|
131
|
+
"shiki-token-comment": "color-mix(in srgb, #e2e9e2 55%, #0c120e)",
|
|
132
|
+
"shiki-token-punctuation": "color-mix(in srgb, #e2e9e2 72%, #0c120e)",
|
|
133
|
+
"shiki-token-keyword": "#c39ab8",
|
|
134
|
+
"shiki-token-string": "#7fc79b",
|
|
135
|
+
"shiki-token-string-expression": "#7fc79b",
|
|
136
|
+
"shiki-token-constant": "#d7bd7c",
|
|
137
|
+
"shiki-token-function": "#89b3c9",
|
|
138
|
+
"shiki-token-parameter": "#e08a76",
|
|
139
|
+
"shiki-token-link": "#79c4bd"
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
export { moss as default, moss };
|
|
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 * Moss — Deep forest and paper cream.\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 moss: ThemeConfig = {\n name: \"moss\",\n colors: {\n primary: \"#2f6b4f\",\n primaryHover: \"#22513c\",\n background: \"#f7f6f0\",\n backgroundAlt: \"#ecebe1\",\n text: \"#17211b\",\n textMuted: \"#5c6b60\",\n border: \"#dbdccf\",\n codeBackground: \"#14201a\",\n codeBackgroundTop: \"#14201a\",\n codeText: \"#e6ece7\",\n },\n darkColors: {\n primary: \"#7fc79b\",\n primaryHover: \"#a4dbb7\",\n background: \"#111813\",\n backgroundAlt: \"#18211b\",\n text: \"#e2e9e2\",\n textMuted: \"#8b9a8e\",\n border: \"#243027\",\n codeBackground: \"#0c120e\",\n codeBackgroundTop: \"#0c120e\",\n codeText: \"#e2e9e2\",\n },\n tokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #3c5f72 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #8a6a1d 18%, transparent)\",\n \"color-code-line-warning-border\": \"#8a6a1d\",\n \"color-code-line-error\": \"color-mix(in srgb, #a4432f 20%, transparent)\",\n \"color-code-line-error-border\": \"#a4432f\",\n \"color-code-line-add\": \"color-mix(in srgb, #2f6b4f 16%, transparent)\",\n \"color-code-line-add-border\": \"#2f6b4f\",\n \"color-code-line-remove\": \"color-mix(in srgb, #a4432f 14%, transparent)\",\n \"color-code-line-remove-border\": \"#a4432f\",\n \"color-code-line-focus\": \"color-mix(in srgb, #2f6b4f 16%, transparent)\",\n \"color-code-line-dim\": \"0.45\",\n \"color-code-title-bg\": \"color-mix(in srgb, #14201a 92%, #e6ece7)\",\n \"color-code-title-text\": \"color-mix(in srgb, #e6ece7 88%, #14201a)\",\n \"color-code-title-border\": \"color-mix(in srgb, #e6ece7 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #e6ece7 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #dbdccf 92%, transparent)\",\n \"color-backdrop\": \"rgba(86, 86, 84, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #ecebe1 62%, #f7f6f0)\",\n \"surface-line\": \"color-mix(in srgb, #dbdccf 72%, #f7f6f0)\",\n \"brand-violet\": \"#7a4d6a\",\n \"brand-cyan\": \"#2e6d68\",\n \"brand-lime\": \"#2f6b4f\",\n \"brand-coral\": \"#a4432f\",\n \"brand-navy\": \"color-mix(in srgb, #17211b 70%, #f7f6f0)\",\n \"brand-violet-rgb\": \"122, 77, 106\",\n \"brand-cyan-rgb\": \"46, 109, 104\",\n \"brand-lime-rgb\": \"47, 107, 79\",\n \"brand-coral-rgb\": \"164, 67, 47\",\n \"accent-a\": \"#2f6b4f\",\n \"accent-b\": \"#7a4d6a\",\n \"accent-c\": \"#2e6d68\",\n \"accent-warm\": \"#8a6a1d\",\n \"accent-cool\": \"#3c5f72\",\n \"accent-a-ink\": \"#2f6b4f\",\n \"accent-b-ink\": \"#7a4d6a\",\n \"accent-c-ink\": \"#2e6d68\",\n \"accent-warm-ink\": \"#8a6a1d\",\n \"accent-cool-ink\": \"#3c5f72\",\n \"accent-coral-ink\": \"#a4432f\",\n \"shiki-foreground\": \"#e6ece7\",\n \"shiki-background\": \"#14201a\",\n \"shiki-token-comment\": \"color-mix(in srgb, #e6ece7 55%, #14201a)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #e6ece7 72%, #14201a)\",\n \"shiki-token-keyword\": \"#c39ab8\",\n \"shiki-token-string\": \"#7fc79b\",\n \"shiki-token-string-expression\": \"#7fc79b\",\n \"shiki-token-constant\": \"#d7bd7c\",\n \"shiki-token-function\": \"#89b3c9\",\n \"shiki-token-parameter\": \"#e08a76\",\n \"shiki-token-link\": \"#79c4bd\",\n },\n darkTokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #89b3c9 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #d7bd7c 18%, transparent)\",\n \"color-code-line-warning-border\": \"#d7bd7c\",\n \"color-code-line-error\": \"color-mix(in srgb, #e08a76 20%, transparent)\",\n \"color-code-line-error-border\": \"#e08a76\",\n \"color-code-line-add\": \"color-mix(in srgb, #7fc79b 16%, transparent)\",\n \"color-code-line-add-border\": \"#7fc79b\",\n \"color-code-line-remove\": \"color-mix(in srgb, #e08a76 14%, transparent)\",\n \"color-code-line-remove-border\": \"#e08a76\",\n \"color-code-line-focus\": \"color-mix(in srgb, #7fc79b 16%, transparent)\",\n \"color-code-line-dim\": \"0.35\",\n \"color-code-title-bg\": \"color-mix(in srgb, #0c120e 92%, #e2e9e2)\",\n \"color-code-title-text\": \"color-mix(in srgb, #e2e9e2 88%, #0c120e)\",\n \"color-code-title-border\": \"color-mix(in srgb, #e2e9e2 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #e2e9e2 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #243027 92%, transparent)\",\n \"color-backdrop\": \"rgba(6, 8, 7, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #18211b 62%, #111813)\",\n \"surface-line\": \"color-mix(in srgb, #243027 72%, #111813)\",\n \"brand-violet\": \"#c39ab8\",\n \"brand-cyan\": \"#79c4bd\",\n \"brand-lime\": \"#7fc79b\",\n \"brand-coral\": \"#e08a76\",\n \"brand-navy\": \"color-mix(in srgb, #e2e9e2 70%, #111813)\",\n \"brand-violet-rgb\": \"195, 154, 184\",\n \"brand-cyan-rgb\": \"121, 196, 189\",\n \"brand-lime-rgb\": \"127, 199, 155\",\n \"brand-coral-rgb\": \"224, 138, 118\",\n \"accent-a\": \"#7fc79b\",\n \"accent-b\": \"#c39ab8\",\n \"accent-c\": \"#79c4bd\",\n \"accent-warm\": \"#d7bd7c\",\n \"accent-cool\": \"#89b3c9\",\n \"accent-a-ink\": \"#7fc79b\",\n \"accent-b-ink\": \"#c39ab8\",\n \"accent-c-ink\": \"#79c4bd\",\n \"accent-warm-ink\": \"#d7bd7c\",\n \"accent-cool-ink\": \"#89b3c9\",\n \"accent-coral-ink\": \"#e08a76\",\n \"shiki-foreground\": \"#e2e9e2\",\n \"shiki-background\": \"#0c120e\",\n \"shiki-token-comment\": \"color-mix(in srgb, #e2e9e2 55%, #0c120e)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #e2e9e2 72%, #0c120e)\",\n \"shiki-token-keyword\": \"#c39ab8\",\n \"shiki-token-string\": \"#7fc79b\",\n \"shiki-token-string-expression\": \"#7fc79b\",\n \"shiki-token-constant\": \"#d7bd7c\",\n \"shiki-token-function\": \"#89b3c9\",\n \"shiki-token-parameter\": \"#e08a76\",\n \"shiki-token-link\": \"#79c4bd\",\n },\n};\n\nexport default moss;\n"],"mappings":";;;;;;;;;;AAWA,MAAa,OAAoB;CAC/B,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-moss",
|
|
3
|
+
"version": "2.84.0",
|
|
4
|
+
"description": "Deep forest and paper cream — an Ox Content color scheme that composes with any @ox-content/theme-* skin",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"color-scheme",
|
|
7
|
+
"documentation",
|
|
8
|
+
"markdown",
|
|
9
|
+
"moss",
|
|
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/moss"
|
|
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
|
+
}
|