jevstrudel.git / packages / codemirror / themes / whitescreen.mjs
1import { tags as t } from '@lezer/highlight';
2import { createTheme } from './theme-helper.mjs';
3export const settings = {
4  background: 'white',
5  foreground: 'black',
6  muted: '#00000050',
7  caret: 'black',
8  selection: 'rgba(128, 203, 196, 0.5)',
9  selectionMatch: '#ffffff26',
10  lineHighlight: '#cccccc50',
11  lineBackground: '#ffffff50',
12  gutterBackground: 'transparent',
13  gutterForeground: 'black',
14  light: true,
15};
16export default createTheme({
17  theme: 'light',
18  settings,
19  styles: [
20    { tag: t.labelName, color: 'inherit' },
21    { tag: t.keyword, color: 'inherit' },
22    { tag: t.operator, color: 'inherit' },
23    { tag: t.special(t.variableName), color: 'inherit' },
24    { tag: t.typeName, color: 'inherit' },
25    { tag: t.atom, color: 'inherit' },
26    { tag: t.number, color: 'inherit' },
27    { tag: t.definition(t.variableName), color: 'inherit' },
28    { tag: t.string, color: 'inherit' },
29    { tag: t.special(t.string), color: 'inherit' },
30    { tag: t.comment, color: 'inherit' },
31    { tag: t.variableName, color: 'inherit' },
32    { tag: t.tagName, color: 'inherit' },
33    { tag: t.bracket, color: 'inherit' },
34    { tag: t.meta, color: 'inherit' },
35    { tag: t.attributeName, color: 'inherit' },
36    { tag: t.propertyName, color: 'inherit' },
37    { tag: t.className, color: 'inherit' },
38    { tag: t.invalid, color: 'inherit' },
39  ],
40});