Skip to content

Commit 51c5cf4

Browse files
fix: light mode ui for doc editor and query panel (#1556)
1 parent 536a042 commit 51c5cf4

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

webview_panels/.storybook/main.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ const config: StorybookConfig = {
1313
name: "@storybook/react-vite",
1414
options: {},
1515
},
16+
typescript: {
17+
reactDocgen: false,
18+
},
1619
core: {
1720
builder: "@storybook/builder-vite",
1821
},
@@ -25,9 +28,7 @@ const config: StorybookConfig = {
2528
"./__mocks__/vscode.ts"
2629
);
2730

28-
config.resolve.alias["crypto"] = require.resolve(
29-
"./__mocks__/crypto.ts"
30-
);
31+
config.resolve.alias["crypto"] = require.resolve("./__mocks__/crypto.ts");
3132
}
3233
// Merge custom configuration into the default config
3334
return mergeConfig(config, {

webview_panels/src/modules/documentationEditor/styles.module.scss

+1
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@
277277
width: 100%;
278278
text-align: left;
279279
background-color: transparent;
280+
color: var(--text-color--title);
280281
}
281282
}
282283
}

webview_panels/src/modules/queryPanel/components/queryLimit/styles.module.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66

77
.input {
8-
background-color: var(--gray--gray-02);
8+
background-color: var(--background--02);
99
border: none;
1010
outline: none;
1111
max-width: 80px;
@@ -18,7 +18,7 @@
1818
&:focus {
1919
border: none;
2020
outline: none;
21-
background-color: var(--gray--gray-02);
21+
background-color: var(--background--02);
2222
}
2323
}
2424

@@ -48,7 +48,7 @@
4848
align-items: center;
4949

5050
.label {
51-
padding: 0.25rem 0.75rem;
51+
padding: 0.3rem 0.75rem;
5252
border: 1px solid var(--gray--gray-02);
5353
border-right: none;
5454
border-top-left-radius: 0.25rem;

0 commit comments

Comments
 (0)