mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 00:56:14 -04:00
Revert "Feature: modal"
This commit is contained in:
parent
39314102d2
commit
d5544ea021
115 changed files with 3754 additions and 6410 deletions
35
docs/js/pico.docs.js
Normal file
35
docs/js/pico.docs.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* Add some magic to Pico docs
|
||||
*
|
||||
* Pico.css - https://picocss.com
|
||||
* Copyright 2019-2021 - Licensed under MIT
|
||||
*/
|
||||
|
||||
// Imports
|
||||
import aside from './src/aside.js';
|
||||
import themeSwitcher from './src/theme-switcher.js';
|
||||
import materialDesignColors from './src/material-design-colors.js';
|
||||
import colorPicker from './src/color-picker.js';
|
||||
import grid from './src/grid.js';
|
||||
import scrollspy from './src/scrollspy.js';
|
||||
|
||||
// Aside initial state
|
||||
aside.init();
|
||||
|
||||
// Theme switcher
|
||||
themeSwitcher.addButton({
|
||||
tag: 'BUTTON',
|
||||
class: 'contrast switcher theme-switcher',
|
||||
target: 'body',
|
||||
});
|
||||
themeSwitcher.init();
|
||||
|
||||
// Color Picker
|
||||
colorPicker.colors = materialDesignColors;
|
||||
colorPicker.init();
|
||||
|
||||
// Grid Interaction
|
||||
grid.init();
|
||||
|
||||
// Scrollspy
|
||||
scrollspy.init();
|
Loading…
Add table
Add a link
Reference in a new issue