Skip to content

Commit 1bd5f6b

Browse files
mohamadyasser118pashagolub
authored andcommitted
feat(webui): add SQL syntax highlighting to metric form editors
1 parent 3c441aa commit 1bd5f6b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/webui/src/containers/MetricFormDialog/components/MetricForm/components/MetricFormStepSettings.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { MetricFormValues } from "../MetricForm.types";
55
import Editor from "react-simple-code-editor";
66
import { highlight, languages } from "prismjs";
77
import "prismjs/components/prism-sql";
8-
import "prismjs/themes/prism-tomorrow.css";
8+
import "prismjs/themes/prism.css";
99
import { Controller } from "react-hook-form";
1010

1111
export const MetricFormStepSettings = () => {
@@ -59,8 +59,8 @@ export const MetricFormStepSettings = () => {
5959
minHeight: "120px",
6060
border: "1px solid rgba(0,0,0,0.23)",
6161
borderRadius: "4px",
62-
backgroundColor: "#2d2d2d",
63-
color: "#ccc",
62+
backgroundColor: "#fafafa",
63+
color: "#333",
6464
}}
6565
/>
6666
)}

0 commit comments

Comments
 (0)