mirror of
https://github.com/picocss/pico.git
synced 2025-02-24 00:39:20 -05:00
17 lines
334 B
JavaScript
17 lines
334 B
JavaScript
|
/*
|
||
|
* 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();
|