pico/docs/js/commons.js

17 lines
334 B
JavaScript
Raw Normal View History

2021-10-31 21:33:19 +07:00
/*
* Add some magic to Pico docs
*
* Pico.css - https://picocss.com
* Copyright 2019-2021 - Licensed under MIT
*/
// Imports
import themeSwitcher from './src/theme-switcher.js';
// Theme switcher
themeSwitcher.addButton({
tag: 'BUTTON',
class: 'contrast switcher theme-switcher',
target: 'body',
});
themeSwitcher.init();