Skip to content

Commit b0b8ce3

Browse files
use vscode editor styles for text ouput display (#46)
- use vscode editor background color - set text output panel border - use vscode editor foreground color, font family and size for text display - set 5px top padding for code display
1 parent f0e05c3 commit b0b8ce3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/renderer/styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,18 @@
4040
}
4141

4242
.text-output {
43+
background-color: var(--vscode-editor-background);
44+
border: 1px solid var(--vscode-panel-border);
45+
font-family: var(--vscode-editor-font-family);
46+
font-size: var(--vscode-editor-font-size);
47+
margin-top: 0px;
4348
max-height: 360px;
4449
overflow: auto;
4550
tab-size: 2;
4651
white-space: pre-wrap;
4752
}
53+
54+
.text-output code {
55+
color: var(--vscode-editor-foreground) !important;
56+
padding-top: 5px;
57+
}

0 commit comments

Comments
 (0)