-
-
Notifications
You must be signed in to change notification settings - Fork 429
support color-scheme #1430
Copy link
Copy link
Open
Description
- add new option for theme to the config in order to understand if site supports auto switch between light and dart theme
- add
color-scheme: light darkwhen the param istrue, addlightordarkwhenfalseand switchcoloe-schemevalue accordingly - remove this change disable color-scheme on remark iframe #1429
Cases
Auto
var remark_config = {
theme: 'auto'
}color-scheme: light dark;Add support for auto switch between themes
Dark
var remark_config = {
theme: 'dark'
}color-scheme: dark;Light
var remark_config = {
theme: 'light'
}color-scheme: light;Reactions are currently unavailable