@cyclone-ui/shiki 0.0.5 → 0.0.7

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  # Changelog for Cyclone UI - Shiki
4
4
 
5
+ ## [0.0.6](https://github.com/storm-software/cyclone-ui/releases/tag/shiki%400.0.6) (10/13/2026)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **monorepo:** Clean up of various components and tokens ([08a494ad](https://github.com/storm-software/cyclone-ui/commit/08a494ad))
10
+ - **tokens:** Further updates to token structure for improved theme customizations ([c694f50b](https://github.com/storm-software/cyclone-ui/commit/c694f50b))
11
+
5
12
  ## [0.0.5](https://github.com/storm-software/cyclone-ui/releases/tag/shiki%400.0.5) (10/12/2026)
6
13
 
7
14
  ### Bug Fixes
@@ -83,7 +83,7 @@
83
83
  "identifier"
84
84
  ],
85
85
  "settings": {
86
- "foreground": "#cacacb"
86
+ "foreground": "#b0b0b1"
87
87
  }
88
88
  },
89
89
  {
@@ -107,18 +107,18 @@
107
107
  ],
108
108
  "displayName": "Cyclone Dark",
109
109
  "type": "dark",
110
- "fg": "#f1f1f1",
110
+ "fg": "#eaeaea",
111
111
  "bg": "#151518",
112
112
  "colors": {
113
113
  "editor.background": "#151518",
114
- "editor.foreground": "#f1f1f1",
114
+ "editor.foreground": "#eaeaea",
115
115
  "editorCursor.foreground": "#4d8eff",
116
- "editor.selectionBackground": "#f1f1f1",
116
+ "editor.selectionBackground": "#eaeaea",
117
117
  "editor.selectionForeground": "#151518",
118
- "editor.inactiveSelectionBackground": "#0c0c0d",
118
+ "editor.inactiveSelectionBackground": "#1f1f21",
119
119
  "editorLineNumber.foreground": "#959698",
120
- "editorLineNumber.activeForeground": "#cacacb",
121
- "editorIndentGuide.background1": "#46464a",
120
+ "editorLineNumber.activeForeground": "#b0b0b1",
121
+ "editorIndentGuide.background1": "#2d2e33",
122
122
  "editorIndentGuide.activeBackground1": "#959698",
123
123
  "editorWhitespace.foreground": "#959698"
124
124
  }
@@ -83,7 +83,7 @@
83
83
  "identifier"
84
84
  ],
85
85
  "settings": {
86
- "foreground": "#b4b4b4"
86
+ "foreground": "#a1a1a2"
87
87
  }
88
88
  },
89
89
  {
@@ -107,18 +107,18 @@
107
107
  ],
108
108
  "displayName": "Cyclone Light",
109
109
  "type": "darkDimmed",
110
- "fg": "#cfcfcf",
110
+ "fg": "#cacaca",
111
111
  "bg": "#343438",
112
112
  "colors": {
113
113
  "editor.background": "#343438",
114
- "editor.foreground": "#cfcfcf",
114
+ "editor.foreground": "#cacaca",
115
115
  "editorCursor.foreground": "#638cd2",
116
- "editor.selectionBackground": "#cfcfcf",
116
+ "editor.selectionBackground": "#cacaca",
117
117
  "editor.selectionForeground": "#343438",
118
- "editor.inactiveSelectionBackground": "#2e2e30",
118
+ "editor.inactiveSelectionBackground": "#3c3c3e",
119
119
  "editorLineNumber.foreground": "#8f8f90",
120
- "editorLineNumber.activeForeground": "#b4b4b4",
121
- "editorIndentGuide.background1": "#57575a",
120
+ "editorLineNumber.activeForeground": "#a1a1a2",
121
+ "editorIndentGuide.background1": "#45464a",
122
122
  "editorIndentGuide.activeBackground1": "#8f8f90",
123
123
  "editorWhitespace.foreground": "#8f8f90"
124
124
  }
@@ -83,7 +83,7 @@
83
83
  "identifier"
84
84
  ],
85
85
  "settings": {
86
- "foreground": "#ebebed"
86
+ "foreground": "#c3c3ca"
87
87
  }
