Update github_light_theme.ts

This commit is contained in:
Nate Kelley 2025-04-04 11:21:10 -06:00
parent 481d7af164
commit abc9f7d69b
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 4 additions and 4 deletions

View File

@ -2,12 +2,12 @@
import type { editor } from 'monaco-editor'; import type { editor } from 'monaco-editor';
const editorBackground = getComputedStyle(document.documentElement).getPropertyValue(
'--color-background'
);
const primaryColor = getComputedStyle(document.documentElement).getPropertyValue('--color-primary'); const primaryColor = getComputedStyle(document.documentElement).getPropertyValue('--color-primary');
const borderColor = getComputedStyle(document.documentElement).getPropertyValue('--color-border'); const borderColor = getComputedStyle(document.documentElement).getPropertyValue('--color-border');
const textColor = getComputedStyle(document.documentElement).getPropertyValue('--color-foreground');
//these two do not work with the bundler. They strip it to #fff. Instead of #ffffff
const textColor = '#000000';
const editorBackground = '#ffffff';
const theme: editor.IStandaloneThemeData = { const theme: editor.IStandaloneThemeData = {
base: 'vs', base: 'vs',