Skip to content

Commit ffa7e3c

Browse files
committed
fix: add missing color mapping for token string in colorMap
1 parent 8c1b9ca commit ffa7e3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mdx/code.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const colorMap = {
4949
'token function': '#cf3846',
5050
'token parameter variable': '#277d7b',
5151
'token assign-left variable': '#277d7b',
52+
'token string': '#db1068'
5253
}
5354

5455
const MonoText = props => <Text sx={{fontFamily: 'mono', fontSize: 1}} {...props} />

0 commit comments

Comments
 (0)