Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
fix contrast on .token.string
Browse files Browse the repository at this point in the history
  • Loading branch information
Katy DeCorah committed Feb 5, 2020
1 parent 9cd3d96 commit 846ab2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/highlight/theme-css.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/css/prism.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,16 @@ pre[class*='language-'] {
color: #2a4de4;
}

/* slightly darker to make improve contrast when code is a in a Note */
.dr-ui--note .token.selector,
.dr-ui--note .token.attr-name,
.dr-ui--note .token.string,
.dr-ui--note .token.char,
.dr-ui--note .token.builtin,
.dr-ui--note .token.inserted {
color: #ae2056;
}

.token.keyword {
color: #314ccd;
}
Expand Down

0 comments on commit 846ab2c

Please sign in to comment.