fix themes.

This commit is contained in:
2023-04-12 08:41:59 +08:00
parent efc9413ce6
commit 42e2616f35
3 changed files with 4 additions and 20 deletions

View File

@@ -22,26 +22,6 @@ const chalky = "#e5c07b",
selection = "#3E4451",
cursor = "#528bff"
/// The colors used in the theme, as CSS color strings.
const color = {
chalky,
coral,
cyan,
invalid,
ivory,
stone,
malibu,
sage,
whiskey,
violet,
darkBackground,
highlightBackground,
background,
tooltipBackground,
selection,
cursor,
}
/// The editor theme styles for One Dark.
const oneDarkTheme = EditorView.theme(
{