@fsegurai/codemirror-theme-nord
Version:
Nord theme for the CodeMirror code editor
19 lines (16 loc) • 459 B
TypeScript
import { Extension } from '@codemirror/state';
import { HighlightStyle } from '@codemirror/language';
/**
The editor theme styles for Nord.
*/
declare const nordTheme: Extension;
/**
The highlighting style for code in the Nord theme.
*/
declare const nordHighlightStyle: HighlightStyle;
/**
Extension to enable the Nord theme (both the editor theme and
the highlight style).
*/
declare const nord: Extension;
export { nord, nordHighlightStyle, nordTheme };