Skip to content

A self-hosted media server and file management system

feat(theme): apply theme to auth pages

aminnausin8a35d8636231
diff --git a/resources/js/components/cards/AuthCard.vue b/resources/js/components/cards/AuthCard.vue
index cf94ff4e..4a660f43 100644
--- a/resources/js/components/cards/AuthCard.vue
+++ b/resources/js/components/cards/AuthCard.vue
@@ -1,5 +1,5 @@
<template>
- <div class="flex flex-col gap-4 w-full sm:max-w-md p-6 bg-white dark:bg-neutral-800 sm:shadow-md overflow-hidden sm:rounded-lg">
+ <div class="bg-surface-2 flex w-full flex-col gap-4 overflow-hidden p-6 sm:max-w-md sm:rounded-lg sm:shadow-md">
<slot></slot>
</div>
</template>
diff --git a/resources/js/components/headers/AuthHeader.vue b/resources/js/components/headers/AuthHeader.vue
index 7caa98c7..64881c0f 100644
--- a/resources/js/components/headers/AuthHeader.vue
+++ b/resources/js/components/headers/AuthHeader.vue
@@ -1,8 +1,8 @@
<template>
- <div class="flex items-center pt-8 px-6 text-center sm:justify-start sm:pt-0 flex-col gap-1">
+ <div class="flex flex-col items-center gap-1 px-6 pt-8 text-center sm:justify-start sm:pt-0">
<h1 class="px-4 text-2xl tracking-wider">Media Server</h1>
<slot name="subtext">
- <p class="text-neutral-500 dark:text-neutral-400 max-w-60 sm:max-w-none">
+ <p class="text-foreground-2 max-w-60 sm:max-w-none">
<slot> </slot>
</p>
</slot>
diff --git a/resources/js/components/headers/SidebarHeader.vue b/resources/js/components/headers/SidebarHeader.vue
index 56bc64d6..4de7b197 100644
--- a/resources/js/components/headers/SidebarHeader.vue
+++ b/resources/js/components/headers/SidebarHeader.vue
@@ -8,7 +8,7 @@ const { selectedSideBar } = storeToRefs(useAppStore());
<template>
<div class="flex flex-col gap-2 py-1">
<div class="flex items-center justify-between">
- <h2 id="sidebar-title" class="h-8 w-full truncate text-2xl capitalize dark:text-white">
+ <h2 id="sidebar-title" class="h-8 w-full truncate text-2xl capitalize">
<slot name="title">{{ selectedSideBar }}</slot>
</h2>
<slot></slot>
diff --git a/resources/js/layouts/LayoutAuth.vue b/resources/js/layouts/LayoutAuth.vue
index 12844422..655b95e9 100755
--- a/resources/js/layouts/LayoutAuth.vue
+++ b/resources/js/layouts/LayoutAuth.vue
@@ -1,7 +1,5 @@
<template>
- <main
- class="text-sm min-h-screen flex flex-col sm:gap-6 sm:justify-center items-center pt-6 sm:pt-0 m-auto bg-white dark:bg-neutral-800 sm:bg-gray-100 sm:dark:bg-[#121216] dark:text-[#e2e0e2]"
- >
+ <main class="sm:bg-surface-0 bg-surface-2 m-auto flex min-h-screen flex-col items-center pt-6 text-sm sm:justify-center sm:gap-6 sm:pt-0">
<slot></slot>
</main>
</template>