juxscript 1.0.15 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +0,0 @@
1
- // muse: notion layout preset
2
- export function layout() {
3
- /* styles */
4
- jux.include('/examples/presets/notion.css');
5
-
6
- /* regions */
7
- jux.header('appheader').render("#app");
8
- jux.header('appsubheader').render("#app");
9
- jux.sidebar('appsidebar').render("#app");
10
- jux.main('appmain').render("#app");
11
- jux.sidebar('appaside').render("#app");
12
- jux.footer('appfooter').render("#app");
13
- jux.modal('appmodal').render("#app");
14
-
15
- /* theme toggle in header */
16
- jux.themeToggle('theme-toggle', {
17
- themes: [
18
- { id: 'light', label: 'Light', icon: '☀️' },
19
- { id: 'dark', label: 'Dark', icon: '🌙' }
20
- ],
21
- variant: 'button',
22
- showLabel: false
23
- }).render('#appheader');
24
- }
25
-
26
- // Auto-run on import
27
- layout();