how to change the hightlighting style in my theme file #3520
-
my next.js project with react . babelrc setup
I want some token be changed with my customization style , such as font-size 18px , color: my color . i changed the file node_modules\prismjs\themes\prism-twilight.css but it doesn't work for me . |
Beta Was this translation helpful? Give feedback.
Answered by
RunDevelopment
Aug 17, 2022
Replies: 1 comment 10 replies
-
To modify a theme, just copy the CSS file into your project directory and call it something like |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
sytpb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To modify a theme, just copy the CSS file into your project directory and call it something like
custom-theme.css
, make your modifications tocustom-theme.css
, and then import it.