Skip to content

Commit cc167dc

Browse files
committed
fix: hql minimap coloring
1 parent 1376b67 commit cc167dc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

web/components/templates/hql/hqlPage.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ function HQLPage() {
157157
rules: [],
158158
colors: {
159159
"editor.background": "#00000000",
160+
"minimap.background": "#1e1e1e",
161+
"minimapSlider.background": "#79797933",
162+
"minimapSlider.hoverBackground": "#79797944",
163+
"minimapSlider.activeBackground": "#79797955",
160164
},
161165
});
162166
mono.editor.defineTheme("custom-light", {
@@ -165,6 +169,10 @@ function HQLPage() {
165169
rules: [],
166170
colors: {
167171
"editor.background": "#00000000",
172+
"minimap.background": "#ffffff",
173+
"minimapSlider.background": "#64646433",
174+
"minimapSlider.hoverBackground": "#64646444",
175+
"minimapSlider.activeBackground": "#64646455",
168176
},
169177
});
170178
} catch (e) {
@@ -353,7 +361,7 @@ function HQLPage() {
353361
<Editor
354362
defaultLanguage="sql"
355363
defaultValue={currentQuery.sql}
356-
theme={currentTheme === "dark" ? "vs-dark" : "vs"}
364+
theme={currentTheme === "dark" ? "custom-dark" : "custom-light"}
357365
options={{
358366
minimap: {
359367
enabled: true,

0 commit comments

Comments
 (0)