Skip to content

Commit

Permalink
treat metadata tokens as declaration color, also slight light theme t…
Browse files Browse the repository at this point in the history
…weak
  • Loading branch information
romannurik committed Jul 26, 2022
1 parent eb1726a commit 8de47f8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ export function setTheme(theme, typeSize) {
color: ${keywordTagColor};
}
#output pre .token.important {
#output pre .token.important,
#output pre .token.metadata {
color: ${declarationColor};
}
Expand Down Expand Up @@ -137,7 +138,7 @@ export const DEFAULT_THEMES = {
commentColor: materialColor('pink', '600'),
typeColor: materialColor('purple', '500'),
numberColor: '#c53929', // g-red 700
declarationColor: materialColor('indigo', '500'),
declarationColor: materialColor('cyan', '700'),
dimmedColor: materialColor('grey', '400'),
highlightColor: materialColor('grey', '300'),
lineHeight: 1.5,
Expand Down Expand Up @@ -180,7 +181,7 @@ export const DEFAULT_THEMES = {
commentColor: '#aaaaaa',
typeColor: '#ff8a65', // alt #f06292
numberColor: '#f4b400',
declarationColor: '#e67c73',
declarationColor: '#f06292',
dimmedColor: '#777777',
highlightColor: '#444444',
lineHeight: 1.5,
Expand Down

0 comments on commit 8de47f8

Please sign in to comment.