personal-site/themes/theme/static/enable-darkmode.js

9 lines
159 B
JavaScript
Raw Normal View History

2020-09-04 00:40:33 +00:00
const options = {
bottom: '16px',
right: '16px',
buttonColorDark: '#666',
buttonColorLight: '#aaa',
label: '🌙',
};
new Darkmode(options).showWidget();