mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
Docs: separate pages
This commit is contained in:
parent
cea5c8c04c
commit
bbb53c7dd4
61 changed files with 2994 additions and 1498 deletions
17
docs/js/commons.js
Normal file
17
docs/js/commons.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* 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();
|
Loading…
Add table
Add a link
Reference in a new issue