@ox-content/theme-color-github 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 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-github
2
+
3
+ GitHub — GitHub Light and GitHub Dark — 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-github
10
+ ```
11
+
12
+ ```ts
13
+ // vite.config.ts
14
+ import { defineConfig } from "vite";
15
+ import { oxContent } from "@ox-content/vite-plugin";
16
+ import github from "@ox-content/theme-color-github";
17
+
18
+ export default defineConfig({
19
+ plugins: [
20
+ oxContent({
21
+ srcDir: "docs",
22
+ ssg: { siteName: "My Docs", theme: github },
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, github, { 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
+ * GitHub — GitHub Light and GitHub Dark.
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 github = {
16
+ name: "github",
17
+ colors: {
18
+ primary: "#0969da",
19
+ primaryHover: "#0550ae",
20
+ background: "#ffffff",
21
+ backgroundAlt: "#f6f8fa",
22
+ text: "#1f2328",
23
+ textMuted: "#59636e",
24
+ border: "#d1d9e0",
25
+ codeBackground: "#f6f8fa",
26
+ codeBackgroundTop: "#f6f8fa",
27
+ codeText: "#1f2328"
28
+ },
29
+ darkColors: {
30
+ primary: "#4493f8",
31
+ primaryHover: "#6cb6ff",
32
+ background: "#0d1117",
33
+ backgroundAlt: "#151b23",
34
+ text: "#f0f6fc",
35
+ textMuted: "#9198a1",
36
+ border: "#3d444d",
37
+ codeBackground: "#151b23",
38
+ codeBackgroundTop: "#151b23",
39
+ codeText: "#f0f6fc"
40
+ },
41
+ tokens: {
42
+ "color-code-line-highlight": "color-mix(in srgb, #0969da 16%, transparent)",
43
+ "color-code-line-warning": "color-mix(in srgb, #9a6700 18%, transparent)",
44
+ "color-code-line-warning-border": "#9a6700",
45
+ "color-code-line-error": "color-mix(in srgb, #cf222e 20%, transparent)",
46
+ "color-code-line-error-border": "#cf222e",
47
+ "color-code-line-add": "color-mix(in srgb, #1a7f37 16%, transparent)",
48
+ "color-code-line-add-border": "#1a7f37",
49
+ "color-code-line-remove": "color-mix(in srgb, #cf222e 14%, transparent)",
50
+ "color-code-line-remove-border": "#cf222e",
51
+ "color-code-line-focus": "color-mix(in srgb, #0969da 16%, transparent)",
52
+ "color-code-line-dim": "0.45",
53
+ "color-code-title-bg": "color-mix(in srgb, #f6f8fa 92%, #1f2328)",
54
+ "color-code-title-text": "color-mix(in srgb, #1f2328 88%, #f6f8fa)",
55
+ "color-code-title-border": "color-mix(in srgb, #1f2328 22%, transparent)",
56
+ "color-code-line-number": "color-mix(in srgb, #1f2328 48%, transparent)",
57
+ "color-code-frame-border": "color-mix(in srgb, #d1d9e0 92%, transparent)",
58
+ "color-backdrop": "rgba(89, 89, 89, 0.62)",
59
+ "surface-glass": "color-mix(in srgb, #f6f8fa 62%, #ffffff)",
60
+ "surface-line": "color-mix(in srgb, #d1d9e0 72%, #ffffff)",
61
+ "brand-violet": "#8250df",
62
+ "brand-cyan": "#1b7c83",
63
+ "brand-lime": "#1a7f37",
64
+ "brand-coral": "#cf222e",
65
+ "brand-navy": "color-mix(in srgb, #1f2328 70%, #ffffff)",
66
+ "brand-violet-rgb": "130, 80, 223",
67
+ "brand-cyan-rgb": "27, 124, 131",
68
+ "brand-lime-rgb": "26, 127, 55",
69
+ "brand-coral-rgb": "207, 34, 46",
70
+ "accent-a": "#0969da",
71
+ "accent-b": "#8250df",
72
+ "accent-c": "#1b7c83",
73
+ "accent-warm": "#9a6700",
74
+ "accent-cool": "#0969da",
75
+ "accent-a-ink": "#0969da",
76
+ "accent-b-ink": "#8250df",
77
+ "accent-c-ink": "#1b7c83",
78
+ "accent-warm-ink": "#9a6700",
79
+ "accent-cool-ink": "#0969da",
80
+ "accent-coral-ink": "#cf222e",
81
+ "shiki-foreground": "#1f2328",
82
+ "shiki-background": "#f6f8fa",
83
+ "shiki-token-comment": "color-mix(in srgb, #1f2328 55%, #f6f8fa)",
84
+ "shiki-token-punctuation": "color-mix(in srgb, #1f2328 72%, #f6f8fa)",
85
+ "shiki-token-keyword": "#8250df",
86
+ "shiki-token-string": "#1a7f37",
87
+ "shiki-token-string-expression": "#1a7f37",
88
+ "shiki-token-constant": "#9a6700",
89
+ "shiki-token-function": "#0969da",
90
+ "shiki-token-parameter": "#cf222e",
91
+ "shiki-token-link": "#1b7c83"
92
+ },
93
+ darkTokens: {
94
+ "color-code-line-highlight": "color-mix(in srgb, #4493f8 16%, transparent)",
95
+ "color-code-line-warning": "color-mix(in srgb, #d29922 18%, transparent)",
96
+ "color-code-line-warning-border": "#d29922",
97
+ "color-code-line-error": "color-mix(in srgb, #ff7b72 20%, transparent)",
98
+ "color-code-line-error-border": "#ff7b72",
99
+ "color-code-line-add": "color-mix(in srgb, #3fb950 16%, transparent)",
100
+ "color-code-line-add-border": "#3fb950",
101
+ "color-code-line-remove": "color-mix(in srgb, #ff7b72 14%, transparent)",
102
+ "color-code-line-remove-border": "#ff7b72",
103
+ "color-code-line-focus": "color-mix(in srgb, #4493f8 16%, transparent)",
104
+ "color-code-line-dim": "0.35",
105
+ "color-code-title-bg": "color-mix(in srgb, #151b23 92%, #f0f6fc)",
106
+ "color-code-title-text": "color-mix(in srgb, #f0f6fc 88%, #151b23)",
107
+ "color-code-title-border": "color-mix(in srgb, #f0f6fc 22%, transparent)",
108
+ "color-code-line-number": "color-mix(in srgb, #f0f6fc 48%, transparent)",
109
+ "color-code-frame-border": "color-mix(in srgb, #3d444d 92%, transparent)",
110
+ "color-backdrop": "rgba(5, 6, 8, 0.62)",
111
+ "surface-glass": "color-mix(in srgb, #151b23 62%, #0d1117)",
112
+ "surface-line": "color-mix(in srgb, #3d444d 72%, #0d1117)",
113
+ "brand-violet": "#bc8cff",
114
+ "brand-cyan": "#39c5cf",
115
+ "brand-lime": "#3fb950",
116
+ "brand-coral": "#ff7b72",
117
+ "brand-navy": "color-mix(in srgb, #f0f6fc 70%, #0d1117)",
118
+ "brand-violet-rgb": "188, 140, 255",
119
+ "brand-cyan-rgb": "57, 197, 207",
120
+ "brand-lime-rgb": "63, 185, 80",
121
+ "brand-coral-rgb": "255, 123, 114",
122
+ "accent-a": "#4493f8",
123
+ "accent-b": "#bc8cff",
124
+ "accent-c": "#39c5cf",
125
+ "accent-warm": "#d29922",
126
+ "accent-cool": "#4493f8",
127
+ "accent-a-ink": "#4493f8",
128
+ "accent-b-ink": "#bc8cff",
129
+ "accent-c-ink": "#39c5cf",
130
+ "accent-warm-ink": "#d29922",
131
+ "accent-cool-ink": "#4493f8",
132
+ "accent-coral-ink": "#ff7b72",
133
+ "shiki-foreground": "#f0f6fc",
134
+ "shiki-background": "#151b23",
135
+ "shiki-token-comment": "color-mix(in srgb, #f0f6fc 55%, #151b23)",
136
+ "shiki-token-punctuation": "color-mix(in srgb, #f0f6fc 72%, #151b23)",
137
+ "shiki-token-keyword": "#bc8cff",
138
+ "shiki-token-string": "#3fb950",
139
+ "shiki-token-string-expression": "#3fb950",
140
+ "shiki-token-constant": "#d29922",
141
+ "shiki-token-function": "#4493f8",
142
+ "shiki-token-parameter": "#ff7b72",
143
+ "shiki-token-link": "#39c5cf"
144
+ }
145
+ };
146
+ //#endregion
147
+ exports.default = github;
148
+ exports.github = github;
@@ -0,0 +1,15 @@
1
+ import { ThemeConfig } from "@ox-content/vite-plugin";
2
+ //#region src/index.d.ts
3
+ /**
4
+ * GitHub — GitHub Light and GitHub Dark.
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 github: ThemeConfig;
13
+ //#endregion
14
+ export { github as default, github };
15
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,QAAQ"}
@@ -0,0 +1,15 @@
1
+ import { ThemeConfig } from "@ox-content/vite-plugin";
2
+ //#region src/index.d.ts
3
+ /**
4
+ * GitHub — GitHub Light and GitHub Dark.
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 github: ThemeConfig;
13
+ //#endregion
14
+ export { github as default, github };
15
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,QAAQ"}
package/dist/index.mjs ADDED
@@ -0,0 +1,145 @@
1
+ //#region src/index.ts
2
+ /**
3
+ * GitHub — GitHub Light and GitHub Dark.
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 github = {
12
+ name: "github",
13
+ colors: {
14
+ primary: "#0969da",
15
+ primaryHover: "#0550ae",
16
+ background: "#ffffff",
17
+ backgroundAlt: "#f6f8fa",
18
+ text: "#1f2328",
19
+ textMuted: "#59636e",
20
+ border: "#d1d9e0",
21
+ codeBackground: "#f6f8fa",
22
+ codeBackgroundTop: "#f6f8fa",
23
+ codeText: "#1f2328"
24
+ },
25
+ darkColors: {
26
+ primary: "#4493f8",
27
+ primaryHover: "#6cb6ff",
28
+ background: "#0d1117",
29
+ backgroundAlt: "#151b23",
30
+ text: "#f0f6fc",
31
+ textMuted: "#9198a1",
32
+ border: "#3d444d",
33
+ codeBackground: "#151b23",
34
+ codeBackgroundTop: "#151b23",
35
+ codeText: "#f0f6fc"
36
+ },
37
+ tokens: {
38
+ "color-code-line-highlight": "color-mix(in srgb, #0969da 16%, transparent)",
39
+ "color-code-line-warning": "color-mix(in srgb, #9a6700 18%, transparent)",
40
+ "color-code-line-warning-border": "#9a6700",
41
+ "color-code-line-error": "color-mix(in srgb, #cf222e 20%, transparent)",
42
+ "color-code-line-error-border": "#cf222e",
43
+ "color-code-line-add": "color-mix(in srgb, #1a7f37 16%, transparent)",
44
+ "color-code-line-add-border": "#1a7f37",
45
+ "color-code-line-remove": "color-mix(in srgb, #cf222e 14%, transparent)",
46
+ "color-code-line-remove-border": "#cf222e",
47
+ "color-code-line-focus": "color-mix(in srgb, #0969da 16%, transparent)",
48
+ "color-code-line-dim": "0.45",
49
+ "color-code-title-bg": "color-mix(in srgb, #f6f8fa 92%, #1f2328)",
50
+ "color-code-title-text": "color-mix(in srgb, #1f2328 88%, #f6f8fa)",
51
+ "color-code-title-border": "color-mix(in srgb, #1f2328 22%, transparent)",
52
+ "color-code-line-number": "color-mix(in srgb, #1f2328 48%, transparent)",
53
+ "color-code-frame-border": "color-mix(in srgb, #d1d9e0 92%, transparent)",
54
+ "color-backdrop": "rgba(89, 89, 89, 0.62)",
55
+ "surface-glass": "color-mix(in srgb, #f6f8fa 62%, #ffffff)",
56
+ "surface-line": "color-mix(in srgb, #d1d9e0 72%, #ffffff)",
57
+ "brand-violet": "#8250df",
58
+ "brand-cyan": "#1b7c83",
59
+ "brand-lime": "#1a7f37",
60
+ "brand-coral": "#cf222e",
61
+ "brand-navy": "color-mix(in srgb, #1f2328 70%, #ffffff)",
62
+ "brand-violet-rgb": "130, 80, 223",
63
+ "brand-cyan-rgb": "27, 124, 131",
64
+ "brand-lime-rgb": "26, 127, 55",
65
+ "brand-coral-rgb": "207, 34, 46",
66
+ "accent-a": "#0969da",
67
+ "accent-b": "#8250df",
68
+ "accent-c": "#1b7c83",
69
+ "accent-warm": "#9a6700",
70
+ "accent-cool": "#0969da",
71
+ "accent-a-ink": "#0969da",
72
+ "accent-b-ink": "#8250df",
73
+ "accent-c-ink": "#1b7c83",
74
+ "accent-warm-ink": "#9a6700",
75
+ "accent-cool-ink": "#0969da",
76
+ "accent-coral-ink": "#cf222e",
77
+ "shiki-foreground": "#1f2328",
78
+ "shiki-background": "#f6f8fa",
79
+ "shiki-token-comment": "color-mix(in srgb, #1f2328 55%, #f6f8fa)",
80
+ "shiki-token-punctuation": "color-mix(in srgb, #1f2328 72%, #f6f8fa)",
81
+ "shiki-token-keyword": "#8250df",
82
+ "shiki-token-string": "#1a7f37",
83
+ "shiki-token-string-expression": "#1a7f37",
84
+ "shiki-token-constant": "#9a6700",
85
+ "shiki-token-function": "#0969da",
86
+ "shiki-token-parameter": "#cf222e",
87
+ "shiki-token-link": "#1b7c83"
88
+ },
89
+ darkTokens: {
90
+ "color-code-line-highlight": "color-mix(in srgb, #4493f8 16%, transparent)",
91
+ "color-code-line-warning": "color-mix(in srgb, #d29922 18%, transparent)",
92
+ "color-code-line-warning-border": "#d29922",
93
+ "color-code-line-error": "color-mix(in srgb, #ff7b72 20%, transparent)",
94
+ "color-code-line-error-border": "#ff7b72",
95
+ "color-code-line-add": "color-mix(in srgb, #3fb950 16%, transparent)",
96
+ "color-code-line-add-border": "#3fb950",
97
+ "color-code-line-remove": "color-mix(in srgb, #ff7b72 14%, transparent)",
98
+ "color-code-line-remove-border": "#ff7b72",
99
+ "color-code-line-focus": "color-mix(in srgb, #4493f8 16%, transparent)",
100
+ "color-code-line-dim": "0.35",
101
+ "color-code-title-bg": "color-mix(in srgb, #151b23 92%, #f0f6fc)",
102
+ "color-code-title-text": "color-mix(in srgb, #f0f6fc 88%, #151b23)",
103
+ "color-code-title-border": "color-mix(in srgb, #f0f6fc 22%, transparent)",
104
+ "color-code-line-number": "color-mix(in srgb, #f0f6fc 48%, transparent)",
105
+ "color-code-frame-border": "color-mix(in srgb, #3d444d 92%, transparent)",
106
+ "color-backdrop": "rgba(5, 6, 8, 0.62)",
107
+ "surface-glass": "color-mix(in srgb, #151b23 62%, #0d1117)",
108
+ "surface-line": "color-mix(in srgb, #3d444d 72%, #0d1117)",
109
+ "brand-violet": "#bc8cff",
110
+ "brand-cyan": "#39c5cf",
111
+ "brand-lime": "#3fb950",
112
+ "brand-coral": "#ff7b72",
113
+ "brand-navy": "color-mix(in srgb, #f0f6fc 70%, #0d1117)",
114
+ "brand-violet-rgb": "188, 140, 255",
115
+ "brand-cyan-rgb": "57, 197, 207",
116
+ "brand-lime-rgb": "63, 185, 80",
117
+ "brand-coral-rgb": "255, 123, 114",
118
+ "accent-a": "#4493f8",
119
+ "accent-b": "#bc8cff",
120
+ "accent-c": "#39c5cf",
121
+ "accent-warm": "#d29922",
122
+ "accent-cool": "#4493f8",
123
+ "accent-a-ink": "#4493f8",
124
+ "accent-b-ink": "#bc8cff",
125
+ "accent-c-ink": "#39c5cf",
126
+ "accent-warm-ink": "#d29922",
127
+ "accent-cool-ink": "#4493f8",
128
+ "accent-coral-ink": "#ff7b72",
129
+ "shiki-foreground": "#f0f6fc",
130
+ "shiki-background": "#151b23",
131
+ "shiki-token-comment": "color-mix(in srgb, #f0f6fc 55%, #151b23)",
132
+ "shiki-token-punctuation": "color-mix(in srgb, #f0f6fc 72%, #151b23)",
133
+ "shiki-token-keyword": "#bc8cff",
134
+ "shiki-token-string": "#3fb950",
135
+ "shiki-token-string-expression": "#3fb950",
136
+ "shiki-token-constant": "#d29922",
137
+ "shiki-token-function": "#4493f8",
138
+ "shiki-token-parameter": "#ff7b72",
139
+ "shiki-token-link": "#39c5cf"
140
+ }
141
+ };
142
+ //#endregion
143
+ export { github as default, github };
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 * GitHub — GitHub Light and GitHub Dark.\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 github: ThemeConfig = {\n name: \"github\",\n colors: {\n primary: \"#0969da\",\n primaryHover: \"#0550ae\",\n background: \"#ffffff\",\n backgroundAlt: \"#f6f8fa\",\n text: \"#1f2328\",\n textMuted: \"#59636e\",\n border: \"#d1d9e0\",\n codeBackground: \"#f6f8fa\",\n codeBackgroundTop: \"#f6f8fa\",\n codeText: \"#1f2328\",\n },\n darkColors: {\n primary: \"#4493f8\",\n primaryHover: \"#6cb6ff\",\n background: \"#0d1117\",\n backgroundAlt: \"#151b23\",\n text: \"#f0f6fc\",\n textMuted: \"#9198a1\",\n border: \"#3d444d\",\n codeBackground: \"#151b23\",\n codeBackgroundTop: \"#151b23\",\n codeText: \"#f0f6fc\",\n },\n tokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #0969da 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #9a6700 18%, transparent)\",\n \"color-code-line-warning-border\": \"#9a6700\",\n \"color-code-line-error\": \"color-mix(in srgb, #cf222e 20%, transparent)\",\n \"color-code-line-error-border\": \"#cf222e\",\n \"color-code-line-add\": \"color-mix(in srgb, #1a7f37 16%, transparent)\",\n \"color-code-line-add-border\": \"#1a7f37\",\n \"color-code-line-remove\": \"color-mix(in srgb, #cf222e 14%, transparent)\",\n \"color-code-line-remove-border\": \"#cf222e\",\n \"color-code-line-focus\": \"color-mix(in srgb, #0969da 16%, transparent)\",\n \"color-code-line-dim\": \"0.45\",\n \"color-code-title-bg\": \"color-mix(in srgb, #f6f8fa 92%, #1f2328)\",\n \"color-code-title-text\": \"color-mix(in srgb, #1f2328 88%, #f6f8fa)\",\n \"color-code-title-border\": \"color-mix(in srgb, #1f2328 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #1f2328 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #d1d9e0 92%, transparent)\",\n \"color-backdrop\": \"rgba(89, 89, 89, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #f6f8fa 62%, #ffffff)\",\n \"surface-line\": \"color-mix(in srgb, #d1d9e0 72%, #ffffff)\",\n \"brand-violet\": \"#8250df\",\n \"brand-cyan\": \"#1b7c83\",\n \"brand-lime\": \"#1a7f37\",\n \"brand-coral\": \"#cf222e\",\n \"brand-navy\": \"color-mix(in srgb, #1f2328 70%, #ffffff)\",\n \"brand-violet-rgb\": \"130, 80, 223\",\n \"brand-cyan-rgb\": \"27, 124, 131\",\n \"brand-lime-rgb\": \"26, 127, 55\",\n \"brand-coral-rgb\": \"207, 34, 46\",\n \"accent-a\": \"#0969da\",\n \"accent-b\": \"#8250df\",\n \"accent-c\": \"#1b7c83\",\n \"accent-warm\": \"#9a6700\",\n \"accent-cool\": \"#0969da\",\n \"accent-a-ink\": \"#0969da\",\n \"accent-b-ink\": \"#8250df\",\n \"accent-c-ink\": \"#1b7c83\",\n \"accent-warm-ink\": \"#9a6700\",\n \"accent-cool-ink\": \"#0969da\",\n \"accent-coral-ink\": \"#cf222e\",\n \"shiki-foreground\": \"#1f2328\",\n \"shiki-background\": \"#f6f8fa\",\n \"shiki-token-comment\": \"color-mix(in srgb, #1f2328 55%, #f6f8fa)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #1f2328 72%, #f6f8fa)\",\n \"shiki-token-keyword\": \"#8250df\",\n \"shiki-token-string\": \"#1a7f37\",\n \"shiki-token-string-expression\": \"#1a7f37\",\n \"shiki-token-constant\": \"#9a6700\",\n \"shiki-token-function\": \"#0969da\",\n \"shiki-token-parameter\": \"#cf222e\",\n \"shiki-token-link\": \"#1b7c83\",\n },\n darkTokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #4493f8 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #d29922 18%, transparent)\",\n \"color-code-line-warning-border\": \"#d29922\",\n \"color-code-line-error\": \"color-mix(in srgb, #ff7b72 20%, transparent)\",\n \"color-code-line-error-border\": \"#ff7b72\",\n \"color-code-line-add\": \"color-mix(in srgb, #3fb950 16%, transparent)\",\n \"color-code-line-add-border\": \"#3fb950\",\n \"color-code-line-remove\": \"color-mix(in srgb, #ff7b72 14%, transparent)\",\n \"color-code-line-remove-border\": \"#ff7b72\",\n \"color-code-line-focus\": \"color-mix(in srgb, #4493f8 16%, transparent)\",\n \"color-code-line-dim\": \"0.35\",\n \"color-code-title-bg\": \"color-mix(in srgb, #151b23 92%, #f0f6fc)\",\n \"color-code-title-text\": \"color-mix(in srgb, #f0f6fc 88%, #151b23)\",\n \"color-code-title-border\": \"color-mix(in srgb, #f0f6fc 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #f0f6fc 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #3d444d 92%, transparent)\",\n \"color-backdrop\": \"rgba(5, 6, 8, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #151b23 62%, #0d1117)\",\n \"surface-line\": \"color-mix(in srgb, #3d444d 72%, #0d1117)\",\n \"brand-violet\": \"#bc8cff\",\n \"brand-cyan\": \"#39c5cf\",\n \"brand-lime\": \"#3fb950\",\n \"brand-coral\": \"#ff7b72\",\n \"brand-navy\": \"color-mix(in srgb, #f0f6fc 70%, #0d1117)\",\n \"brand-violet-rgb\": \"188, 140, 255\",\n \"brand-cyan-rgb\": \"57, 197, 207\",\n \"brand-lime-rgb\": \"63, 185, 80\",\n \"brand-coral-rgb\": \"255, 123, 114\",\n \"accent-a\": \"#4493f8\",\n \"accent-b\": \"#bc8cff\",\n \"accent-c\": \"#39c5cf\",\n \"accent-warm\": \"#d29922\",\n \"accent-cool\": \"#4493f8\",\n \"accent-a-ink\": \"#4493f8\",\n \"accent-b-ink\": \"#bc8cff\",\n \"accent-c-ink\": \"#39c5cf\",\n \"accent-warm-ink\": \"#d29922\",\n \"accent-cool-ink\": \"#4493f8\",\n \"accent-coral-ink\": \"#ff7b72\",\n \"shiki-foreground\": \"#f0f6fc\",\n \"shiki-background\": \"#151b23\",\n \"shiki-token-comment\": \"color-mix(in srgb, #f0f6fc 55%, #151b23)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #f0f6fc 72%, #151b23)\",\n \"shiki-token-keyword\": \"#bc8cff\",\n \"shiki-token-string\": \"#3fb950\",\n \"shiki-token-string-expression\": \"#3fb950\",\n \"shiki-token-constant\": \"#d29922\",\n \"shiki-token-function\": \"#4493f8\",\n \"shiki-token-parameter\": \"#ff7b72\",\n \"shiki-token-link\": \"#39c5cf\",\n },\n};\n\nexport default github;\n"],"mappings":";;;;;;;;;;AAWA,MAAa,SAAsB;CACjC,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-github",
3
+ "version": "2.84.0",
4
+ "description": "GitHub Light and GitHub Dark — an Ox Content color scheme that composes with any @ox-content/theme-* skin",
5
+ "keywords": [
6
+ "color-scheme",
7
+ "documentation",
8
+ "github",
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/github"
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
+ }