Added new Theme Switcher and Color Switcher
This commit is contained in:
+11
-1
@@ -1,14 +1,24 @@
|
||||
---
|
||||
import Base from "../layouts/Base.astro";
|
||||
import Button from "../components/Button.astro";
|
||||
import ThemeSwitcher from "../components/ThemeSwitcher.astro";
|
||||
import ColorSwitcher from "../components/ColorSwitcher.astro";
|
||||
---
|
||||
|
||||
<Base>
|
||||
<ThemeSwitcher
|
||||
ui="select"
|
||||
darkBgClass={["wr:dark:bg-neutral-700", "wr:text-white"]}
|
||||
lightBgClass={["wr:bg-white", "wr:text-black"]}
|
||||
rootExtraClass=""
|
||||
/>
|
||||
<ColorSwitcher />
|
||||
|
||||
<div class="wr:p-4">
|
||||
<Button
|
||||
variant="outline"
|
||||
icon="lets-icons:check-ring-duotone-line"
|
||||
color="danger"
|
||||
color="primary"
|
||||
size="md"
|
||||
>
|
||||
Submit
|
||||
|
||||
Reference in New Issue
Block a user