Skip to content

Commit a450129

Browse files
authored
Merge pull request #252 from magic-akari/feat/underline
feat: add underline support
2 parents abe72a6 + 706236c commit a450129

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

.changeset/rare-games-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"github-vscode-theme": minor
3+
---
4+
5+
feat: add underline support

src/classic/theme.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,12 @@ function getTheme({ style, name }) {
463463
foreground: editorForeground,
464464
},
465465
},
466+
{
467+
scope: ["markup.underline"],
468+
settings: {
469+
fontStyle: "underline",
470+
},
471+
},
466472
{
467473
scope: "markup.raw",
468474
settings: {

src/theme.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,12 @@ function getTheme({ theme, name }) {
485485
foreground: color.fg.default,
486486
},
487487
},
488+
{
489+
scope: ["markup.underline"],
490+
settings: {
491+
fontStyle: "underline",
492+
},
493+
},
488494
{
489495
scope: "markup.raw",
490496
settings: {

0 commit comments

Comments
 (0)