88
88
  },
89
89
  {
@@ -117,8 +117,8 @@
117
117
  "editor.selectionForeground": "#000000",
118
118
  "editor.inactiveSelectionBackground": "#000000",
119
119
  "editorLineNumber.foreground": "#9a9fa7",
120
- "editorLineNumber.activeForeground": "#ebebed",
121
- "editorIndentGuide.background1": "#2b2b33",
120
+ "editorLineNumber.activeForeground": "#c3c3ca",
121
+ "editorIndentGuide.background1": "#0b0b0e",
122
122
  "editorIndentGuide.activeBackground1": "#9a9fa7",
123
123
  "editorWhitespace.foreground": "#9a9fa7"
124
124
  }
@@ -107,18 +107,18 @@
107
107
  ],
108
108
  "displayName": "Cyclone Light",
109
109
  "type": "light",
110
- "fg": "#1f1f21",
110
+ "fg": "#242528",
111
111
  "bg": "#eaeaea",
112
112
  "colors": {
113
113
  "editor.background": "#eaeaea",
114
- "editor.foreground": "#1f1f21",
114
+ "editor.foreground": "#242528",
115
115
  "editorCursor.foreground": "#2055b3",
116
- "editor.selectionBackground": "#1f1f21",
116
+ "editor.selectionBackground": "#242528",
117
117
  "editor.selectionForeground": "#eaeaea",
118
- "editor.inactiveSelectionBackground": "#e1e1e1",
118
+ "editor.inactiveSelectionBackground": "#f1f1f1",
119
119
  "editorLineNumber.foreground": "#959698",
120
120
  "editorLineNumber.activeForeground": "#555659",
121
- "editorIndentGuide.background1": "#e1e1e1",
121
+ "editorIndentGuide.background1": "#d0d0d1",
122
122
  "editorIndentGuide.activeBackground1": "#959698",
123
123
  "editorWhitespace.foreground": "#959698"
124
124
  }
@@ -107,18 +107,18 @@
107
107
  ],
108
108
  "displayName": "Cyclone Light",
109
109
  "type": "lightDimmed",
110
- "fg": "#3c3c3e",
110
+ "fg": "#3f4043",
111
111
  "bg": "#cacaca",
112
112
  "colors": {
113
113
  "editor.background": "#cacaca",
114
- "editor.foreground": "#3c3c3e",
114
+ "editor.foreground": "#3f4043",
115
115
  "editorCursor.foreground": "#45649b",
116
- "editor.selectionBackground": "#3c3c3e",
116
+ "editor.selectionBackground": "#3f4043",
117
117
  "editor.selectionForeground": "#cacaca",
118
- "editor.inactiveSelectionBackground": "#c4c4c4",
118
+ "editor.inactiveSelectionBackground": "#cfcfcf",
119
119
  "editorLineNumber.foreground": "#8f8f90",
120
120
  "editorLineNumber.activeForeground": "#626364",
121
- "editorIndentGuide.background1": "#c4c4c4",
121
+ "editorIndentGuide.background1": "#b8b8b9",
122
122
  "editorIndentGuide.activeBackground1": "#8f8f90",
123
123
  "editorWhitespace.foreground": "#8f8f90"
124
124
  }
@@ -118,7 +118,7 @@
118
118
  "editor.inactiveSelectionBackground": "#ffffff",
119
119
  "editorLineNumber.foreground": "#9a9fa7",
120
120
  "editorLineNumber.activeForeground": "#3f424a",
121
- "editorIndentGuide.background1": "#ffffff",
121
+ "editorIndentGuide.background1": "#f4f4f6",
122
122
  "editorIndentGuide.activeBackground1": "#9a9fa7",
123
123
  "editorWhitespace.foreground": "#9a9fa7"
124
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyclone-ui/shiki",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "description": "Cyclone UI Shiki themes package",
6
6
  "repository": {
@@ -14,5 +14,5 @@
14
14
  "./package.json": "./package.json"
15
15
  },
16
16
  "publishConfig": { "access": "public" },
17
- "gitHead": "46c136e63209ac8baacbc9d23aae4675aa68093a"
17
+ "gitHead": "7883bb2ccd69fb2a245eb827eacf1246ffe2214a"
18
18
  }
