Skip to content

Commit

Permalink
feat(theme): add t.strong to existing style to cope with emboldened…
Browse files Browse the repository at this point in the history
… text (e.g. **bold** in GitHub markdown) (#587)

Co-authored-by: cleverlight <cleverlight@users.noreply.github.com>
  • Loading branch information
cleverlight and cleverlight committed Oct 4, 2023
1 parent 24285de commit f991c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/github/src/index.ts
Expand Up @@ -29,7 +29,7 @@ export const githubLightInit = (options?: Partial<CreateThemeOptions>) => {
{ tag: [t.keyword, t.typeName, t.typeOperator, t.typeName], color: '#d73a49' },
{ tag: [t.string, t.meta, t.regexp], color: '#032f62' },
{ tag: [t.name, t.quote], color: '#22863a' },
{ tag: [t.heading], color: '#24292e', fontWeight: 'bold' },
{ tag: [t.heading, t.strong], color: '#24292e', fontWeight: 'bold' },
{ tag: [t.emphasis], color: '#24292e', fontStyle: 'italic' },
{ tag: [t.deleted], color: '#b31d28', backgroundColor: 'ffeef0' },
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: '#e36209' },
Expand Down Expand Up @@ -69,7 +69,7 @@ export const githubDarkInit = (options?: Partial<CreateThemeOptions>) => {
{ tag: [t.keyword, t.typeName, t.typeOperator, t.typeName], color: '#ff7b72' },
{ tag: [t.string, t.meta, t.regexp], color: '#a5d6ff' },
{ tag: [t.name, t.quote], color: '#7ee787' },
{ tag: [t.heading], color: '#d2a8ff', fontWeight: 'bold' },
{ tag: [t.heading, t.strong], color: '#d2a8ff', fontWeight: 'bold' },
{ tag: [t.emphasis], color: '#d2a8ff', fontStyle: 'italic' },
{ tag: [t.deleted], color: '#ffdcd7', backgroundColor: 'ffeef0' },
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: '#ffab70' },
Expand Down

0 comments on commit f991c91

Please sign in to comment.