@astryxdesign/cli 0.7.1-canary.06e35f5 → 0.7.1-canary.2a70c7b
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.
|
@@ -88,6 +88,26 @@ export const docs = {
|
|
|
88
88
|
[
|
|
89
89
|
"--color-syntax-background",
|
|
90
90
|
"var(--color-background-muted)"
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
"--color-syntax-added",
|
|
94
|
+
"color-mix(in srgb, var(--color-success-muted) 25%, transparent)"
|
|
95
|
+
],
|
|
96
|
+
[
|
|
97
|
+
"--color-syntax-removed",
|
|
98
|
+
"color-mix(in srgb, var(--color-error-muted) 25%, transparent)"
|
|
99
|
+
],
|
|
100
|
+
[
|
|
101
|
+
"--color-syntax-diff-header",
|
|
102
|
+
"var(--color-background-muted)"
|
|
103
|
+
],
|
|
104
|
+
[
|
|
105
|
+
"--color-syntax-added-marker",
|
|
106
|
+
"var(--color-text-green)"
|
|
107
|
+
],
|
|
108
|
+
[
|
|
109
|
+
"--color-syntax-removed-marker",
|
|
110
|
+
"var(--color-text-red)"
|
|
91
111
|
]
|
|
92
112
|
]
|
|
93
113
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// AUTO-GENERATED — do not edit manually.
|
|
4
4
|
// Run: node scripts/generate-token-docs.mjs
|
|
5
|
-
// Total:
|
|
5
|
+
// Total: 263 tokens across 15 categories.
|
|
6
6
|
|
|
7
7
|
/** @type {import('@astryxdesign/cli/authoring').NamespaceDoc} */
|
|
8
8
|
export const docs = {
|
|
@@ -40,6 +40,15 @@ const gothicSyntax = defineSyntaxTheme({
|
|
|
40
40
|
property: '#7cc5b3', // Verdigris
|
|
41
41
|
punctuation: '#7a8290', // Mid neutral
|
|
42
42
|
background: '#101314',
|
|
43
|
+
// Diff rows on the near-black background: any lighter wash lowers every
|
|
44
|
+
// light token's contrast, so the rows take opaque hues at the
|
|
45
|
+
// background's own luminance — a deep green and a deep red that read as
|
|
46
|
+
// colour, not brightness — and every token keeps the contrast it has on
|
|
47
|
+
// the plain background. Markers: forest moss and blood crimson.
|
|
48
|
+
added: '#081408',
|
|
49
|
+
removed: '#1e0a0a',
|
|
50
|
+
'added-marker': '#a3c987',
|
|
51
|
+
'removed-marker': '#d97580',
|
|
43
52
|
},
|
|
44
53
|
});
|
|
45
54
|
|
|
@@ -56,6 +56,13 @@ const stoneSyntax = defineSyntaxTheme({
|
|
|
56
56
|
property: ['#4e6357', '#94b2a0'], // Teal T40 / T70
|
|
57
57
|
punctuation: ['#5e5e5e', '#ababb0'], // Stone Neutral T40 / T70
|
|
58
58
|
background: ['#f3f3f5', '#171719'],
|
|
59
|
+
// Diff rows: the muted green/red at 25% in light and 20% in dark keep
|
|
60
|
+
// every token at or above 4.5:1 on the tint; the markers are the tinted
|
|
61
|
+
// text tokens (8.1:1 light, 8.8:1 dark on their tints).
|
|
62
|
+
added: ['#d0e9ce40', '#b4cdb233'],
|
|
63
|
+
removed: ['#f9dcd740', '#dcc0bc33'],
|
|
64
|
+
'added-marker': ['#374c36', '#d0e9ce'],
|
|
65
|
+
'removed-marker': ['#58413e', '#f9dcd7'],
|
|
59
66
|
},
|
|
60
67
|
});
|
|
61
68
|
|
|
@@ -29,6 +29,14 @@ const y2kSyntax = defineSyntaxTheme({
|
|
|
29
29
|
property: ['#3c6755', '#87b5a1'],
|
|
30
30
|
punctuation: ['#5e5e5e', '#ababab'],
|
|
31
31
|
background: ['#FFF6ED', '#190f00'],
|
|
32
|
+
// Diff rows: the muted green/red at 25% in light and 20% in dark keep
|
|
33
|
+
// every token at or above 4.5:1 on the tint. Markers: the tinted text
|
|
34
|
+
// tokens in light (7.3:1 / 7.9:1); in dark those tokens are near-black,
|
|
35
|
+
// so the string and tag colours mark the rows (5.1:1 each).
|
|
36
|
+
added: ['#C5E17A40', '#C5E17A33'],
|
|
37
|
+
removed: ['#FFC5C340', '#FFC5C333'],
|
|
38
|
+
'added-marker': ['#3a5500', '#a5af8b'],
|
|
39
|
+
'removed-marker': ['#8b1d24', '#d19f9d'],
|
|
32
40
|
},
|
|
33
41
|
});
|
|
34
42
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.7.1-canary.
|
|
3
|
+
"version": "0.7.1-canary.2a70c7b",
|
|
4
4
|
"displayName": "CLI",
|
|
5
5
|
"description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -101,10 +101,10 @@
|
|
|
101
101
|
"zod": "^4.4.3"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
|
-
"@astryxdesign/charts": "0.7.1-canary.
|
|
105
|
-
"@astryxdesign/core": "0.7.1-canary.
|
|
106
|
-
"@astryxdesign/lab": "0.7.1-canary.
|
|
107
|
-
"@astryxdesign/theme-neutral": "0.7.1-canary.
|
|
104
|
+
"@astryxdesign/charts": "0.7.1-canary.2a70c7b",
|
|
105
|
+
"@astryxdesign/core": "0.7.1-canary.2a70c7b",
|
|
106
|
+
"@astryxdesign/lab": "0.7.1-canary.2a70c7b",
|
|
107
|
+
"@astryxdesign/theme-neutral": "0.7.1-canary.2a70c7b"
|
|
108
108
|
},
|
|
109
109
|
"peerDependenciesMeta": {
|
|
110
110
|
"@astryxdesign/charts": {
|
|
@@ -121,10 +121,10 @@
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
|
-
"@astryxdesign/charts": "0.7.1-canary.
|
|
125
|
-
"@astryxdesign/core": "0.7.1-canary.
|
|
126
|
-
"@astryxdesign/lab": "0.7.1-canary.
|
|
127
|
-
"@astryxdesign/theme-neutral": "0.7.1-canary.
|
|
124
|
+
"@astryxdesign/charts": "0.7.1-canary.2a70c7b",
|
|
125
|
+
"@astryxdesign/core": "0.7.1-canary.2a70c7b",
|
|
126
|
+
"@astryxdesign/lab": "0.7.1-canary.2a70c7b",
|
|
127
|
+
"@astryxdesign/theme-neutral": "0.7.1-canary.2a70c7b",
|
|
128
128
|
"@heroicons/react": "^2.2.0",
|
|
129
129
|
"@stylexjs/stylex": "^0.19.0",
|
|
130
130
|
"@types/babel__core": "^7.20.5",
|