Skip to content

Commit c50705e

Browse files
committedDec 10, 2022
fix(github): modify tagName color in github theme. #430
1 parent af0e3c1 commit c50705e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎themes/github/src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const githubLightInit = (options?: CreateThemeOptions) => {
1818
...settings,
1919
},
2020
styles: [
21+
{ tag: [t.standard(t.tagName), t.tagName], color: '#116329' },
2122
{ tag: [t.comment, t.bracket], color: '#6a737d' },
2223
{ tag: [t.className, t.propertyName], color: '#6f42c1' },
2324
{ tag: [t.variableName, t.attributeName, t.number, t.operator], color: '#005cc5' },
@@ -53,6 +54,7 @@ export const githubDarkInit = (options?: CreateThemeOptions) => {
5354
...settings,
5455
},
5556
styles: [
57+
{ tag: [t.standard(t.tagName), t.tagName], color: '#7ee787' },
5658
{ tag: [t.comment, t.bracket], color: '#8b949e' },
5759
{ tag: [t.className, t.propertyName], color: '#d2a8ff' },
5860
{ tag: [t.variableName, t.attributeName, t.number, t.operator], color: '#79c0ff' },

0 commit comments

Comments
 (0)
Please sign in to comment.