mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Merge pull request #1218 from bvaughn/prism-color-accessibility-tweaks
Tweaked Prism theme to improve color accessibility
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user