1import { tags as t } from '@lezer/highlight';
2import { createTheme } from './theme-helper.mjs';
3export const settings = {
4  background: 'black',
5  foreground: '#41FF00', // whats that?
6  caret: '#41FF00',
7  selection: '#ffffff20',
8  selectionMatch: '#036dd626',
9  lineHighlight: '#ffffff10',
10  gutterBackground: 'transparent',
11  gutterForeground: '#8a919966',
12};
13export default createTheme({
14  theme: 'dark',
15  settings,
16  styles: [
17    { tag: t.labelName, color: 'inherit' },
18    { tag: t.keyword, color: 'inherit' },
19    { tag: t.operator, color: 'inherit' },
20    { tag: t.special(t.variableName), color: 'inherit' },
21    { tag: t.typeName, color: 'inherit' },
22    { tag: t.atom, color: 'inherit' },
23    { tag: t.number, color: 'inherit' },
24    { tag: t.definition(t.variableName), color: 'inherit' },
25    { tag: t.string, color: 'inherit' },
26    { tag: t.special(t.string), color: 'inherit' },
27    { tag: t.comment, color: 'inherit' },
28    { tag: t.variableName, color: 'inherit' },
29    { tag: t.tagName, color: 'inherit' },
30    { tag: t.bracket, color: 'inherit' },
31    { tag: t.meta, color: 'inherit' },
32    { tag: t.attributeName, color: 'inherit' },
33    { tag: t.propertyName, color: 'inherit' },
34    { tag: t.className, color: 'inherit' },
35    { tag: t.invalid, color: 'inherit' },
36  ],
37});