Skip to content

Commit be839d8

Browse files
committed
docs: update platform and references
1 parent cff7855 commit be839d8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
VSCode extension that custom ui css style in both editor and webview
1111

12-
- Works with VSCode 1.97!
12+
- Works with VSCode 1.97! (Tested on Windows and MacOS)
1313

1414
> [!warning]
1515
> This extension works by editting the VSCode's css and js files.

src/manager/renderer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import { rendererBakPath, rendererPath } from '../path'
33
import { escapeQuote } from '../utils'
44
import { BaseFileManager } from './base'
55

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
610
export const VSC_DFAULT_MONO_FONT = {
711
win: `Consolas, 'Courier New'`,
812
mac: `Menlo, Monaco, 'Courier New'`,

0 commit comments

Comments
 (0)