File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 9
9
10
10
VSCode extension that custom ui css style in both editor and webview
11
11
12
- - Works with VSCode 1.97!
12
+ - Works with VSCode 1.97! (Tested on Windows and MacOS)
13
13
14
14
> [ !warning]
15
15
> This extension works by editting the VSCode's css and js files.
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ import { rendererBakPath, rendererPath } from '../path'
3
3
import { escapeQuote } from '../utils'
4
4
import { BaseFileManager } from './base'
5
5
6
+ // Code positions for font settings:
7
+ // https://github.com/microsoft/vscode/blob/main/src/vs/base/browser/ui/contextview/contextview.ts#L391-L430
8
+ // https://github.com/microsoft/vscode/blob/main/src/vs/workbench/browser/media/style.css#L10-L33
9
+ // https://github.com/microsoft/vscode/blob/main/src/vs/editor/common/config/editorOptions.ts#L5403-L5405
6
10
export const VSC_DFAULT_MONO_FONT = {
7
11
win : `Consolas, 'Courier New'` ,
8
12
mac : `Menlo, Monaco, 'Courier New'` ,
You can’t perform that action at this time.
0 commit comments