refactor: github flavored codemirror light theme
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import CodeMirror from "codemirror"
|
||||
|
||||
import "codemirror/theme/base16-light.css"
|
||||
import "codemirror-github-light/lib/codemirror-github-light-theme.css"
|
||||
import "codemirror/theme/base16-dark.css"
|
||||
import "codemirror/theme/3024-night.css"
|
||||
|
||||
@@ -104,7 +104,7 @@ export function useCodemirror(
|
||||
case "system":
|
||||
return "default"
|
||||
case "light":
|
||||
return "base16-light"
|
||||
return "github-light"
|
||||
case "dark":
|
||||
return "base16-dark"
|
||||
case "black":
|
||||
|
||||
Reference in New Issue
Block a user