From 2dbab1fb9f717a54adce51627386e35d51bd2f53 Mon Sep 17 00:00:00 2001 From: Thaza_Kun <61819672+Thaza-Kun@users.noreply.github.com> Date: Fri, 5 Apr 2024 02:22:37 +0800 Subject: [PATCH] :lipstick: UI update --- src/app.pcss | 8 ++ src/lib/components/ui/switch/index.ts | 7 ++ src/lib/components/ui/switch/switch.svelte | 28 ++++++ src/routes/+layout.svelte | 2 +- src/routes/rajah/+layout.svelte | 21 ---- src/routes/rajah/+page.svelte | 111 +++++++-------------- src/routes/rajah/Table.svelte | 64 ++++++++++-- src/routes/tatabunyi/+page.svelte | 4 +- 8 files changed, 138 insertions(+), 107 deletions(-) create mode 100644 src/lib/components/ui/switch/index.ts create mode 100644 src/lib/components/ui/switch/switch.svelte delete mode 100644 src/routes/rajah/+layout.svelte diff --git a/src/app.pcss b/src/app.pcss index b7bccc0..c7cb1b4 100644 --- a/src/app.pcss +++ b/src/app.pcss @@ -76,4 +76,12 @@ body { @apply bg-background text-foreground; } + + h1 { + @apply text-3xl font-extrabold my-6; + } + + dt { + @apply font-semibold; + } } diff --git a/src/lib/components/ui/switch/index.ts b/src/lib/components/ui/switch/index.ts new file mode 100644 index 0000000..f5533db --- /dev/null +++ b/src/lib/components/ui/switch/index.ts @@ -0,0 +1,7 @@ +import Root from "./switch.svelte"; + +export { + Root, + // + Root as Switch, +}; diff --git a/src/lib/components/ui/switch/switch.svelte b/src/lib/components/ui/switch/switch.svelte new file mode 100644 index 0000000..c6bcfd2 --- /dev/null +++ b/src/lib/components/ui/switch/switch.svelte @@ -0,0 +1,28 @@ + + + + + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index ab24b07..13c24d1 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -4,7 +4,7 @@
-