@adea-ai/themes 0.5.1 → 0.6.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/NOTICE +16 -8
- package/README.md +14 -11
- package/dist/adapters/shadcn.d.ts +8 -4
- package/dist/adapters/shadcn.d.ts.map +1 -1
- package/dist/adapters/shadcn.js +12 -4
- package/dist/adapters/shadcn.js.map +1 -1
- package/dist/adapters/tailwind.d.ts +1 -1
- package/dist/adapters/tailwind.js +1 -1
- package/dist/generated/metadata.d.ts.map +1 -1
- package/dist/generated/metadata.js +74 -0
- package/dist/generated/metadata.js.map +1 -1
- package/dist/generated/schemes.d.ts.map +1 -1
- package/dist/generated/schemes.js +128 -0
- package/dist/generated/schemes.js.map +1 -1
- package/dist/generated/themes/contrast-dark.d.ts +11 -0
- package/dist/generated/themes/contrast-dark.d.ts.map +1 -0
- package/dist/generated/themes/contrast-dark.js +75 -0
- package/dist/generated/themes/contrast-dark.js.map +1 -0
- package/dist/generated/themes/contrast-light.d.ts +11 -0
- package/dist/generated/themes/contrast-light.d.ts.map +1 -0
- package/dist/generated/themes/contrast-light.js +75 -0
- package/dist/generated/themes/contrast-light.js.map +1 -0
- package/dist/generated/themes/slate-dark.d.ts +11 -0
- package/dist/generated/themes/slate-dark.d.ts.map +1 -0
- package/dist/generated/themes/slate-dark.js +77 -0
- package/dist/generated/themes/slate-dark.js.map +1 -0
- package/dist/generated/themes/slate-light.d.ts +11 -0
- package/dist/generated/themes/slate-light.d.ts.map +1 -0
- package/dist/generated/themes/slate-light.js +76 -0
- package/dist/generated/themes/slate-light.js.map +1 -0
- package/dist/generated/themes.d.ts.map +1 -1
- package/dist/generated/themes.js +26 -18
- package/dist/generated/themes.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/normalize.d.ts +3 -1
- package/dist/normalize.d.ts.map +1 -1
- package/dist/normalize.js +1 -0
- package/dist/normalize.js.map +1 -1
- package/dist/schema.d.ts +32 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js.map +1 -1
- package/dist/sources.d.ts +16 -22
- package/dist/sources.d.ts.map +1 -1
- package/dist/sources.js +231 -5
- package/dist/sources.js.map +1 -1
- package/package.json +2 -2
- package/src/adapters/shadcn.ts +19 -8
- package/src/adapters/tailwind.ts +1 -1
- package/src/generated/metadata.ts +74 -0
- package/src/generated/schemes.ts +128 -0
- package/src/generated/themes/contrast-dark.ts +77 -0
- package/src/generated/themes/contrast-light.ts +77 -0
- package/src/generated/themes/slate-dark.ts +79 -0
- package/src/generated/themes/slate-light.ts +78 -0
- package/src/generated/themes.ts +26 -18
- package/src/index.ts +6 -5
- package/src/normalize.ts +4 -0
- package/src/schema.ts +33 -0
- package/src/sources.ts +244 -23
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by `bun run catalogue:build`. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* The catalogue is committed so that a palette change is a reviewable diff, and
|
|
5
|
+
* `bun run catalogue:check` fails the build when this file and its inputs
|
|
6
|
+
* disagree.
|
|
7
|
+
*/
|
|
8
|
+
const theme = {
|
|
9
|
+
"id": "contrast-dark",
|
|
10
|
+
"name": "High Contrast Dark",
|
|
11
|
+
"appearance": "dark",
|
|
12
|
+
"colors": {
|
|
13
|
+
"background": "oklch(0 0 0)",
|
|
14
|
+
"foreground": "oklch(1 0 0)",
|
|
15
|
+
"surface": "oklch(0.1448 0 0)",
|
|
16
|
+
"surfaceElevated": "oklch(0.1448 0 0)",
|
|
17
|
+
"surfaceHover": "oklch(0.2178 0 0)",
|
|
18
|
+
"surfaceActive": "oklch(0.2178 0 0)",
|
|
19
|
+
"border": "oklch(0.65 0 0)",
|
|
20
|
+
"borderMuted": "oklch(0.65 0 0)",
|
|
21
|
+
"text": "oklch(1 0 0)",
|
|
22
|
+
"textMuted": "oklch(0.9219 0 0)",
|
|
23
|
+
"textSubtle": "oklch(0.65 0 0)",
|
|
24
|
+
"accent": "oklch(0.7693 0.1175 261.56)",
|
|
25
|
+
"accentForeground": "oklch(0 0 0)",
|
|
26
|
+
"success": "oklch(0.8003 0.1821 151.71)",
|
|
27
|
+
"warning": "oklch(0.7904 0.1386 85.24)",
|
|
28
|
+
"error": "oklch(0.7116 0.1812 22.84)",
|
|
29
|
+
"info": "oklch(0.7162 0.1369 258.28)"
|
|
30
|
+
},
|
|
31
|
+
"ansi": {
|
|
32
|
+
"black": "oklch(0.3339 0.0223 256.4)",
|
|
33
|
+
"red": "oklch(0.7465 0.1536 20.48)",
|
|
34
|
+
"green": "oklch(0.7717 0.188 145.48)",
|
|
35
|
+
"yellow": "oklch(0.7904 0.1386 85.24)",
|
|
36
|
+
"blue": "oklch(0.7162 0.1369 258.28)",
|
|
37
|
+
"magenta": "oklch(0.662 0.168 349.52)",
|
|
38
|
+
"cyan": "oklch(0.7555 0.1155 202.14)",
|
|
39
|
+
"white": "oklch(0.8938 0.014 247.98)",
|
|
40
|
+
"brightBlack": "oklch(0.4849 0.0196 251.02)",
|
|
41
|
+
"brightRed": "oklch(0.7793 0.1291 20.43)",
|
|
42
|
+
"brightGreen": "oklch(0.8159 0.1496 147.95)",
|
|
43
|
+
"brightYellow": "oklch(0.8363 0.1238 83.41)",
|
|
44
|
+
"brightBlue": "oklch(0.7814 0.1113 259.45)",
|
|
45
|
+
"brightMagenta": "oklch(0.723 0.1473 349.04)",
|
|
46
|
+
"brightCyan": "oklch(0.8063 0.1005 202.61)",
|
|
47
|
+
"brightWhite": "oklch(0.9593 0.0069 247.9)"
|
|
48
|
+
},
|
|
49
|
+
"cursor": "oklch(0.9425 0.0111 243.66)",
|
|
50
|
+
"selection": "oklch(0.4184 0.0829 250.44)",
|
|
51
|
+
"family": "contrast",
|
|
52
|
+
"familyLabel": "High Contrast",
|
|
53
|
+
"label": "Dark",
|
|
54
|
+
"description": "Adea’s high-contrast palette for dark appearance.",
|
|
55
|
+
"provenance": {
|
|
56
|
+
"project": "Adea",
|
|
57
|
+
"url": "https://github.com/adea-ai/adea",
|
|
58
|
+
"license": "Apache-2.0"
|
|
59
|
+
},
|
|
60
|
+
"tags": [
|
|
61
|
+
"dark",
|
|
62
|
+
"high-contrast"
|
|
63
|
+
],
|
|
64
|
+
"shadcn": {
|
|
65
|
+
"card": "#0a0a0a",
|
|
66
|
+
"popover": "#0a0a0a",
|
|
67
|
+
"secondary": "#1a1a1a",
|
|
68
|
+
"muted": "#1a1a1a",
|
|
69
|
+
"border": "#8f8f8f",
|
|
70
|
+
"input": "#8f8f8f",
|
|
71
|
+
"ring": "#ffffff"
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export default theme;
|
|
75
|
+
//# sourceMappingURL=contrast-dark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contrast-dark.js","sourceRoot":"","sources":["../../../src/generated/themes/contrast-dark.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,KAAK,GAAoB;IAC7B,IAAI,EAAE,eAAe;IACrB,MAAM,EAAE,oBAAoB;IAC5B,YAAY,EAAE,MAAM;IACpB,QAAQ,EAAE;QACR,YAAY,EAAE,cAAc;QAC5B,YAAY,EAAE,cAAc;QAC5B,SAAS,EAAE,mBAAmB;QAC9B,iBAAiB,EAAE,mBAAmB;QACtC,cAAc,EAAE,mBAAmB;QACnC,eAAe,EAAE,mBAAmB;QACpC,QAAQ,EAAE,iBAAiB;QAC3B,aAAa,EAAE,iBAAiB;QAChC,MAAM,EAAE,cAAc;QACtB,WAAW,EAAE,mBAAmB;QAChC,YAAY,EAAE,iBAAiB;QAC/B,QAAQ,EAAE,6BAA6B;QACvC,kBAAkB,EAAE,cAAc;QAClC,SAAS,EAAE,6BAA6B;QACxC,SAAS,EAAE,4BAA4B;QACvC,OAAO,EAAE,4BAA4B;QACrC,MAAM,EAAE,6BAA6B;KACtC;IACD,MAAM,EAAE;QACN,OAAO,EAAE,4BAA4B;QACrC,KAAK,EAAE,4BAA4B;QACnC,OAAO,EAAE,4BAA4B;QACrC,QAAQ,EAAE,4BAA4B;QACtC,MAAM,EAAE,6BAA6B;QACrC,SAAS,EAAE,2BAA2B;QACtC,MAAM,EAAE,6BAA6B;QACrC,OAAO,EAAE,4BAA4B;QACrC,aAAa,EAAE,6BAA6B;QAC5C,WAAW,EAAE,4BAA4B;QACzC,aAAa,EAAE,6BAA6B;QAC5C,cAAc,EAAE,4BAA4B;QAC5C,YAAY,EAAE,6BAA6B;QAC3C,eAAe,EAAE,4BAA4B;QAC7C,YAAY,EAAE,6BAA6B;QAC3C,aAAa,EAAE,4BAA4B;KAC5C;IACD,QAAQ,EAAE,6BAA6B;IACvC,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,eAAe;IAC9B,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,mDAAmD;IAClE,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,iCAAiC;QACxC,SAAS,EAAE,YAAY;KACxB;IACD,MAAM,EAAE;QACN,MAAM;QACN,eAAe;KAChB;IACD,QAAQ,EAAE;QACR,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;QACtB,OAAO,EAAE,SAAS;QAClB,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,SAAS;KAClB;CACF,CAAA;AACD,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by `bun run catalogue:build`. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* The catalogue is committed so that a palette change is a reviewable diff, and
|
|
5
|
+
* `bun run catalogue:check` fails the build when this file and its inputs
|
|
6
|
+
* disagree.
|
|
7
|
+
*/
|
|
8
|
+
import type { AdeaThemeRecord } from '../../schema.js';
|
|
9
|
+
declare const theme: AdeaThemeRecord;
|
|
10
|
+
export default theme;
|
|
11
|
+
//# sourceMappingURL=contrast-light.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contrast-light.d.ts","sourceRoot":"","sources":["../../../src/generated/themes/contrast-light.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,QAAA,MAAM,KAAK,EAAE,eAiEZ,CAAA;AACD,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by `bun run catalogue:build`. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* The catalogue is committed so that a palette change is a reviewable diff, and
|
|
5
|
+
* `bun run catalogue:check` fails the build when this file and its inputs
|
|
6
|
+
* disagree.
|
|
7
|
+
*/
|
|
8
|
+
const theme = {
|
|
9
|
+
"id": "contrast-light",
|
|
10
|
+
"name": "High Contrast Light",
|
|
11
|
+
"appearance": "light",
|
|
12
|
+
"colors": {
|
|
13
|
+
"background": "oklch(1 0 0)",
|
|
14
|
+
"foreground": "oklch(0 0 0)",
|
|
15
|
+
"surface": "oklch(1 0 0)",
|
|
16
|
+
"surfaceElevated": "oklch(1 0 0)",
|
|
17
|
+
"surfaceHover": "oklch(0.9551 0 0)",
|
|
18
|
+
"surfaceActive": "oklch(0.9551 0 0)",
|
|
19
|
+
"border": "oklch(0.5658 0 0)",
|
|
20
|
+
"borderMuted": "oklch(0.5658 0 0)",
|
|
21
|
+
"text": "oklch(0 0 0)",
|
|
22
|
+
"textMuted": "oklch(0.3211 0 0)",
|
|
23
|
+
"textSubtle": "oklch(0.5658 0 0)",
|
|
24
|
+
"accent": "oklch(0.3862 0.1436 262.12)",
|
|
25
|
+
"accentForeground": "oklch(1 0 0)",
|
|
26
|
+
"success": "oklch(0.3925 0.0896 152.54)",
|
|
27
|
+
"warning": "oklch(0.5091 0.0985 68.76)",
|
|
28
|
+
"error": "oklch(0.5054 0.1905 27.52)",
|
|
29
|
+
"info": "oklch(0.4949 0.1992 260.6)"
|
|
30
|
+
},
|
|
31
|
+
"ansi": {
|
|
32
|
+
"black": "oklch(0.2373 0.0113 254.06)",
|
|
33
|
+
"red": "oklch(0.5054 0.1905 27.52)",
|
|
34
|
+
"green": "oklch(0.4606 0.1227 148.77)",
|
|
35
|
+
"yellow": "oklch(0.5091 0.0985 68.76)",
|
|
36
|
+
"blue": "oklch(0.4949 0.1992 260.6)",
|
|
37
|
+
"magenta": "oklch(0.4773 0.185 347.85)",
|
|
38
|
+
"cyan": "oklch(0.5198 0.0936 223.13)",
|
|
39
|
+
"white": "oklch(0.4849 0.0196 251.02)",
|
|
40
|
+
"brightBlack": "oklch(0.4849 0.0196 251.02)",
|
|
41
|
+
"brightRed": "oklch(0.5864 0.1586 23.34)",
|
|
42
|
+
"brightGreen": "oklch(0.6127 0.1559 150.57)",
|
|
43
|
+
"brightYellow": "oklch(0.6026 0.1091 71.79)",
|
|
44
|
+
"brightBlue": "oklch(0.6231 0.188 259.81)",
|
|
45
|
+
"brightMagenta": "oklch(0.5889 0.1701 345.97)",
|
|
46
|
+
"brightCyan": "oklch(0.6089 0.1109 221.72)",
|
|
47
|
+
"brightWhite": "oklch(0.2785 0.0132 253.04)"
|
|
48
|
+
},
|
|
49
|
+
"cursor": "oklch(0.2785 0.0132 253.04)",
|
|
50
|
+
"selection": "oklch(0.8363 0.081 271.45)",
|
|
51
|
+
"family": "contrast",
|
|
52
|
+
"familyLabel": "High Contrast",
|
|
53
|
+
"label": "Light",
|
|
54
|
+
"description": "Adea’s high-contrast palette for light appearance.",
|
|
55
|
+
"provenance": {
|
|
56
|
+
"project": "Adea",
|
|
57
|
+
"url": "https://github.com/adea-ai/adea",
|
|
58
|
+
"license": "Apache-2.0"
|
|
59
|
+
},
|
|
60
|
+
"tags": [
|
|
61
|
+
"light",
|
|
62
|
+
"high-contrast"
|
|
63
|
+
],
|
|
64
|
+
"shadcn": {
|
|
65
|
+
"card": "#ffffff",
|
|
66
|
+
"popover": "#ffffff",
|
|
67
|
+
"secondary": "#f0f0f0",
|
|
68
|
+
"muted": "#f0f0f0",
|
|
69
|
+
"border": "#767676",
|
|
70
|
+
"input": "#767676",
|
|
71
|
+
"ring": "#000000"
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export default theme;
|
|
75
|
+
//# sourceMappingURL=contrast-light.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contrast-light.js","sourceRoot":"","sources":["../../../src/generated/themes/contrast-light.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,KAAK,GAAoB;IAC7B,IAAI,EAAE,gBAAgB;IACtB,MAAM,EAAE,qBAAqB;IAC7B,YAAY,EAAE,OAAO;IACrB,QAAQ,EAAE;QACR,YAAY,EAAE,cAAc;QAC5B,YAAY,EAAE,cAAc;QAC5B,SAAS,EAAE,cAAc;QACzB,iBAAiB,EAAE,cAAc;QACjC,cAAc,EAAE,mBAAmB;QACnC,eAAe,EAAE,mBAAmB;QACpC,QAAQ,EAAE,mBAAmB;QAC7B,aAAa,EAAE,mBAAmB;QAClC,MAAM,EAAE,cAAc;QACtB,WAAW,EAAE,mBAAmB;QAChC,YAAY,EAAE,mBAAmB;QACjC,QAAQ,EAAE,6BAA6B;QACvC,kBAAkB,EAAE,cAAc;QAClC,SAAS,EAAE,6BAA6B;QACxC,SAAS,EAAE,4BAA4B;QACvC,OAAO,EAAE,4BAA4B;QACrC,MAAM,EAAE,4BAA4B;KACrC;IACD,MAAM,EAAE;QACN,OAAO,EAAE,6BAA6B;QACtC,KAAK,EAAE,4BAA4B;QACnC,OAAO,EAAE,6BAA6B;QACtC,QAAQ,EAAE,4BAA4B;QACtC,MAAM,EAAE,4BAA4B;QACpC,SAAS,EAAE,4BAA4B;QACvC,MAAM,EAAE,6BAA6B;QACrC,OAAO,EAAE,6BAA6B;QACtC,aAAa,EAAE,6BAA6B;QAC5C,WAAW,EAAE,4BAA4B;QACzC,aAAa,EAAE,6BAA6B;QAC5C,cAAc,EAAE,4BAA4B;QAC5C,YAAY,EAAE,4BAA4B;QAC1C,eAAe,EAAE,6BAA6B;QAC9C,YAAY,EAAE,6BAA6B;QAC3C,aAAa,EAAE,6BAA6B;KAC7C;IACD,QAAQ,EAAE,6BAA6B;IACvC,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,eAAe;IAC9B,OAAO,EAAE,OAAO;IAChB,aAAa,EAAE,oDAAoD;IACnE,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,iCAAiC;QACxC,SAAS,EAAE,YAAY;KACxB;IACD,MAAM,EAAE;QACN,OAAO;QACP,eAAe;KAChB;IACD,QAAQ,EAAE;QACR,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;QACtB,OAAO,EAAE,SAAS;QAClB,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,SAAS;KAClB;CACF,CAAA;AACD,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by `bun run catalogue:build`. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* The catalogue is committed so that a palette change is a reviewable diff, and
|
|
5
|
+
* `bun run catalogue:check` fails the build when this file and its inputs
|
|
6
|
+
* disagree.
|
|
7
|
+
*/
|
|
8
|
+
import type { AdeaThemeRecord } from '../../schema.js';
|
|
9
|
+
declare const theme: AdeaThemeRecord;
|
|
10
|
+
export default theme;
|
|
11
|
+
//# sourceMappingURL=slate-dark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slate-dark.d.ts","sourceRoot":"","sources":["../../../src/generated/themes/slate-dark.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,QAAA,MAAM,KAAK,EAAE,eAmEZ,CAAA;AACD,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by `bun run catalogue:build`. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* The catalogue is committed so that a palette change is a reviewable diff, and
|
|
5
|
+
* `bun run catalogue:check` fails the build when this file and its inputs
|
|
6
|
+
* disagree.
|
|
7
|
+
*/
|
|
8
|
+
const theme = {
|
|
9
|
+
"id": "slate-dark",
|
|
10
|
+
"name": "Slate Dark",
|
|
11
|
+
"appearance": "dark",
|
|
12
|
+
"colors": {
|
|
13
|
+
"background": "oklch(0.2077 0.0398 265.75)",
|
|
14
|
+
"foreground": "oklch(0.9683 0.0069 247.9)",
|
|
15
|
+
"surface": "oklch(0.2795 0.0368 260.03)",
|
|
16
|
+
"surfaceElevated": "oklch(0.2795 0.0368 260.03)",
|
|
17
|
+
"surfaceHover": "oklch(0.3717 0.0392 257.29)",
|
|
18
|
+
"surfaceActive": "oklch(0.3717 0.0392 257.29)",
|
|
19
|
+
"border": "oklch(0.7107 0.0351 256.79)",
|
|
20
|
+
"borderMuted": "oklch(0.7107 0.0351 256.79)",
|
|
21
|
+
"text": "oklch(0.9683 0.0069 247.9)",
|
|
22
|
+
"textMuted": "oklch(0.7107 0.0351 256.79)",
|
|
23
|
+
"textSubtle": "oklch(0.5544 0.0407 257.42)",
|
|
24
|
+
"accent": "oklch(0.9288 0.0126 255.51)",
|
|
25
|
+
"accentForeground": "oklch(0.2077 0.0398 265.75)",
|
|
26
|
+
"success": "oklch(0.8003 0.1821 151.71)",
|
|
27
|
+
"warning": "oklch(0.7904 0.1386 85.24)",
|
|
28
|
+
"error": "oklch(0.7106 0.1661 22.22)",
|
|
29
|
+
"info": "oklch(0.7162 0.1369 258.28)"
|
|
30
|
+
},
|
|
31
|
+
"ansi": {
|
|
32
|
+
"black": "oklch(0.3339 0.0223 256.4)",
|
|
33
|
+
"red": "oklch(0.7465 0.1536 20.48)",
|
|
34
|
+
"green": "oklch(0.7717 0.188 145.48)",
|
|
35
|
+
"yellow": "oklch(0.7904 0.1386 85.24)",
|
|
36
|
+
"blue": "oklch(0.7162 0.1369 258.28)",
|
|
37
|
+
"magenta": "oklch(0.662 0.168 349.52)",
|
|
38
|
+
"cyan": "oklch(0.7555 0.1155 202.14)",
|
|
39
|
+
"white": "oklch(0.8938 0.014 247.98)",
|
|
40
|
+
"brightBlack": "oklch(0.4849 0.0196 251.02)",
|
|
41
|
+
"brightRed": "oklch(0.7793 0.1291 20.43)",
|
|
42
|
+
"brightGreen": "oklch(0.8159 0.1496 147.95)",
|
|
43
|
+
"brightYellow": "oklch(0.8363 0.1238 83.41)",
|
|
44
|
+
"brightBlue": "oklch(0.7814 0.1113 259.45)",
|
|
45
|
+
"brightMagenta": "oklch(0.723 0.1473 349.04)",
|
|
46
|
+
"brightCyan": "oklch(0.8063 0.1005 202.61)",
|
|
47
|
+
"brightWhite": "oklch(0.9593 0.0069 247.9)"
|
|
48
|
+
},
|
|
49
|
+
"cursor": "oklch(0.9425 0.0111 243.66)",
|
|
50
|
+
"selection": "oklch(0.4184 0.0829 250.44)",
|
|
51
|
+
"family": "slate",
|
|
52
|
+
"familyLabel": "Slate",
|
|
53
|
+
"label": "Dark",
|
|
54
|
+
"description": "Adea’s slate neutral palette for dark appearance.",
|
|
55
|
+
"provenance": {
|
|
56
|
+
"project": "Adea",
|
|
57
|
+
"url": "https://github.com/adea-ai/adea",
|
|
58
|
+
"license": "Apache-2.0"
|
|
59
|
+
},
|
|
60
|
+
"tags": [
|
|
61
|
+
"dark",
|
|
62
|
+
"slate",
|
|
63
|
+
"neutral"
|
|
64
|
+
],
|
|
65
|
+
"shadcn": {
|
|
66
|
+
"card": "#1e293b",
|
|
67
|
+
"popover": "#1e293b",
|
|
68
|
+
"secondary": "#334155",
|
|
69
|
+
"muted": "#334155",
|
|
70
|
+
"mutedForeground": "oklch(0.7427 0.0351 256.79)",
|
|
71
|
+
"border": "rgba(148, 163, 184, 0.2)",
|
|
72
|
+
"input": "rgba(148, 163, 184, 0.25)",
|
|
73
|
+
"ring": "#64748b"
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
export default theme;
|
|
77
|
+
//# sourceMappingURL=slate-dark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slate-dark.js","sourceRoot":"","sources":["../../../src/generated/themes/slate-dark.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,KAAK,GAAoB;IAC7B,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,YAAY;IACpB,YAAY,EAAE,MAAM;IACpB,QAAQ,EAAE;QACR,YAAY,EAAE,6BAA6B;QAC3C,YAAY,EAAE,4BAA4B;QAC1C,SAAS,EAAE,6BAA6B;QACxC,iBAAiB,EAAE,6BAA6B;QAChD,cAAc,EAAE,6BAA6B;QAC7C,eAAe,EAAE,6BAA6B;QAC9C,QAAQ,EAAE,6BAA6B;QACvC,aAAa,EAAE,6BAA6B;QAC5C,MAAM,EAAE,4BAA4B;QACpC,WAAW,EAAE,6BAA6B;QAC1C,YAAY,EAAE,6BAA6B;QAC3C,QAAQ,EAAE,6BAA6B;QACvC,kBAAkB,EAAE,6BAA6B;QACjD,SAAS,EAAE,6BAA6B;QACxC,SAAS,EAAE,4BAA4B;QACvC,OAAO,EAAE,4BAA4B;QACrC,MAAM,EAAE,6BAA6B;KACtC;IACD,MAAM,EAAE;QACN,OAAO,EAAE,4BAA4B;QACrC,KAAK,EAAE,4BAA4B;QACnC,OAAO,EAAE,4BAA4B;QACrC,QAAQ,EAAE,4BAA4B;QACtC,MAAM,EAAE,6BAA6B;QACrC,SAAS,EAAE,2BAA2B;QACtC,MAAM,EAAE,6BAA6B;QACrC,OAAO,EAAE,4BAA4B;QACrC,aAAa,EAAE,6BAA6B;QAC5C,WAAW,EAAE,4BAA4B;QACzC,aAAa,EAAE,6BAA6B;QAC5C,cAAc,EAAE,4BAA4B;QAC5C,YAAY,EAAE,6BAA6B;QAC3C,eAAe,EAAE,4BAA4B;QAC7C,YAAY,EAAE,6BAA6B;QAC3C,aAAa,EAAE,4BAA4B;KAC5C;IACD,QAAQ,EAAE,6BAA6B;IACvC,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,OAAO;IACjB,aAAa,EAAE,OAAO;IACtB,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,mDAAmD;IAClE,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,iCAAiC;QACxC,SAAS,EAAE,YAAY;KACxB;IACD,MAAM,EAAE;QACN,MAAM;QACN,OAAO;QACP,SAAS;KACV;IACD,QAAQ,EAAE;QACR,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;QACtB,OAAO,EAAE,SAAS;QAClB,iBAAiB,EAAE,6BAA6B;QAChD,QAAQ,EAAE,0BAA0B;QACpC,OAAO,EAAE,2BAA2B;QACpC,MAAM,EAAE,SAAS;KAClB;CACF,CAAA;AACD,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by `bun run catalogue:build`. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* The catalogue is committed so that a palette change is a reviewable diff, and
|
|
5
|
+
* `bun run catalogue:check` fails the build when this file and its inputs
|
|
6
|
+
* disagree.
|
|
7
|
+
*/
|
|
8
|
+
import type { AdeaThemeRecord } from '../../schema.js';
|
|
9
|
+
declare const theme: AdeaThemeRecord;
|
|
10
|
+
export default theme;
|
|
11
|
+
//# sourceMappingURL=slate-light.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slate-light.d.ts","sourceRoot":"","sources":["../../../src/generated/themes/slate-light.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,QAAA,MAAM,KAAK,EAAE,eAkEZ,CAAA;AACD,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by `bun run catalogue:build`. Do not edit.
|
|
3
|
+
*
|
|
4
|
+
* The catalogue is committed so that a palette change is a reviewable diff, and
|
|
5
|
+
* `bun run catalogue:check` fails the build when this file and its inputs
|
|
6
|
+
* disagree.
|
|
7
|
+
*/
|
|
8
|
+
const theme = {
|
|
9
|
+
"id": "slate-light",
|
|
10
|
+
"name": "Slate Light",
|
|
11
|
+
"appearance": "light",
|
|
12
|
+
"colors": {
|
|
13
|
+
"background": "oklch(0.9842 0.0034 247.86)",
|
|
14
|
+
"foreground": "oklch(0.2077 0.0398 265.75)",
|
|
15
|
+
"surface": "oklch(0.9842 0.0034 247.86)",
|
|
16
|
+
"surfaceElevated": "oklch(0.9842 0.0034 247.86)",
|
|
17
|
+
"surfaceHover": "oklch(0.9288 0.0126 255.51)",
|
|
18
|
+
"surfaceActive": "oklch(0.9288 0.0126 255.51)",
|
|
19
|
+
"border": "oklch(0.869 0.0198 252.89)",
|
|
20
|
+
"borderMuted": "oklch(0.869 0.0198 252.89)",
|
|
21
|
+
"text": "oklch(0.2077 0.0398 265.75)",
|
|
22
|
+
"textMuted": "oklch(0.4455 0.0374 257.28)",
|
|
23
|
+
"textSubtle": "oklch(0.5544 0.0407 257.42)",
|
|
24
|
+
"accent": "oklch(0.2077 0.0398 265.75)",
|
|
25
|
+
"accentForeground": "oklch(0.9842 0.0034 247.86)",
|
|
26
|
+
"success": "oklch(0.5273 0.1371 150.07)",
|
|
27
|
+
"warning": "oklch(0.5091 0.0985 68.76)",
|
|
28
|
+
"error": "oklch(0.5054 0.1905 27.52)",
|
|
29
|
+
"info": "oklch(0.4949 0.1992 260.6)"
|
|
30
|
+
},
|
|
31
|
+
"ansi": {
|
|
32
|
+
"black": "oklch(0.2373 0.0113 254.06)",
|
|
33
|
+
"red": "oklch(0.5054 0.1905 27.52)",
|
|
34
|
+
"green": "oklch(0.4606 0.1227 148.77)",
|
|
35
|
+
"yellow": "oklch(0.5091 0.0985 68.76)",
|
|
36
|
+
"blue": "oklch(0.4949 0.1992 260.6)",
|
|
37
|
+
"magenta": "oklch(0.4773 0.185 347.85)",
|
|
38
|
+
"cyan": "oklch(0.5198 0.0936 223.13)",
|
|
39
|
+
"white": "oklch(0.4849 0.0196 251.02)",
|
|
40
|
+
"brightBlack": "oklch(0.4849 0.0196 251.02)",
|
|
41
|
+
"brightRed": "oklch(0.5864 0.1586 23.34)",
|
|
42
|
+
"brightGreen": "oklch(0.6127 0.1559 150.57)",
|
|
43
|
+
"brightYellow": "oklch(0.6026 0.1091 71.79)",
|
|
44
|
+
"brightBlue": "oklch(0.6231 0.188 259.81)",
|
|
45
|
+
"brightMagenta": "oklch(0.5889 0.1701 345.97)",
|
|
46
|
+
"brightCyan": "oklch(0.6089 0.1109 221.72)",
|
|
47
|
+
"brightWhite": "oklch(0.2785 0.0132 253.04)"
|
|
48
|
+
},
|
|
49
|
+
"cursor": "oklch(0.2785 0.0132 253.04)",
|
|
50
|
+
"selection": "oklch(0.8363 0.081 271.45)",
|
|
51
|
+
"family": "slate",
|
|
52
|
+
"familyLabel": "Slate",
|
|
53
|
+
"label": "Light",
|
|
54
|
+
"description": "Adea’s slate neutral palette for light appearance.",
|
|
55
|
+
"provenance": {
|
|
56
|
+
"project": "Adea",
|
|
57
|
+
"url": "https://github.com/adea-ai/adea",
|
|
58
|
+
"license": "Apache-2.0"
|
|
59
|
+
},
|
|
60
|
+
"tags": [
|
|
61
|
+
"light",
|
|
62
|
+
"slate",
|
|
63
|
+
"neutral"
|
|
64
|
+
],
|
|
65
|
+
"shadcn": {
|
|
66
|
+
"card": "#ffffff",
|
|
67
|
+
"popover": "#ffffff",
|
|
68
|
+
"secondary": "#e2e8f0",
|
|
69
|
+
"muted": "#e2e8f0",
|
|
70
|
+
"border": "#cbd5e1",
|
|
71
|
+
"input": "#cbd5e1",
|
|
72
|
+
"ring": "#64748b"
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
export default theme;
|
|
76
|
+
//# sourceMappingURL=slate-light.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slate-light.js","sourceRoot":"","sources":["../../../src/generated/themes/slate-light.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,KAAK,GAAoB;IAC7B,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,aAAa;IACrB,YAAY,EAAE,OAAO;IACrB,QAAQ,EAAE;QACR,YAAY,EAAE,6BAA6B;QAC3C,YAAY,EAAE,6BAA6B;QAC3C,SAAS,EAAE,6BAA6B;QACxC,iBAAiB,EAAE,6BAA6B;QAChD,cAAc,EAAE,6BAA6B;QAC7C,eAAe,EAAE,6BAA6B;QAC9C,QAAQ,EAAE,4BAA4B;QACtC,aAAa,EAAE,4BAA4B;QAC3C,MAAM,EAAE,6BAA6B;QACrC,WAAW,EAAE,6BAA6B;QAC1C,YAAY,EAAE,6BAA6B;QAC3C,QAAQ,EAAE,6BAA6B;QACvC,kBAAkB,EAAE,6BAA6B;QACjD,SAAS,EAAE,6BAA6B;QACxC,SAAS,EAAE,4BAA4B;QACvC,OAAO,EAAE,4BAA4B;QACrC,MAAM,EAAE,4BAA4B;KACrC;IACD,MAAM,EAAE;QACN,OAAO,EAAE,6BAA6B;QACtC,KAAK,EAAE,4BAA4B;QACnC,OAAO,EAAE,6BAA6B;QACtC,QAAQ,EAAE,4BAA4B;QACtC,MAAM,EAAE,4BAA4B;QACpC,SAAS,EAAE,4BAA4B;QACvC,MAAM,EAAE,6BAA6B;QACrC,OAAO,EAAE,6BAA6B;QACtC,aAAa,EAAE,6BAA6B;QAC5C,WAAW,EAAE,4BAA4B;QACzC,aAAa,EAAE,6BAA6B;QAC5C,cAAc,EAAE,4BAA4B;QAC5C,YAAY,EAAE,4BAA4B;QAC1C,eAAe,EAAE,6BAA6B;QAC9C,YAAY,EAAE,6BAA6B;QAC3C,aAAa,EAAE,6BAA6B;KAC7C;IACD,QAAQ,EAAE,6BAA6B;IACvC,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,OAAO;IACjB,aAAa,EAAE,OAAO;IACtB,OAAO,EAAE,OAAO;IAChB,aAAa,EAAE,oDAAoD;IACnE,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,iCAAiC;QACxC,SAAS,EAAE,YAAY;KACxB;IACD,MAAM,EAAE;QACN,OAAO;QACP,OAAO;QACP,SAAS;KACV;IACD,QAAQ,EAAE;QACR,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;QACtB,OAAO,EAAE,SAAS;QAClB,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,SAAS;KAClB;CACF,CAAA;AACD,eAAe,KAAK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/generated/themes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/generated/themes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAiCnD,mDAAmD;AACnD,eAAO,MAAM,eAAe,EAAE,SAAS,eAAe,EAgCpD,CAAA"}
|
package/dist/generated/themes.js
CHANGED
|
@@ -14,24 +14,28 @@ import theme5 from './themes/catppuccin-frappe.js';
|
|
|
14
14
|
import theme6 from './themes/catppuccin-latte.js';
|
|
15
15
|
import theme7 from './themes/catppuccin-macchiato.js';
|
|
16
16
|
import theme8 from './themes/catppuccin-mocha.js';
|
|
17
|
-
import theme9 from './themes/
|
|
18
|
-
import theme10 from './themes/
|
|
19
|
-
import theme11 from './themes/
|
|
20
|
-
import theme12 from './themes/
|
|
21
|
-
import theme13 from './themes/
|
|
22
|
-
import theme14 from './themes/
|
|
23
|
-
import theme15 from './themes/
|
|
24
|
-
import theme16 from './themes/
|
|
25
|
-
import theme17 from './themes/
|
|
26
|
-
import theme18 from './themes/
|
|
27
|
-
import theme19 from './themes/
|
|
28
|
-
import theme20 from './themes/rosepine
|
|
29
|
-
import theme21 from './themes/
|
|
30
|
-
import theme22 from './themes/
|
|
31
|
-
import theme23 from './themes/
|
|
32
|
-
import theme24 from './themes/
|
|
33
|
-
import theme25 from './themes/
|
|
34
|
-
import theme26 from './themes/
|
|
17
|
+
import theme9 from './themes/contrast-dark.js';
|
|
18
|
+
import theme10 from './themes/contrast-light.js';
|
|
19
|
+
import theme11 from './themes/dracula.js';
|
|
20
|
+
import theme12 from './themes/everforest-dark.js';
|
|
21
|
+
import theme13 from './themes/everforest-light.js';
|
|
22
|
+
import theme14 from './themes/gruvbox-dark.js';
|
|
23
|
+
import theme15 from './themes/gruvbox-light.js';
|
|
24
|
+
import theme16 from './themes/kanagawa.js';
|
|
25
|
+
import theme17 from './themes/monokai.js';
|
|
26
|
+
import theme18 from './themes/nord.js';
|
|
27
|
+
import theme19 from './themes/one-dark.js';
|
|
28
|
+
import theme20 from './themes/rosepine.js';
|
|
29
|
+
import theme21 from './themes/rosepine-dawn.js';
|
|
30
|
+
import theme22 from './themes/rosepine-moon.js';
|
|
31
|
+
import theme23 from './themes/slate-dark.js';
|
|
32
|
+
import theme24 from './themes/slate-light.js';
|
|
33
|
+
import theme25 from './themes/solarized-dark.js';
|
|
34
|
+
import theme26 from './themes/solarized-light.js';
|
|
35
|
+
import theme27 from './themes/tokyonight-day.js';
|
|
36
|
+
import theme28 from './themes/tokyonight-night.js';
|
|
37
|
+
import theme29 from './themes/tokyonight-storm.js';
|
|
38
|
+
import theme30 from './themes/vesper.js';
|
|
35
39
|
/** Every theme in the catalogue, ordered by id. */
|
|
36
40
|
export const generatedThemes = Object.freeze([
|
|
37
41
|
theme0,
|
|
@@ -61,5 +65,9 @@ export const generatedThemes = Object.freeze([
|
|
|
61
65
|
theme24,
|
|
62
66
|
theme25,
|
|
63
67
|
theme26,
|
|
68
|
+
theme27,
|
|
69
|
+
theme28,
|
|
70
|
+
theme29,
|
|
71
|
+
theme30,
|
|
64
72
|
]);
|
|
65
73
|
//# sourceMappingURL=themes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themes.js","sourceRoot":"","sources":["../../src/generated/themes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,MAAM,MAAM,uBAAuB,CAAA;AAC1C,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAC3C,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,MAAM,MAAM,uBAAuB,CAAA;AAC1C,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAC3C,OAAO,MAAM,MAAM,+BAA+B,CAAA;AAClD,OAAO,MAAM,MAAM,8BAA8B,CAAA;AACjD,OAAO,MAAM,MAAM,kCAAkC,CAAA;AACrD,OAAO,MAAM,MAAM,8BAA8B,CAAA;AACjD,OAAO,MAAM,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"themes.js","sourceRoot":"","sources":["../../src/generated/themes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,MAAM,MAAM,uBAAuB,CAAA;AAC1C,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAC3C,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,MAAM,MAAM,uBAAuB,CAAA;AAC1C,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAC3C,OAAO,MAAM,MAAM,+BAA+B,CAAA;AAClD,OAAO,MAAM,MAAM,8BAA8B,CAAA;AACjD,OAAO,MAAM,MAAM,kCAAkC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ACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* The design is described in four decisions, and the rest of this package follows
|
|
10
10
|
* from them.
|
|
11
11
|
*
|
|
12
|
-
* **Adea owns the schema and the transformation
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* **Adea owns the schema and the transformation.** The seventeen surface roles in
|
|
13
|
+
* `schema.ts` are the contract, and no upstream project is asked to satisfy it. The
|
|
14
|
+
* Base24 palettes in `palettes/` are reproduced from a pinned revision; the Slate
|
|
15
|
+
* and High Contrast families are Adea-authored semantic palettes. Normalizing inputs
|
|
16
|
+
* is this package's job and it happens once, here.
|
|
17
17
|
*
|
|
18
18
|
* **OKLCH is the representation.** Every role is an `oklch()` string. Lightness in
|
|
19
19
|
* OKLCH is perceptually uniform, which is what lets a surface ladder be built by
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
* }
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
|
-
export type { AdeaAnsi, AdeaTheme, AdeaThemeColors, AdeaThemeRecord, AnsiKey, ThemeAppearance, ThemeColorKey, ThemeFamily, ThemeMetadata, ThemeProvenance, } from './schema.js';
|
|
45
|
+
export type { AdeaAnsi, AdeaTheme, AdeaThemeColors, AdeaThemeRecord, AnsiKey, ThemeAppearance, ThemeColorKey, ThemeFamily, ThemeMetadata, ThemeProvenance, ShadcnThemeProjection, } from './schema.js';
|
|
46
46
|
export { ANSI_KEYS, THEME_COLOR_KEYS } from './schema.js';
|
|
47
47
|
export type { AccentPreset, AccentRoles } from './accents.js';
|
|
48
48
|
export { ACCENTS, ACCENT_HOVER_STEP, ACCENT_IDS, ACCENT_SUBTLE_ALPHA, accentForeground, accentForegroundContrast, accentRoles, accentValue, getAccent, primaryHover, primarySubtleCss, } from './accents.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAGH,YAAY,EACV,QAAQ,EACR,SAAS,EACT,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,aAAa,EACb,WAAW,EACX,aAAa,EACb,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAGH,YAAY,EACV,QAAQ,EACR,SAAS,EACT,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,aAAa,EACb,WAAW,EACX,aAAa,EACb,eAAe,EACf,qBAAqB,GACtB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEzD,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC7D,OAAO,EACL,OAAO,EACP,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACX,WAAW,EACX,SAAS,EACT,YAAY,EACZ,gBAAgB,GACjB,MAAM,cAAc,CAAA;AAGrB,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,aAAa,EACb,QAAQ,EACR,MAAM,EACN,kBAAkB,EAClB,OAAO,GACR,MAAM,gBAAgB,CAAA;AAGvB,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EACL,aAAa,EACb,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,UAAU,EACV,OAAO,EACP,GAAG,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qB,CAAA;AACpF,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAEjE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* The design is described in four decisions, and the rest of this package follows
|
|
10
10
|
* from them.
|
|
11
11
|
*
|
|
12
|
-
* **Adea owns the schema and the transformation
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* **Adea owns the schema and the transformation.** The seventeen surface roles in
|
|
13
|
+
* `schema.ts` are the contract, and no upstream project is asked to satisfy it. The
|
|
14
|
+
* Base24 palettes in `palettes/` are reproduced from a pinned revision; the Slate
|
|
15
|
+
* and High Contrast families are Adea-authored semantic palettes. Normalizing inputs
|
|
16
|
+
* is this package's job and it happens once, here.
|
|
17
17
|
*
|
|
18
18
|
* **OKLCH is the representation.** Every role is an `oklch()` string. Lightness in
|
|
19
19
|
* OKLCH is perceptually uniform, which is what lets a surface ladder be built by
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAgBH,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAGzD,OAAO,EACL,OAAO,EACP,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,WAAW,EACX,WAAW,EACX,SAAS,EACT,YAAY,EACZ,gBAAgB,GACjB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
|
|
44
44
|
* reported as failing rather than silently shipping a colour that is no longer the
|
|
45
45
|
* one the palette's author chose.
|
|
46
46
|
*/
|
|
47
|
-
import type { AdeaAnsi, AdeaThemeColors, AdeaThemeRecord, AnsiKey, ThemeAppearance, ThemeProvenance } from './schema.js';
|
|
47
|
+
import type { AdeaAnsi, AdeaThemeColors, AdeaThemeRecord, AnsiKey, ShadcnThemeProjection, ThemeAppearance, ThemeProvenance } from './schema.js';
|
|
48
48
|
import type { Base24Scheme, Base24Slot } from './adapters/base24.js';
|
|
49
49
|
import type { Oklch } from './oklch.js';
|
|
50
50
|
import { contrastDirection } from './oklch.js';
|
|
@@ -155,6 +155,8 @@ export interface ThemeSourceSpec {
|
|
|
155
155
|
accentSlot?: AnsiKey;
|
|
156
156
|
/** Explicit roles for authored themes, applied after derivation. */
|
|
157
157
|
colors?: Partial<AdeaThemeColors>;
|
|
158
|
+
/** Exact adapter values for authored distinctions outside the canonical roles. */
|
|
159
|
+
shadcn?: ShadcnThemeProjection;
|
|
158
160
|
ansi?: Partial<AdeaAnsi>;
|
|
159
161
|
cursor?: string;
|
|
160
162
|
selection?: string;
|
package/dist/normalize.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../src/normalize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,OAAO,KAAK,EACV,QAAQ,EACR,eAAe,EACf,eAAe,EACf,OAAO,EACP,eAAe,EACf,eAAe,EAChB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEpE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAGL,iBAAiB,EAMlB,MAAM,YAAY,CAAA;AAInB;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;IAG1B,mD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CHANGED
|
@@ -925,6 +925,7 @@ export function normalizeTheme(source) {
|
|
|
925
925
|
description: source.description,
|
|
926
926
|
provenance: source.provenance ?? { project: '', url: '', license: '' },
|
|
927
927
|
tags: source.tags,
|
|
928
|
+
...(source.shadcn ? { shadcn: source.shadcn } : {}),
|
|
928
929
|
},
|
|
929
930
|
findings,
|
|
930
931
|
};
|