Skip to content

Commit 7f91e94

Browse files
authored
Add VSCode Dark Modern and Light Modern color schemes (#19728)
This adds both the Dark Modern and Light Modern color schemes from VSCode to match issue #19162. I pulled the colors directly from VSCode's terminalColorRegistry.ts for accuracy. The existing Dark+ scheme uses the older terminal colors from before VSCode introduced the Modern variants, so this gives users access to the newer palette. The Dark Modern background is #1F1F1F which is the actual color used in VSCode currently, not #1E1E1E from the legacy theme. Light Modern uses #FFFFFF background with #3B3B3B foreground text. Tested locally in Windows Terminal and both schemes render correctly.
1 parent 6915681 commit 7f91e94

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

src/cascadia/TerminalSettingsModel/defaults.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,52 @@
350350
"brightCyan": "#29b8db",
351351
"brightWhite": "#e5e5e5"
352352
},
353+
{
354+
"name": "VSCode Dark Modern",
355+
"foreground": "#CCCCCC",
356+
"background": "#1F1F1F",
357+
"cursorColor": "#FFFFFF",
358+
"selectionBackground": "#264F78",
359+
"black": "#000000",
360+
"red": "#CD3131",
361+
"green": "#0DBC79",
362+
"yellow": "#E5E510",
363+
"blue": "#2472C8",
364+
"purple": "#BC3FBC",
365+
"cyan": "#11A8CD",
366+
"white": "#E5E5E5",
367+
"brightBlack": "#666666",
368+
"brightRed": "#F14C4C",
369+
"brightGreen": "#23D18B",
370+
"brightYellow": "#F5F543",
371+
"brightBlue": "#3B8EEA",
372+
"brightPurple": "#D670D6",
373+
"brightCyan": "#29B8DB",
374+
"brightWhite": "#E5E5E5"
375+
},
376+
{
377+
"name": "VSCode Light Modern",
378+
"foreground": "#3B3B3B",
379+
"background": "#FFFFFF",
380+
"cursorColor": "#000000",
381+
"selectionBackground": "#ADD6FF",
382+
"black": "#000000",
383+
"red": "#CD3131",
384+
"green": "#00BC00",
385+
"yellow": "#949800",
386+
"blue": "#0451A5",
387+
"purple": "#BC05BC",
388+
"cyan": "#0598BC",
389+
"white": "#555555",
390+
"brightBlack": "#666666",
391+
"brightRed": "#CD3131",
392+
"brightGreen": "#14CE14",
393+
"brightYellow": "#B5BA00",
394+
"brightBlue": "#0451A5",
395+
"brightPurple": "#BC05BC",
396+
"brightCyan": "#0598BC",
397+
"brightWhite": "#A5A5A5"
398+
},
353399
{
354400
"background": "#000000",
355401
"black": "#000000",

0 commit comments

Comments
 (0)