@@ -83,7 +83,7 @@
83
83
  "identifier"
84
84
  ],
85
85
  "settings": {
86
- "foreground": "#cacacb"
86
+ "foreground": "#b0b0b1"
87
87
  }
88
88
  },
89
89
  {
@@ -107,18 +107,18 @@
107
107
  ],
108
108
  "displayName": "Cyclone Dark",
109
109
  "type": "dark",
110
- "fg": "#f1f1f1",
110
+ "fg": "#eaeaea",
111
111
  "bg": "#151518",
112
112
  "colors": {
113
113
  "editor.background": "#151518",
114
- "editor.foreground": "#f1f1f1",
114
+ "editor.foreground": "#eaeaea",
115
115
  "editorCursor.foreground": "#4d8eff",
116
- "editor.selectionBackground": "#f1f1f1",
116
+ "editor.selectionBackground": "#eaeaea",
117
117
  "editor.selectionForeground": "#151518",
118
- "editor.inactiveSelectionBackground": "#0c0c0d",
118
+ "editor.inactiveSelectionBackground": "#1f1f21",
119
119
  "editorLineNumber.foreground": "#959698",
120
- "editorLineNumber.activeForeground": "#cacacb",
121
- "editorIndentGuide.background1": "#46464a",
120
+ "editorLineNumber.activeForeground": "#b0b0b1",
121
+ "editorIndentGuide.background1": "#2d2e33",
122
122
  "editorIndentGuide.activeBackground1": "#959698",
123
123
  "editorWhitespace.foreground": "#959698"
124
124
  }
@@ -83,7 +83,7 @@
83
83
  "identifier"
84
84
  ],
85
85
  "settings": {
86
- "foreground": "#b4b4b4"
86
+ "foreground": "#a1a1a2"
87
87
  }
88
88
  },
89
89
  {
@@ -107,18 +107,18 @@
107
107
  ],
108
108
  "displayName": "Cyclone Light",
109
109
  "type": "darkDimmed",
110
- "fg": "#cfcfcf",
110
+ "fg": "#cacaca",
111
111
  "bg": "#343438",
112
112
  "colors": {
113
113
  "editor.background": "#343438",
114
- "editor.foreground": "#cfcfcf",
114
+ "editor.foreground": "#cacaca",
115
115
  "editorCursor.foreground": "#638cd2",
116
- "editor.selectionBackground": "#cfcfcf",
116
+ "editor.selectionBackground": "#cacaca",
117
117
  "editor.selectionForeground": "#343438",
118
- "editor.inactiveSelectionBackground": "#2e2e30",
118
+ "editor.inactiveSelectionBackground": "#3c3c3e",
119
119
  "editorLineNumber.foreground": "#8f8f90",
120
- "editorLineNumber.activeForeground": "#b4b4b4",
121
- "editorIndentGuide.background1": "#57575a",
120
+ "editorLineNumber.activeForeground": "#a1a1a2",
121
+ "editorIndentGuide.background1": "#45464a",
122
122
  "editorIndentGuide.activeBackground1": "#8f8f90",
123
123
  "editorWhitespace.foreground": "#8f8f90"
124
124
  }
@@ -83,7 +83,7 @@
83
83
  "identifier"
84
84
  ],
85
85
  "settings": {
86
- "foreground": "#ebebed"
86
+ "foreground": "#c3c3ca"
87
87
  }
88
88
  },
89
89
  {
@@ -117,8 +117,8 @@
117
117
  "editor.selectionForeground": "#000000",
118
118
  "editor.inactiveSelectionBackground": "#000000",
119
119
  "editorLineNumber.foreground": "#9a9fa7",
120
- "editorLineNumber.activeForeground": "#ebebed",
121
- "editorIndentGuide.background1": "#2b2b33",
120
+ "editorLineNumber.activeForeground": "#c3c3ca",
121
+ "editorIndentGuide.background1": "#0b0b0e",
122
122
  "editorIndentGuide.activeBackground1": "#9a9fa7",
123
123
  "editorWhitespace.foreground": "#9a9fa7"
124
124
  }
