23 lines
334 B
Markdown
23 lines
334 B
Markdown
|
Theme Switcher: `BUTTON[light-mode, dark-mode]`
|
||
|
|
||
|
```meta-bind-button
|
||
|
style: destructive
|
||
|
label: Light Mode
|
||
|
id: light-mode
|
||
|
hidden: true
|
||
|
actions:
|
||
|
- type: command
|
||
|
command: theme:use-light
|
||
|
```
|
||
|
|
||
|
```meta-bind-button
|
||
|
style: primary
|
||
|
label: Dark Mode
|
||
|
id: dark-mode
|
||
|
hidden: true
|
||
|
actions:
|
||
|
- type: command
|
||
|
command: theme:use-dark
|
||
|
```
|
||
|
|