Disable dark mode by default
This commit is contained in:
@@ -99,6 +99,7 @@ function App() {
|
|||||||
buttonColorDark: '#666',
|
buttonColorDark: '#666',
|
||||||
buttonColorLight: '#aaa',
|
buttonColorLight: '#aaa',
|
||||||
label: '🌙',
|
label: '🌙',
|
||||||
|
autoMatchOsTheme: false,
|
||||||
}
|
}
|
||||||
const darkmode = new Darkmode(options);
|
const darkmode = new Darkmode(options);
|
||||||
darkmode.showWidget();
|
darkmode.showWidget();
|
||||||
|
Reference in New Issue
Block a user