@fsegurai/codemirror-theme-andromeda 6.2.2 → 6.2.4

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) 2026 fsegurai
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 CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img alt="CodeMirror 6 Themes Logo" src="https://raw.githubusercontent.com/fsegurai/codemirror-themes/main/demo/public/codemirror-themes.png">
2
+ <img alt="CodeMirror 6 Themes Logo" src="https://raw.githubusercontent.com/fsegurai/codemirror-themes/main/demo/public/codemirror-themes.svg">
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -29,10 +29,11 @@
29
29
  ### Table of contents
30
30
 
31
31
  - [Installation](#installation)
32
- - [@fsegurai/codemirror-theme-andromeda](#fseguraicodemirror-theme-andromeda)
33
- - [Using Theme](#using-theme)
34
- - [Available Themes](#available-themes)
35
- - [Demo Application](#demo-application)
32
+ - [@fsegurai/codemirror-theme-andromeda](#@fsegurai/codemirror-theme-andromeda)
33
+ - [Using Theme](#using-theme)
34
+ - [More Resources](#more-resources)
35
+ - [Available Themes](#available-themes)
36
+ - [Demo Application](#demo-application)
36
37
  - [License](#license)
37
38
 
38
39
  ## Installation
@@ -42,17 +43,17 @@
42
43
  To add `@fsegurai/codemirror-theme-andromeda` along with CodeMirror 6 to your `package.json` use the following commands.
43
44
 
44
45
  ```bash
45
- npm install @fsegurai/codemirror-theme-andromeda codemirror@^6.0.0 --save
46
+ bun install @fsegurai/codemirror-theme-andromeda codemirror@^6.0.0 --save
46
47
  ```
47
48
 
48
- ### Using Theme
49
+ ## Using Theme
49
50
 
50
51
  Import the respective theme from the package and apply it to your CodeMirror instance as shown below.
51
52
 
52
53
  ```javascript
53
54
  import { EditorView, basicSetup } from 'codemirror'
54
55
  import { markdown } from '@codemirror/lang-markdown'
55
- import { andromeda } from '@fsegurai/codemirror-theme-basic-andromeda'
56
+ import { andromeda } from '@fsegurai/codemirror-theme-andromeda'
56
57
 
57
58
  let editor = new EditorView({
58
59
  doc: '# Hello World',
@@ -69,44 +70,50 @@ Read the [CodeMirror documentation](https://codemirror.net/6/examples/styling/)
69
70
 
70
71
  ### Available Themes
71
72
 
72
- | Theme | Package | Version |
73
- |-------------------|----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
74
- | All - Bundle | [@fsegurai/codemirror-theme-bundle](https://www.npmjs.com/package/@fsegurai/codemirror-theme-bundle) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-bundle) |
75
- | Abcdef | [@fsegurai/codemirror-theme-abcdef](https://www.npmjs.com/package/@fsegurai/codemirror-theme-abcdef) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-abcdef) |
76
- | Abyss | [@fsegurai/codemirror-theme-abyss](https://www.npmjs.com/package/@fsegurai/codemirror-theme-abyss) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-abyss) |
77
- | Android Studio | [@fsegurai/codemirror-theme-android-studio](https://www.npmjs.com/package/@fsegurai/codemirror-theme-android-studio) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-android-studio) |
78
- | Andromeda | [@fsegurai/codemirror-theme-andromeda](https://www.npmjs.com/package/@fsegurai/codemirror-theme-andromeda) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-andromeda) |
79
- | Basic Light | [@fsegurai/codemirror-theme-basic-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-basic-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-basic-light) |
80
- | Basic Dark | [@fsegurai/codemirror-theme-basic-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-basic-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-basic-dark) |
81
- | Cobalt2 | [@fsegurai/codemirror-theme-cobalt](https://www.npmjs.com/package/@fsegurai/codemirror-theme-cobalt2) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-cobalt2) |
82
- | Forest | [@fsegurai/codemirror-theme-forest](https://www.npmjs.com/package/@fsegurai/codemirror-theme-forest) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-forest) |
83
- | GitHub Light | [@fsegurai/codemirror-theme-github-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-github-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-github-light) |
84
- | GitHub Dark | [@fsegurai/codemirror-theme-github-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-github-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-github-dark) |
85
- | Gruvbox Light | [@fsegurai/codemirror-theme-gruvbox-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-gruvbox-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-gruvbox-light) |
86
- | Gruvbox Dark | [@fsegurai/codemirror-theme-gruvbox-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-gruvbox-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-gruvbox-dark) |
87
- | Material Light | [@fsegurai/codemirror-theme-material-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-material-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-material-light) |
88
- | Material Dark | [@fsegurai/codemirror-theme-material-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-material-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-material-dark) |
89
- | Monokai | [@fsegurai/codemirror-theme-monokai](https://www.npmjs.com/package/@fsegurai/codemirror-theme-monokai) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-monokai) |
90
- | Nord | [@fsegurai/codemirror-theme-nord](https://www.npmjs.com/package/@fsegurai/codemirror-theme-nord) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-nord) |
91
- | Palenight | [@fsegurai/codemirror-theme-palenight](https://www.npmjs.com/package/@fsegurai/codemirror-theme-palenight) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-palenight) |
92
- | Solarized Light | [@fsegurai/codemirror-theme-solarized-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-solarized-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-solarized-light) |
93
- | Solarized Dark | [@fsegurai/codemirror-theme-solarized-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-solarized-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-solarized-dark) |
94
- | Tokyo Night Storm | [@fsegurai/codemirror-theme-tokyo-night-storm](https://www.npmjs.com/package/@fsegurai/codemirror-theme-tokyo-night-storm) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-tokyo-night-storm) |
95
- | Tokyo Night Day | [@fsegurai/codemirror-theme-tokyo-night-day](https://www.npmjs.com/package/@fsegurai/codemirror-theme-tokyo-night-day) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-tokyo-night-day) |
96
- | Volcano | [@fsegurai/codemirror-theme-volcano](https://www.npmjs.com/package/@fsegurai/codemirror-theme-volcano) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-volcano) |
97
- | VS Code Dark | [@fsegurai/codemirror-theme-vscode-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-vscode-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-vscode-dark) |
98
- | VS Code Light | [@fsegurai/codemirror-theme-vscode-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-vscode-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-vscode-light) |
99
-
100
- ### Demo Application
101
-
102
- To see all themes in action, check out the demo: [https://fsegurai.github.io/codemirror-themes](https://fsegurai.github.io/codemirror-themes).
73
+ | Theme | Package | Version |
74
+ |---------------------|--------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|
75
+ | All - Bundle | [@fsegurai/codemirror-theme-bundle](https://www.npmjs.com/package/@fsegurai/codemirror-theme-bundle) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-bundle) |
76
+ | Abcdef | [@fsegurai/codemirror-theme-abcdef](https://www.npmjs.com/package/@fsegurai/codemirror-theme-abcdef) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-abcdef) |
77
+ | Abyss | [@fsegurai/codemirror-theme-abyss](https://www.npmjs.com/package/@fsegurai/codemirror-theme-abyss) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-abyss) |
78
+ | Android Studio | [@fsegurai/codemirror-theme-android-studio](https://www.npmjs.com/package/@fsegurai/codemirror-theme-android-studio) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-android-studio) |
79
+ | Andromeda | [@fsegurai/codemirror-theme-andromeda](https://www.npmjs.com/package/@fsegurai/codemirror-theme-andromeda) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-andromeda) |
80
+ | Basic Dark | [@fsegurai/codemirror-theme-basic-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-basic-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-basic-dark) |
81
+ | Basic Light | [@fsegurai/codemirror-theme-basic-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-basic-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-basic-light) |
82
+ | Catppuccin Mocha | [@fsegurai/codemirror-theme-catppuccin-mocha](https://www.npmjs.com/package/@fsegurai/codemirror-theme-catppuccin-mocha) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-catppuccin-mocha) |
83
+ | Cobalt2 | [@fsegurai/codemirror-theme-cobalt](https://www.npmjs.com/package/@fsegurai/codemirror-theme-cobalt2) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-cobalt2) |
84
+ | Forest | [@fsegurai/codemirror-theme-forest](https://www.npmjs.com/package/@fsegurai/codemirror-theme-forest) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-forest) |
85
+ | GitHub Dark | [@fsegurai/codemirror-theme-github-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-github-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-github-dark) |
86
+ | GitHub Light | [@fsegurai/codemirror-theme-github-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-github-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-github-light) |
87
+ | Gruvbox Dark | [@fsegurai/codemirror-theme-gruvbox-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-gruvbox-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-gruvbox-dark) |
88
+ | Gruvbox Light | [@fsegurai/codemirror-theme-gruvbox-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-gruvbox-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-gruvbox-light) |
89
+ | High Contrast Dark | [@fsegurai/codemirror-theme-high-contrast-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-high-contrast-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-high-contrast-dark) |
90
+ | High Contrast Light | [@fsegurai/codemirror-theme-high-contrast-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-high-contrast-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-high-contrast-light) |
91
+ | Material Dark | [@fsegurai/codemirror-theme-material-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-material-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-material-dark) |
92
+ | Material Light | [@fsegurai/codemirror-theme-material-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-material-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-material-light) |
93
+ | Material Ocean | [@fsegurai/codemirror-theme-material-ocean](https://www.npmjs.com/package/@fsegurai/codemirror-theme-material-ocean) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-material-ocean) |
94
+ | Monokai | [@fsegurai/codemirror-theme-monokai](https://www.npmjs.com/package/@fsegurai/codemirror-theme-monokai) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-monokai) |
95
+ | Nord | [@fsegurai/codemirror-theme-nord](https://www.npmjs.com/package/@fsegurai/codemirror-theme-nord) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-nord) |
96
+ | Palenight | [@fsegurai/codemirror-theme-palenight](https://www.npmjs.com/package/@fsegurai/codemirror-theme-palenight) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-palenight) |
97
+ | Solarized Dark | [@fsegurai/codemirror-theme-solarized-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-solarized-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-solarized-dark) |
98
+ | Solarized Light | [@fsegurai/codemirror-theme-solarized-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-solarized-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-solarized-light) |
99
+ | Synthwave 84 | [@fsegurai/codemirror-theme-synthwave-84](https://www.npmjs.com/package/@fsegurai/codemirror-theme-synthwave-84) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-synthwave-84) |
100
+ | Tokyo Night Day | [@fsegurai/codemirror-theme-tokyo-night-day](https://www.npmjs.com/package/@fsegurai/codemirror-theme-tokyo-night-day) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-tokyo-night-day) |
101
+ | Tokyo Night Storm | [@fsegurai/codemirror-theme-tokyo-night-storm](https://www.npmjs.com/package/@fsegurai/codemirror-theme-tokyo-night-storm) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-tokyo-night-storm) |
102
+ | Volcano | [@fsegurai/codemirror-theme-volcano](https://www.npmjs.com/package/@fsegurai/codemirror-theme-volcano) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-volcano) |
103
+ | VS Code Light | [@fsegurai/codemirror-theme-vscode-light](https://www.npmjs.com/package/@fsegurai/codemirror-theme-vscode-light) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-vscode-light) |
104
+ | VS Code Dark | [@fsegurai/codemirror-theme-vscode-dark](https://www.npmjs.com/package/@fsegurai/codemirror-theme-vscode-dark) | ![npm](https://img.shields.io/npm/v/@fsegurai/codemirror-theme-vscode-dark) |
105
+
106
+ ## Demo Application
107
+
108
+ To see all themes in action, check out the
109
+ demo: [https://fsegurai.github.io/codemirror-themes](https://fsegurai.github.io/codemirror-themes).
103
110
 
104
111
  To set up the demo locally:
105
112
 
106
113
  ```bash
107
114
  git clone https://github.com/fsegurai/codemirror-themes.git
108
- npm install
109
- npm start
115
+ bun install
116
+ bun start
110
117
  ```
111
118
 
112
119
  This will serve the application locally at [http://[::1]:8000](http://[::1]:8000).
package/dist/index.cjs CHANGED
@@ -17,12 +17,13 @@ const generalDiff = {
17
17
  insertedTextDecoration: 'none',
18
18
  deletedTextDecoration: 'line-through',
19
19
  insertedLinePadding: '1px 3px',
20
- borderRadious: '3px'};
20
+ borderRadius: '3px'};
21
21
  const generalGutter = {
22
22
  border: 'none',
23
23
  paddingRight: '8px',
24
24
  fontSize: '0.9em',
25
25
  fontWeight: '500',
26
+ lineHeight: '1.78', // Adjusted to compensate for 0.9em fontSize (1.6 / 0.9 ≈ 1.78)
26
27
  };
27
28
  const generalPanel = {
28
29
  border: 'none',
@@ -234,9 +235,11 @@ const andromedaTheme = view.EditorView.theme({
234
235
  },
235
236
  '.cm-lineNumbers': {
236
237
  fontSize: generalGutter.fontSize,
238
+ lineHeight: generalGutter.lineHeight,
237
239
  },
238
240
  '.cm-foldGutter': {
239
241
  fontSize: generalGutter.fontSize,
242
+ lineHeight: generalGutter.lineHeight,
240
243
  },
241
244
  '.cm-foldGutter .cm-gutterElement': {
242
245
  color: '#748099',
@@ -252,14 +255,14 @@ const andromedaTheme = view.EditorView.theme({
252
255
  backgroundColor: addedBackground,
253
256
  color: addedText,
254
257
  padding: generalDiff.insertedLinePadding,
255
- borderRadius: generalDiff.borderRadious,
258
+ borderRadius: generalDiff.borderRadius,
256
259
  },
257
260
  'ins.cm-insertedLine, ins.cm-insertedLine:not(:has(.cm-changedText))': {
258
261
  textDecoration: generalDiff.insertedTextDecoration,
259
262
  backgroundColor: `${addedBackground} !important`,
260
263
  color: addedText,
261
264
  padding: generalDiff.insertedLinePadding,
262
- borderRadius: generalDiff.borderRadious,
265
+ borderRadius: generalDiff.borderRadius,
263
266
  border: `1px solid ${addedText}40`,
264
267
  },
265
268
  'ins.cm-insertedLine .cm-changedText': {
@@ -271,14 +274,14 @@ const andromedaTheme = view.EditorView.theme({
271
274
  backgroundColor: removedBackground,
272
275
  color: removedText,
273
276
  padding: generalDiff.insertedLinePadding,
274
- borderRadius: generalDiff.borderRadious,
277
+ borderRadius: generalDiff.borderRadius,
275
278
  },
276
279
  'del.cm-deletedLine, del, del:not(:has(.cm-deletedText))': {
277
280
  textDecoration: generalDiff.deletedTextDecoration,
278
281
  backgroundColor: `${removedBackground} !important`,
279
282
  color: removedText,
280
283
  padding: generalDiff.insertedLinePadding,
281
- borderRadius: generalDiff.borderRadious,
284
+ borderRadius: generalDiff.borderRadius,
282
285
  border: `1px solid ${removedText}40`,
283
286
  },
284
287
  'del .cm-deletedText, del .cm-changedText': {
package/dist/index.js CHANGED
@@ -15,12 +15,13 @@ const generalDiff = {
15
15
  insertedTextDecoration: 'none',
16
16
  deletedTextDecoration: 'line-through',
17
17
  insertedLinePadding: '1px 3px',
18
- borderRadious: '3px'};
18
+ borderRadius: '3px'};
19
19
  const generalGutter = {
20
20
  border: 'none',
21
21
  paddingRight: '8px',
22
22
  fontSize: '0.9em',
23
23
  fontWeight: '500',
24
+ lineHeight: '1.78', // Adjusted to compensate for 0.9em fontSize (1.6 / 0.9 ≈ 1.78)
24
25
  };
25
26
  const generalPanel = {
26
27
  border: 'none',
@@ -232,9 +233,11 @@ const andromedaTheme = /*@__PURE__*/EditorView.theme({
232
233
  },
233
234
  '.cm-lineNumbers': {
234
235
  fontSize: generalGutter.fontSize,
236
+ lineHeight: generalGutter.lineHeight,
235
237
  },
236
238
  '.cm-foldGutter': {
237
239
  fontSize: generalGutter.fontSize,
240
+ lineHeight: generalGutter.lineHeight,
238
241
  },
239
242
  '.cm-foldGutter .cm-gutterElement': {
240
243
  color: '#748099',
@@ -250,14 +253,14 @@ const andromedaTheme = /*@__PURE__*/EditorView.theme({
250
253
  backgroundColor: addedBackground,
251
254
  color: addedText,
252
255
  padding: generalDiff.insertedLinePadding,
253
- borderRadius: generalDiff.borderRadious,
256
+ borderRadius: generalDiff.borderRadius,
254
257
  },
255
258
  'ins.cm-insertedLine, ins.cm-insertedLine:not(:has(.cm-changedText))': {
256
259
  textDecoration: generalDiff.insertedTextDecoration,
257
260
  backgroundColor: `${addedBackground} !important`,
258
261
  color: addedText,
259
262
  padding: generalDiff.insertedLinePadding,
260
- borderRadius: generalDiff.borderRadious,
263
+ borderRadius: generalDiff.borderRadius,
261
264
  border: `1px solid ${addedText}40`,
262
265
  },
263
266
  'ins.cm-insertedLine .cm-changedText': {
@@ -269,14 +272,14 @@ const andromedaTheme = /*@__PURE__*/EditorView.theme({
269
272
  backgroundColor: removedBackground,
270
273
  color: removedText,
271
274
  padding: generalDiff.insertedLinePadding,
272
- borderRadius: generalDiff.borderRadious,
275
+ borderRadius: generalDiff.borderRadius,
273
276
  },
274
277
  'del.cm-deletedLine, del, del:not(:has(.cm-deletedText))': {
275
278
  textDecoration: generalDiff.deletedTextDecoration,
276
279
  backgroundColor: `${removedBackground} !important`,
277
280
  color: removedText,
278
281
  padding: generalDiff.insertedLinePadding,
279
- borderRadius: generalDiff.borderRadious,
282
+ borderRadius: generalDiff.borderRadius,
280
283
  border: `1px solid ${removedText}40`,
281
284
  },
282
285
  'del .cm-deletedText, del .cm-changedText': {
package/package.json CHANGED
@@ -1,20 +1,16 @@
1
1
  {
2
2
  "name": "@fsegurai/codemirror-theme-andromeda",
3
+ "version": "6.2.4",
3
4
  "description": "Andromeda theme for the CodeMirror editor",
4
- "version": "6.2.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
7
+ "module": "dist/index.js",
8
+ "types": "dist/index.d.ts",
7
9
  "exports": {
8
10
  "import": "./dist/index.js",
9
11
  "require": "./dist/index.cjs"
10
12
  },
11
- "types": "dist/index.d.ts",
12
- "module": "dist/index.js",
13
13
  "sideEffects": false,
14
- "scripts": {
15
- "test": "cm-runtests",
16
- "prepare": "cm-buildhelper src/index.ts"
17
- },
18
14
  "keywords": [
19
15
  "editor",
20
16
  "diff",
@@ -32,6 +28,10 @@
32
28
  "url": "https://www.fsegurai.com/"
33
29
  },
34
30
  "license": "MIT",
31
+ "scripts": {
32
+ "pkg:build": "cm-buildhelper src/index.ts",
33
+ "pkg:test": "cm-runtests"
34
+ },
35
35
  "peerDependencies": {
36
36
  "@lezer/highlight": "^1.0.0",
37
37
  "@codemirror/language": "^6.0.0",