@uiw/codemirror-themes 4.22.2 → 4.23.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/cjs/index.d.ts +2 -2
- package/esm/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/index.tsx +2 -2
package/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Extension } from '@codemirror/state';
|
|
2
|
-
import { TagStyle } from '@codemirror/language';
|
|
3
|
-
import { StyleSpec } from 'style-mod';
|
|
2
|
+
import { type TagStyle } from '@codemirror/language';
|
|
3
|
+
import type { StyleSpec } from 'style-mod';
|
|
4
4
|
export interface CreateThemeOptions {
|
|
5
5
|
/**
|
|
6
6
|
* Theme inheritance. Determines which styles CodeMirror will apply by default.
|
package/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Extension } from '@codemirror/state';
|
|
2
|
-
import { TagStyle } from '@codemirror/language';
|
|
3
|
-
import { StyleSpec } from 'style-mod';
|
|
2
|
+
import { type TagStyle } from '@codemirror/language';
|
|
3
|
+
import type { StyleSpec } from 'style-mod';
|
|
4
4
|
export interface CreateThemeOptions {
|
|
5
5
|
/**
|
|
6
6
|
* Theme inheritance. Determines which styles CodeMirror will apply by default.
|
package/package.json
CHANGED
package/src/index.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EditorView } from '@codemirror/view';
|
|
2
2
|
import { Extension } from '@codemirror/state';
|
|
3
|
-
import { HighlightStyle, TagStyle, syntaxHighlighting } from '@codemirror/language';
|
|
4
|
-
import { StyleSpec } from 'style-mod';
|
|
3
|
+
import { HighlightStyle, type TagStyle, syntaxHighlighting } from '@codemirror/language';
|
|
4
|
+
import type { StyleSpec } from 'style-mod';
|
|
5
5
|
|
|
6
6
|
export interface CreateThemeOptions {
|
|
7
7
|
/**
|