frontendgood-first-issuehelp wanted
倉庫指標
- Star
- (5,500 star)
- PR 合併指標
- (平均合併 87天 10小時) (30 天內合併 18 個 PR)
描述
- 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 https://github.com/umputun/remark42/pull/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;