Browse Source

Merge pull request #1218 from bvaughn/prism-color-accessibility-tweaks

Tweaked Prism theme to improve color accessibility
main
Brian Vaughn 6 years ago
committed by GitHub
parent
commit
a52f56d897
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/prism-styles.js

4
src/prism-styles.js

@ -10,14 +10,14 @@ import {colors} from 'theme';
const prismColors = {
char: '#D8DEE9',
comment: '#999999',
comment: '#B2B2B2',
keyword: '#c5a5c5',
lineHighlight: '#353b45', // colors.dark + extra lightness
primitive: '#5a9bcf',
string: '#8dc891',
variable: '#d7deea',
boolean: '#ff8b50',
punctuation: '#5FB3B3',
punctuation: '#88C6BE',
tag: '#fc929e',
function: '#79b6f2',
className: '#FAC863',

Loading…
Cancel
Save