Skip to content

Change the code block background and text #2223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mspoulsen opened this issue Mar 13, 2020 · 2 comments
Closed

Change the code block background and text #2223

mspoulsen opened this issue Mar 13, 2020 · 2 comments

Comments

@mspoulsen
Copy link

Any chance that you could change the dark code blocks so that they match the code blocks with light (#f8f8f8) background on https://vuejs.org/v2/guide/?

It is so much nicer (and cheaper) when printing 🙂

@haoranpb
Copy link
Contributor

Hi @mspoulsen , not sure if they will decide to change it. But currently you can change the background color in palette.styl

$codeBgColor = #f8f8f8

and change text color in index.styl

@import '~prismjs/themes/prism.css'

May relate to #1401

@mspoulsen
Copy link
Author

Thanks @ludanxer 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants