Skip to content

Commit 0d483e8

Browse files
committedDec 5, 2022
style(github): update github style.
1 parent a104c88 commit 0d483e8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎themes/github/src/index.ts

+9
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ export const githubLight = createTheme({
2424
{ tag: [t.heading], color: '#24292e', fontWeight: 'bold' },
2525
{ tag: [t.emphasis], color: '#24292e', fontStyle: 'italic' },
2626
{ tag: [t.deleted], color: '#b31d28', backgroundColor: 'ffeef0' },
27+
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: '#e36209' },
28+
{ tag: [t.url, t.escape, t.regexp, t.link], color: '#032f62' },
29+
{ tag: t.link, textDecoration: 'underline' },
30+
{ tag: t.strikethrough, textDecoration: 'line-through' },
31+
{ tag: t.invalid, color: '#cb2431' },
2732
],
2833
});
2934

@@ -47,5 +52,9 @@ export const githubDark = createTheme({
4752
{ tag: [t.heading], color: '#d2a8ff', fontWeight: 'bold' },
4853
{ tag: [t.emphasis], color: '#d2a8ff', fontStyle: 'italic' },
4954
{ tag: [t.deleted], color: '#ffdcd7', backgroundColor: 'ffeef0' },
55+
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: '#ffab70' },
56+
{ tag: t.link, textDecoration: 'underline' },
57+
{ tag: t.strikethrough, textDecoration: 'line-through' },
58+
{ tag: t.invalid, color: '#f97583' },
5059
],
5160
});

0 commit comments

Comments
 (0)
Please sign in to comment.