Update darkreader.js
This commit is contained in:
parent
4940d4a929
commit
7094f8fa54
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