@@ -107,18 +107,18 @@
107
107
  ],
108
108
  "displayName": "Cyclone Light",
109
109
  "type": "light",
110
- "fg": "#1f1f21",
110
+ "fg": "#242528",
111
111
  "bg": "#eaeaea",
112
112
  "colors": {
113
113
  "editor.background": "#eaeaea",
114
- "editor.foreground": "#1f1f21",
114
+ "editor.foreground": "#242528",
115
115
  "editorCursor.foreground": "#2055b3",
116
- "editor.selectionBackground": "#1f1f21",
116
+ "editor.selectionBackground": "#242528",
117
117
  "editor.selectionForeground": "#eaeaea",
118
- "editor.inactiveSelectionBackground": "#e1e1e1",
118
+ "editor.inactiveSelectionBackground": "#f1f1f1",
119
119
  "editorLineNumber.foreground": "#959698",
120
120
  "editorLineNumber.activeForeground": "#555659",
121
- "editorIndentGuide.background1": "#e1e1e1",
121
+ "editorIndentGuide.background1": "#d0d0d1",
122
122
  "editorIndentGuide.activeBackground1": "#959698",
123
123
  "editorWhitespace.foreground": "#959698"
124
124
  }
@@ -107,18 +107,18 @@
107
107
  ],
108
108
  "displayName": "Cyclone Light",
109
109
  "type": "lightDimmed",
110
- "fg": "#3c3c3e",
110
+ "fg": "#3f4043",
111
111
  "bg": "#cacaca",
112
112
  "colors": {
113
113
  "editor.background": "#cacaca",
114
- "editor.foreground": "#3c3c3e",
114
+ "editor.foreground": "#3f4043",
115
115
  "editorCursor.foreground": "#45649b",
116
- "editor.selectionBackground": "#3c3c3e",
116
+ "editor.selectionBackground": "#3f4043",
117
117
  "editor.selectionForeground": "#cacaca",
118
- "editor.inactiveSelectionBackground": "#c4c4c4",
118
+ "editor.inactiveSelectionBackground": "#cfcfcf",
119
119
  "editorLineNumber.foreground": "#8f8f90",
120
120
  "editorLineNumber.activeForeground": "#626364",
121
- "editorIndentGuide.background1": "#c4c4c4",
121
+ "editorIndentGuide.background1": "#b8b8b9",
122
122
  "editorIndentGuide.activeBackground1": "#8f8f90",
123
123
  "editorWhitespace.foreground": "#8f8f90"
124
124
  }
@@ -118,7 +118,7 @@
118
118
  "editor.inactiveSelectionBackground": "#ffffff",
119
119
  "editorLineNumber.foreground": "#9a9fa7",
120
120
  "editorLineNumber.activeForeground": "#3f424a",
121
- "editorIndentGuide.background1": "#ffffff",
121
+ "editorIndentGuide.background1": "#f4f4f6",
122
122
  "editorIndentGuide.activeBackground1": "#9a9fa7",
123
123
  "editorWhitespace.foreground": "#9a9fa7"
124
124
  }
@@ -1,45 +0,0 @@
1
- # Installing Cyclone UI (Dark)
2
-
3
- Generated by `@razorwind/shiki`.
4
-
5
- ## Files
6
-
7
- - `theme.json` — Cyclone Dark (theme id: `cyclone-dark`)
8
-
9
- ## Setup
10
-
11
- 1. Copy or import the generated JSON into your app (paths depend on your bundler).
12
-
13
- 2. Register themes when creating a Shiki highlighter:
14
-
15
- ```ts
16
- import { createHighlighter } from "shiki";
17
- import theme from "./theme.json";
18
-
19
- const highlighter = await createHighlighter({
20
- themes: [theme],
21
- langs: ["javascript"]
22
- });
23
-
24
- const html = highlighter.codeToHtml("const x = 1", {
25
- lang: "javascript",
26
- theme: "cyclone-dark"
27
- });
28
- ```
29
-
30
- Or load at runtime:
31
-
32
- ```ts
33
- import { readFile } from "node:fs/promises";
34
-
35
- const theme = JSON.parse(
36
- await readFile("./theme.json", "utf8")
37
- );
38
- await highlighter.loadTheme(theme);
39
- ```
40
-
41
- ## Select / load theme
42
-
43
- Pass the theme id to `codeToHtml`, `codeToTokens`, or `getTokenStyle`:
44
-
45
- - `cyclone-dark` — Cyclone Dark
@@ -1,125 +0,0 @@
1
- {
2
- "name": "cyclone-dark",
3
- "settings": [
4
- {
5
- "scope": [
6
- "comment",
7
- "punctuation.definition.comment"
8
- ],
9
- "settings": {
10
- "foreground": "#959698",
11
- "fontStyle": "italic"
12
- }
13
- },
14
- {
15
- "scope": [
16
- "string",
17
- "constant.other.symbol"
18
- ],
19
- "settings": {
20
- "foreground": "#45c791"
21
- }
22
- },
23
- {
24
- "scope": [
25
- "constant",
26
- "constant.numeric",
27
- "constant.language"
28
- ],
29
- "settings": {
30
- "foreground": "#f7ac23"
31
- }
32
- },
33
- {
34
- "scope": [
35
- "keyword",
36
- "storage",
37
- "storage.type"
38
- ],
39
- "settings": {
40
- "foreground": "#4d8eff"
41
- }
42
- },
43
- {
44
- "scope": [
45
- "entity.name.function",
46
- "support.function"
47
- ],
48
- "settings": {
49
- "foreground": "#4d8eff"
50
- }
51
- },
52
- {
53
- "scope": [
54
- "entity.name.type",
55
- "entity.other.inherited-class",
56
- "support.type"
57
- ],
58
- "settings": {
59
- "foreground": "#9277da"
60
- }
61
- },
62
- {
63
- "scope": [
64
- "entity.name.tag",
65
- "meta.tag"
66
- ],
67
- "settings": {
68
- "foreground": "#4d8eff"
69
- }
70
- },
71
- {
72
- "scope": [
73
- "entity.other.attribute-name",
74
- "support.constant"
75
- ],
76
- "settings": {
77
- "foreground": "#4d8eff"
78
- }
79
- },
80
- {
81
- "scope": [
82
- "variable",
83
- "identifier"
84
- ],
85
- "settings": {
86
- "foreground": "#cacacb"
87
- }
88
- },
89
- {
90
- "scope": [
91
- "punctuation",
92
- "meta.brace"
93
- ],
94
- "settings": {
95
- "foreground": "#959698"
96
- }
97
- },
98
- {
99
- "scope": [
100
- "invalid",
101
- "invalid.illegal"
102
- ],
103
- "settings": {
104
- "foreground": "#cf2d56"
105
- }
106
- }
107
- ],
108
- "displayName": "Cyclone Dark",
109
- "type": "dark",
110
- "fg": "#f1f1f1",
111
- "bg": "#151518",
112
- "colors": {
113
- "editor.background": "#151518",
114
- "editor.foreground": "#f1f1f1",
115
- "editorCursor.foreground": "#4d8eff",
116
- "editor.selectionBackground": "#f1f1f1",
117
- "editor.selectionForeground": "#151518",
118
- "editor.inactiveSelectionBackground": "#0c0c0d",
119
- "editorLineNumber.foreground": "#959698",
120
- "editorLineNumber.activeForeground": "#cacacb",
121
- "editorIndentGuide.background1": "#46464a",
122
- "editorIndentGuide.activeBackground1": "#959698",
123
- "editorWhitespace.foreground": "#959698"
124
- }
125
- }
@@ -1,45 +0,0 @@
1
- # Installing Cyclone UI (Dark Dimmed)
2
-
3
- Generated by `@razorwind/shiki`.
4
-
5
- ## Files
6
-
7
- - `theme.json` — Cyclone Light (theme id: `cyclone-dark-dimmed`)
8
-
9
- ## Setup
10
-
11
- 1. Copy or import the generated JSON into your app (paths depend on your bundler).
12
-
13
- 2. Register themes when creating a Shiki highlighter:
14
-
15
- ```ts
16
- import { createHighlighter } from "shiki";
17
- import theme from "./theme.json";
18
-
19
- const highlighter = await createHighlighter({
20
- themes: [theme],
21
- langs: ["javascript"]
22
- });
23
-
24
- const html = highlighter.codeToHtml("const x = 1", {
25
- lang: "javascript",
26
- theme: "cyclone-dark-dimmed"
27
- });
28
- ```
29
-
30
- Or load at runtime:
31
-
32
- ```ts
33
- import { readFile } from "node:fs/promises";
34
-
35
- const theme = JSON.parse(
36
- await readFile("./theme.json", "utf8")
37
- );
38
- await highlighter.loadTheme(theme);
39
- ```
40
-
41
- ## Select / load theme
42
-
43
- Pass the theme id to `codeToHtml`, `codeToTokens`, or `getTokenStyle`:
44
-
45
- - `cyclone-dark-dimmed` — Cyclone Light
@@ -1,125 +0,0 @@
1
- {
2
- "name": "cyclone-dark-dimmed",
3
- "settings": [
4
- {
5
- "scope": [
6
- "comment",
7
- "punctuation.definition.comment"
8
- ],
9
- "settings": {
10
- "foreground": "#8f8f90",
11
- "fontStyle": "italic"
12
- }
13
- },
14
- {
15
- "scope": [
16
- "string",
17
- "constant.other.symbol"
18
- ],
19
- "settings": {
20
- "foreground": "#60a88a"
21
- }
22
- },
23
- {
24
- "scope": [
25
- "constant",
26
- "constant.numeric",
27
- "constant.language"
28
- ],
29
- "settings": {
30
- "foreground": "#c59b4d"
31
- }
32
- },
33
- {
34
- "scope": [
35
- "keyword",
36
- "storage",
37
- "storage.type"
38
- ],
39
- "settings": {
40
- "foreground": "#638cd2"
41
- }
42
- },
43
- {
44
- "scope": [
45
- "entity.name.function",
46
- "support.function"
47
- ],
48
- "settings": {
49
- "foreground": "#638cd2"
50
- }
51
- },
52
- {
53
- "scope": [
54
- "entity.name.type",
55
- "entity.other.inherited-class",
56
- "support.type"
57
- ],
58
- "settings": {
59
- "foreground": "#8e7dbb"
60
- }
61
- },
62
- {
63
- "scope": [
64
- "entity.name.tag",
65
- "meta.tag"
66
- ],
67
- "settings": {
68
- "foreground": "#638cd2"
69
- }
70
- },
71
- {
72
- "scope": [
73
- "entity.other.attribute-name",
74
- "support.constant"
75
- ],
76
- "settings": {
77
- "foreground": "#638cd2"
78
- }
79
- },
80
- {
81
- "scope": [
82
- "variable",
83
- "identifier"
84
- ],
85
- "settings": {
86
- "foreground": "#b4b4b4"
87
- }
88
- },
89
- {
90
- "scope": [
91
- "punctuation",
92
- "meta.brace"
93
- ],
94
- "settings": {
95
- "foreground": "#8f8f90"
96
- }
97
- },
98
- {
99
- "scope": [
100
- "invalid",
101
- "invalid.illegal"
102
- ],
103
- "settings": {
104
- "foreground": "#ab5268"
105
- }
106
- }
107
- ],
108
- "displayName": "Cyclone Light",
109
- "type": "darkDimmed",
110
- "fg": "#cfcfcf",
111
- "bg": "#343438",
112
- "colors": {
113
- "editor.background": "#343438",
114
- "editor.foreground": "#cfcfcf",
115
- "editorCursor.foreground": "#638cd2",
116
- "editor.selectionBackground": "#cfcfcf",
117
- "editor.selectionForeground": "#343438",
118
- "editor.inactiveSelectionBackground": "#2e2e30",
119
- "editorLineNumber.foreground": "#8f8f90",
120
- "editorLineNumber.activeForeground": "#b4b4b4",
121
- "editorIndentGuide.background1": "#57575a",
122
- "editorIndentGuide.activeBackground1": "#8f8f90",
123
- "editorWhitespace.foreground": "#8f8f90"
124
- }
125
- }