Skip to content

Commit 1e806ae

Browse files
committed
Refactor code.js to add new color mapping for 'token assign-left variable'
1 parent e55d68b commit 1e806ae

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
@@ -47,6 +47,7 @@ const colorMap = {
4747
'token comment': '#747458',
4848
'token function': '#cf3846',
4949
'token parameter variable': '#277d7b',
50+
'token assign-left variable': '#277d7b',
5051
}
5152

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

0 commit comments

Comments
 (0)