You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
935 B
39 lines
935 B
import { Extension } from '@codemirror/state'; |
|
import { HighlightStyle } from '@codemirror/language'; |
|
|
|
/** |
|
The colors used in the theme, as CSS color strings. |
|
*/ |
|
declare const color: { |
|
chalky: string; |
|
coral: string; |
|
cyan: string; |
|
invalid: string; |
|
ivory: string; |
|
stone: string; |
|
malibu: string; |
|
sage: string; |
|
whiskey: string; |
|
violet: string; |
|
darkBackground: string; |
|
highlightBackground: string; |
|
background: string; |
|
tooltipBackground: string; |
|
selection: string; |
|
cursor: string; |
|
}; |
|
/** |
|
The editor theme styles for One Dark. |
|
*/ |
|
declare const oneDarkTheme: Extension; |
|
/** |
|
The highlighting style for code in the One Dark theme. |
|
*/ |
|
declare const oneDarkHighlightStyle: HighlightStyle; |
|
/** |
|
Extension to enable the One Dark theme (both the editor theme and |
|
the highlight style). |
|
*/ |
|
declare const oneDark: Extension; |
|
|
|
export { color, oneDark, oneDarkHighlightStyle, oneDarkTheme };
|
|
|