mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-03-12 04:41:54 +00:00
src/themes/editorTheme.ts
This commit is contained in:
40
src/themes/editorTheme.ts
Normal file
40
src/themes/editorTheme.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { EditorView } from "@codemirror/view";
|
||||
|
||||
export const editorTheme = EditorView.theme({
|
||||
"&": {
|
||||
height: "100%",
|
||||
},
|
||||
".cm-currentpc": {
|
||||
backgroundColor: "#7e2a70 !important",
|
||||
},
|
||||
".currentpc-marker": {
|
||||
color: "#ff66ee",
|
||||
},
|
||||
".currentpc-span-blocked": {
|
||||
backgroundColor: "#7e2a70 !important",
|
||||
},
|
||||
".currentpc-marker-blocked": {
|
||||
color: "#ffee33",
|
||||
},
|
||||
".highlight-lines": {
|
||||
backgroundColor: "#003399 !important",
|
||||
},
|
||||
".gutter-offset": {
|
||||
marginRight: "0.25em",
|
||||
},
|
||||
".gutter-bytes": {
|
||||
marginLeft: "0.25em",
|
||||
marginRight: "0.25em",
|
||||
opacity: 0.7,
|
||||
},
|
||||
".gutter-currentpc": {
|
||||
color: "#ff66ee",
|
||||
},
|
||||
".gutter-clock": {
|
||||
marginLeft: "0.25em",
|
||||
marginRight: "0.25em",
|
||||
},
|
||||
"& .cm-lineNumbers .cm-gutterElement": {
|
||||
color: "#99cc99",
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user