diff --git a/README.md b/README.md index a1ed1cf..5e460dc 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ docker compose exec laravel.test php artisan migrate --seed ``` > **預設管理員帳號**: -> - Email: `admin@star-cloud.com` +> - Email: `admin` > - Password: `password` **4.4 安裝前端依賴** diff --git a/package-lock.json b/package-lock.json index e172f71..d24ef8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "axios": "^1.6.4", "laravel-vite-plugin": "^1.0.0", "postcss": "^8.4.31", - "preline": "^3.2.0", + "preline": "^3.2.3", "tailwindcss": "^3.1.0", "vite": "^5.0.0" } diff --git a/package.json b/package.json index f9add43..cbb3d8e 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "axios": "^1.6.4", "laravel-vite-plugin": "^1.0.0", "postcss": "^8.4.31", - "preline": "^3.2.0", + "preline": "^3.2.3", "tailwindcss": "^3.1.0", "vite": "^5.0.0" } -} \ No newline at end of file +} diff --git a/resources/views/admin/app-configs/index.blade.php b/resources/views/admin/app-configs/index.blade.php index 925aec7..e620100 100644 --- a/resources/views/admin/app-configs/index.blade.php +++ b/resources/views/admin/app-configs/index.blade.php @@ -2,17 +2,10 @@ @section('content') @php - $theme = request()->cookie('theme', 'dark-blue'); - $isLight = in_array($theme, ['light-blue', 'light-green']); - $cardBg = $isLight ? 'bg-white' : 'bg-gray-800'; - $textPrimary = $isLight ? 'text-gray-900' : 'text-gray-200'; - $textSecondary = $isLight ? 'text-gray-600' : 'text-gray-400'; - $borderColor = $isLight ? 'border-gray-200' : 'border-gray-700'; - $inputBg = $isLight ? 'bg-gray-50 border-gray-300' : 'bg-gray-700 border-gray-600'; $inputText = $isLight ? 'text-gray-900' : 'text-gray-300'; @endphp