Skip to content

Commit 693f03f

Browse files
rcosta358codex
andcommitted
Disable diagnostic hovers and strengthen Stop button color
Co-authored-by: Codex <codex@openai.com>
1 parent d2fb4b9 commit 693f03f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎playground/editor.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
.lj-toolbar #lj-reset { min-width: 5rem; padding: .6rem .9rem; color: #fff; background: #334e68; border-color: #334e68; white-space: nowrap; flex-shrink: 0; }
1515
.lj-toolbar #lj-verify:hover:not(:disabled),
1616
.lj-toolbar #lj-reset:hover { background: #253b50; border-color: #253b50; }
17-
.lj-toolbar #lj-verify[data-state="busy"] { background: #7a4343; border-color: #7a4343; }
18-
.lj-toolbar #lj-verify[data-state="busy"]:hover { background: #643535; border-color: #643535; }
17+
.lj-toolbar #lj-verify[data-state="busy"] { background: #c62828; border-color: #c62828; }
18+
.lj-toolbar #lj-verify[data-state="busy"]:hover { background: #a61f1f; border-color: #a61f1f; }
1919
.lj-toolbar button:disabled { color: #8a929b; background: #efefec; border-color: #e4e4e7; cursor: default; }
2020
.lj-toolbar #lj-verify:disabled { color: #fff; background: #7f90a1; border-color: #7f90a1; }
2121
.lj-toolbar select:focus-visible,

‎scripts/playground/editor-setup.mjs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { indentOnInput, bracketMatching } from '@codemirror/language';
44
import { history, defaultKeymap, historyKeymap } from '@codemirror/commands';
55
import { highlightSelectionMatches, searchKeymap } from '@codemirror/search';
66
import { closeBrackets, autocompletion, closeBracketsKeymap, completionKeymap } from '@codemirror/autocomplete';
7-
import { lintKeymap } from '@codemirror/lint';
7+
import { linter, lintKeymap } from '@codemirror/lint';
88

99
export const editorSetup = [
1010
lineNumbers(),
@@ -22,6 +22,7 @@ export const editorSetup = [
2222
crosshairCursor(),
2323
highlightActiveLine(),
2424
highlightSelectionMatches(),
25+
linter(null, { tooltipFilter: () => [] }),
2526
keymap.of([
2627
...closeBracketsKeymap,
2728
...defaultKeymap,

0 commit comments

Comments
 (0)