-
Notifications
You must be signed in to change notification settings - Fork 356
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
Syntax highlighting - support input to change styling #1784
Comments
You can overwrite the theming if you switch to dark-mode in your theme setup css file, eg: // normal theme stuff
@include covalent-highlight-theme();
.dark-theme {
@import '~highlight.js/styles/vs.css';
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Add ability to switch/change theme of Covalent syntax highlight component programmatically. Currently while trying to use the syntax highlighting component there is not a way to easily set or change the current color schemes programmatically with Angular.
What is the motivation / use case for changing the behavior?
This would help in theming cases where a User would switch to dark or light theme and would like see syntax highlighting matching that currently active theme
Which version of Angular and Material, and which browser and OS does this issue affect?
Angular 9.0
The text was updated successfully, but these errors were encountered: