diff --git a/src/app.css b/src/app.css index 8524b77..68258d6 100644 --- a/src/app.css +++ b/src/app.css @@ -1,78 +1,86 @@ @tailwind base; @tailwind components; @tailwind utilities; - + @layer base { - :root { - --background: 0 0% 100%; - --foreground: 0 0% 3.9%; - - --muted: 0 0% 96.1%; - --muted-foreground: 0 0% 45.1%; - - --popover: 0 0% 100%; - --popover-foreground: 0 0% 3.9%; - - --card: 0 0% 100%; - --card-foreground: 0 0% 3.9%; - - --border: 0 0% 89.8%; - --input: 0 0% 89.8%; - - --primary: 0 0% 9%; - --primary-foreground: 0 0% 98%; - - --secondary: 0 0% 96.1%; - --secondary-foreground: 0 0% 9%; - - --accent: 0 0% 96.1%; - --accent-foreground: 0 0% 9%; - - --destructive: 0 72.2% 50.6%; - --destructive-foreground: 0 0% 98%; - - --ring: 0 0% 3.9%; - - --radius: 0.5rem; - } - - .dark { - --background: 0 0% 3.9%; - --foreground: 0 0% 98%; - - --muted: 0 0% 14.9%; - --muted-foreground: 0 0% 63.9%; - - --popover: 0 0% 3.9%; - --popover-foreground: 0 0% 98%; - - --card: 0 0% 3.9%; - --card-foreground: 0 0% 98%; - - --border: 0 0% 14.9%; - --input: 0 0% 14.9%; - - --primary: 0 0% 98%; - --primary-foreground: 0 0% 9%; - - --secondary: 0 0% 14.9%; - --secondary-foreground: 0 0% 98%; - - --accent: 0 0% 14.9%; - --accent-foreground: 0 0% 98%; - - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 0% 98%; - - --ring: 0 0% 83.1%; - } + :root { + --background: 0 0% 100%; + --foreground: 0 0% 3.9%; + + --muted: 0 0% 96.1%; + --muted-foreground: 0 0% 45.1%; + + --popover: 0 0% 100%; + --popover-foreground: 0 0% 3.9%; + + --card: 0 0% 100%; + --card-foreground: 0 0% 3.9%; + + --border: 0 0% 89.8%; + --input: 0 0% 89.8%; + + --primary: 0 0% 9%; + --primary-foreground: 0 0% 98%; + + --secondary: 0 0% 96.1%; + --secondary-foreground: 0 0% 9%; + + --accent: 0 0% 96.1%; + --accent-foreground: 0 0% 9%; + + --destructive: 0 72.2% 50.6%; + --destructive-foreground: 0 0% 98%; + + --ring: 0 0% 3.9%; + + --radius: 0.5rem; + } + + .dark { + --background: 0 0% 0%; + --foreground: 0 0% 98%; + + --muted: 0 0% 14.9%; + --muted-foreground: 0 0% 63.9%; + + --popover: 0 0% 3.9%; + --popover-foreground: 0 0% 98%; + + --card: 0 0% 3.9%; + --card-foreground: 0 0% 98%; + + --border: 0 0% 14.9%; + --input: 0 0% 14.9%; + + --primary: 0 0% 98%; + --primary-foreground: 0 0% 9%; + + --secondary: 0 0% 14.9%; + --secondary-foreground: 0 0% 98%; + + --accent: 0 0% 14.9%; + --accent-foreground: 0 0% 98%; + + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 0 0% 98%; + + --ring: 0 0% 83.1%; + } } - + @layer base { - * { - @apply border-border; - } - body { - @apply bg-background text-foreground; - } -} \ No newline at end of file + * { + @apply border-border; + } + body { + @apply bg-background text-foreground; + } + + .content { + @apply col-span-2 p-6 border-l border-neutral-900; + } + + .background { + @apply col-span-3; + } +} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 1931ce5..33e6fa5 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -6,6 +6,34 @@ -
- {@render children()} +
+ +
+ +
+ {@render children()} +
+
diff --git a/src/routes/login/+page.svelte b/src/routes/login/+page.svelte index 027b0ab..c889c86 100644 --- a/src/routes/login/+page.svelte +++ b/src/routes/login/+page.svelte @@ -2,7 +2,6 @@ import { goto } from '$app/navigation'; import { page } from '$app/state'; import { Button } from '$lib/components/ui/button/index.js'; - import * as Card from '$lib/components/ui/card/index.js'; import { Input } from '$lib/components/ui/input/index.js'; import { Label } from '$lib/components/ui/label/index.js'; @@ -40,33 +39,26 @@ }; - -
- - Login to Account - Please enter your credentials below to login. - You will be redirected to . - - - - {#if successMessage} -

{successMessage}

- {:else if errorMessage} -

{errorMessage}

- {/if} - - + +
+

Welcome back

+

Please login to your account to access the application

+
+ + {#if successMessage} +

{successMessage}

+ {:else if errorMessage} +

{errorMessage}

+ {/if} + + - - + + - -
- - - - -
-
+ + + + diff --git a/src/routes/register/+page.svelte b/src/routes/register/+page.svelte index 36c73ad..83e0739 100644 --- a/src/routes/register/+page.svelte +++ b/src/routes/register/+page.svelte @@ -50,35 +50,30 @@ } - -
- - Register Account - Please fill in the details below to create an account. - - - {#if successMessage} -

{successMessage}

- {:else if errorMessage} -

{errorMessage}

- {/if} - - + +
+

New here?

+

Please fill in the details below to create an account.

+
+ + {#if successMessage} +

{successMessage}

+ {:else if errorMessage} +

{errorMessage}

+ {/if} + + - - + + - - + + - - -
- - - - -
-
+ + + + + + +