Fixed changing default color scheme in config, affecting the result (#755)
This commit is contained in:
parent
4940d4a929
commit
83d10c59ad
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import { enable, disable, auto, setFetchMethod } from 'darkreader'
|
||||||
import * as params from '@params'
|
import * as params from '@params'
|
||||||
|
|
||||||
const darkreader = params?.darkmode?.darkreader || {}
|
const darkreader = params?.darkmode?.darkreader || {}
|
||||||
const defaultColorScheme = darkreader.defaultColorScheme || 'system'
|
const defaultColorScheme = darkreader.defaultcolorscheme || 'system'
|
||||||
const theme = {
|
const theme = {
|
||||||
brightness: 100,
|
brightness: 100,
|
||||||
contrast: 100,
|
contrast: 100,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue