Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit c852b5f

Browse files
committed
fix lint
1 parent bd08b74 commit c852b5f

File tree

9 files changed

+8
-140
lines changed

9 files changed

+8
-140
lines changed

packages/codemirror/themes.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import tokyoNightStorm, { settings as tokyoNightStormSettings } from './themes/t
3131
import tokyoNightDay, { settings as tokyoNightDaySettings } from './themes/tokyoNightDay.mjs';
3232
import vscodeDark, { settings as vscodeDarkSettings } from './themes/vscodeDark.mjs';
3333
import vscodeLight, { settings as vscodeLightSettings } from './themes/vscodeLight.mjs';
34-
// import xcodeDark, { settings as xcodeDarkSettings } from './themes/xcodeDark.mjs';
3534
import xcodeLight, { settings as xcodeLightSettings } from './themes/xcodeLight.mjs';
3635
import bbedit, { settings as bbeditSettings } from './themes/bbedit.mjs';
3736
import noctisLilac, { settings as noctisLilacSettings } from './themes/noctisLilac.mjs';
@@ -43,9 +42,6 @@ export const themes = {
4342
androidstudio,
4443
atomone,
4544
aura,
46-
// todo: optimize
47-
// bespin,
48-
//abcdef,
4945
bbedit,
5046
blackscreen,
5147
bluescreen,

packages/codemirror/themes/abcdef.mjs

Lines changed: 0 additions & 55 deletions
This file was deleted.

packages/codemirror/themes/algoboy.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default createTheme({
5454
tag: [t.keyword, t.tagName, t.arithmeticOperator],
5555
color: palette[1],
5656
},
57-
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: palette[0]},
57+
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: palette[0] },
5858
{ tag: [t.function(t.variableName), t.propertyName], color: palette[0] },
5959
{ tag: t.atom, color: palette[1] },
6060
],

packages/codemirror/themes/atomone.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ export default createTheme({
3838
tag: [t.function(t.variableName), t.function(t.propertyName), t.url, t.processingInstruction],
3939
color: 'hsl(207, 82%, 66%)',
4040
},
41-
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: 'hsl( 29, 54%, 61%)'},
41+
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: 'hsl( 29, 54%, 61%)' },
4242
{ tag: [t.tagName, t.heading], color: '#e06c75' },
4343
{ tag: t.comment, color: '#54636D' },
4444
{ tag: [t.variableName, t.propertyName, t.labelName], color: 'hsl(220, 14%, 71%)' },
4545
{ tag: [t.attributeName, t.number], color: 'hsl( 29, 54%, 61%)' },
4646
{ tag: t.className, color: 'hsl( 39, 67%, 69%)' },
4747
{ tag: t.keyword, color: 'hsl(286, 60%, 67%)' },
48-
48+
4949
{ tag: [t.string, t.regexp, t.special(t.propertyName)], color: '#98c379' },
5050
],
5151
});

packages/codemirror/themes/bespin.mjs

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/codemirror/themes/strudel-theme.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default createTheme({
1717
theme: 'dark',
1818
settings,
1919
styles: [
20-
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: '#89ddff'},
20+
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: '#89ddff' },
2121
{ tag: t.labelName, color: '#89ddff' },
2222
{ tag: t.keyword, color: '#c792ea' },
2323
{ tag: t.operator, color: '#89ddff' },

packages/codemirror/themes/theme-helper.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { EditorView } from '@codemirror/view';
2-
import { tags as t } from '@lezer/highlight';
32
import { syntaxHighlighting } from '@codemirror/language';
43
import { HighlightStyle } from '@codemirror/language';
54

6-
7-
85
export const createTheme = ({ theme, settings, styles }) => {
96
const _theme = EditorView.theme(
107
{

packages/codemirror/themes/xcodeDark.mjs

Lines changed: 0 additions & 34 deletions
This file was deleted.

website/src/repl/components/textbox/Textbox.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import cx from '@src/cx.mjs';
33
export function Textbox({ onChange, className, ...inputProps }) {
44
return (
55
<input
6-
className={cx('p-2 bg-background rounded-md border-foreground text-foreground placeholder-foreground', className)}
6+
className={cx(
7+
'p-2 bg-background rounded-md border-foreground text-foreground placeholder-foreground',
8+
className,
9+
)}
710
onChange={(e) => onChange(e.target.value)}
811
{...inputProps}
912
/>

0 commit comments

Comments
 (0)