@razorwind/shiki 0.0.34 → 0.0.36
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/dist/index.d.cts +2 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -4
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -55,15 +55,13 @@ interface ShikiTheme {
|
|
|
55
55
|
/** Background color (Shiki custom field). */
|
|
56
56
|
bg?: string;
|
|
57
57
|
/**
|
|
58
|
-
* VS Code-style workbench / ANSI color map.
|
|
59
|
-
* Used by Shiki for defaults and `lang: "ansi"`.
|
|
58
|
+
* VS Code-style workbench / ANSI color map. Used by Shiki for defaults and `lang: "ansi"`.
|
|
60
59
|
*/
|
|
61
60
|
colors?: Record<string, string>;
|
|
62
61
|
/** Token scope rules (TextMate `settings`). Preferred over {@link tokenColors}. */
|
|
63
62
|
settings?: ShikiThemeSetting[];
|
|
64
63
|
/**
|
|
65
|
-
* Same as {@link settings} — Shiki uses this as fallback when `settings`
|
|
66
|
-
* is absent (VS Code theme JSON shape).
|
|
64
|
+
* Same as {@link settings} — Shiki uses this as fallback when `settings` is absent (VS Code theme JSON shape).
|
|
67
65
|
*/
|
|
68
66
|
tokenColors?: ShikiThemeSetting[];
|
|
69
67
|
/** Hex-key color remaps (Shiki custom field). */
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types.ts","../src/install.ts","../src/generate.ts","../src/index.ts"],"mappings":";;;;;;;;UAwBiB;;EAEf;;EAEA,OAAO;;EAEP;;EAEA;;EAEA;;EAEA;;;;;;;UAQe;EACf;EACA;EACA;IACE;IACA;IACA;;;;;;;;;;;;UAaa;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types.ts","../src/install.ts","../src/generate.ts","../src/index.ts"],"mappings":";;;;;;;;UAwBiB;;EAEf;;EAEA,OAAO;;EAEP;;EAEA;;EAEA;;EAEA;;;;;;;UAQe;EACf;EACA;EACA;IACE;IACA;IACA;;;;;;;;;;;;UAaa;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;;;EAIA,SAAS;;EAET,WAAW;;;;EAIX,cAAc;;EAEd,oBAAoB;EACpB;EACA,sBAAsB;;;;;;;KAQZ,sBACV,QAAQ,SAAS,eAAe,YAC7B,aAAa,eAAe,eAAe;;;;;;UAO/B;;;;;;EAMf;;;;;;EAOA,UAAU;;;;;EAMV,eAAe;;;;;EAMf;;;;;;;;;iBCvGc,gBAAgB;EAC9B,QAAQ;IAAQ;IAAc;IAAqB;;;EAEnD;;;;;iBAqEc,iBAAiB,OAAO;;;;;;iBCvCxB,gBACd,QAAQ,aAAa,eAAe,eAAe,cAClD;;;;;;iBAkDa,gBAAgB,OAAO;;;;;;;;;iBAkDvB,mBACd,MAAM,QACN,SAAS,qBACR,wBAAwB,QAAQ"}
|
package/dist/index.d.mts
CHANGED
|
@@ -55,15 +55,13 @@ interface ShikiTheme {
|
|
|
55
55
|
/** Background color (Shiki custom field). */
|
|
56
56
|
bg?: string;
|
|
57
57
|
/**
|
|
58
|
-
* VS Code-style workbench / ANSI color map.
|
|
59
|
-
* Used by Shiki for defaults and `lang: "ansi"`.
|
|
58
|
+
* VS Code-style workbench / ANSI color map. Used by Shiki for defaults and `lang: "ansi"`.
|
|
60
59
|
*/
|
|
61
60
|
colors?: Record<string, string>;
|
|
62
61
|
/** Token scope rules (TextMate `settings`). Preferred over {@link tokenColors}. */
|
|
63
62
|
settings?: ShikiThemeSetting[];
|
|
64
63
|
/**
|
|
65
|
-
* Same as {@link settings} — Shiki uses this as fallback when `settings`
|
|
66
|
-
* is absent (VS Code theme JSON shape).
|
|
64
|
+
* Same as {@link settings} — Shiki uses this as fallback when `settings` is absent (VS Code theme JSON shape).
|
|
67
65
|
*/
|
|
68
66
|
tokenColors?: ShikiThemeSetting[];
|
|
69
67
|
/** Hex-key color remaps (Shiki custom field). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razorwind/shiki",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Razorwind plugin that generates Shiki / TextMate themes from design tokens.",
|
|
6
6
|
"repository": {
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@power-plant/core": "^0.0.91",
|
|
71
71
|
"@power-plant/dtcg-schema": "^0.0.1",
|
|
72
|
-
"@razorwind/core": "^0.0.
|
|
73
|
-
"@stryke/path": "^0.29.
|
|
72
|
+
"@razorwind/core": "^0.0.62",
|
|
73
|
+
"@stryke/path": "^0.29.39"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@powerlines/plugin-tsdown": "^0.1.612",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"typescript": "^6.0.3"
|
|
79
79
|
},
|
|
80
80
|
"publishConfig": { "access": "public" },
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "a131e145ede6e508e751aa6c1a3bd95fc3e76245"
|
|
82
82
|
}
|