diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.php index e530a0698..67f6c2115 100644 --- a/app/Livewire/Project/Application/General.php +++ b/app/Livewire/Project/Application/General.php @@ -251,7 +251,7 @@ class General extends Component if ($this->application->additional_servers->count() === 0) { foreach ($domains as $domain) { if (!validate_dns_entry($domain, $this->application->destination->server)) { - $showToaster && $this->dispatch('error', "Validating DNS ($domain) failed.", "Make sure you have added the DNS records correctly.

Check this documentation for further help."); + $showToaster && $this->dispatch('error', "Validating DNS ($domain) failed.", "Make sure you have added the DNS records correctly.

Check this documentation for further help."); } } } diff --git a/package-lock.json b/package-lock.json index cc9889a18..011955424 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,6 @@ "@tailwindcss/forms": "^0.5.7", "@tailwindcss/typography": "0.5.10", "alpinejs": "3.13.5", - "daisyui": "4.7.2", "ioredis": "5.3.2", "tailwindcss-scrollbar": "0.1.0" }, @@ -16,6 +15,7 @@ "@vitejs/plugin-vue": "4.5.1", "autoprefixer": "10.4.18", "axios": "1.6.7", + "daisyui": "^4.7.3", "laravel-echo": "1.16.0", "laravel-vite-plugin": "0.8.1", "postcss": "8.4.35", @@ -934,6 +934,7 @@ "version": "0.8.0", "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.8.0.tgz", "integrity": "sha512-Jd6Ig3/pe62/qe5SBPTN8h8LeUg/pT4lLgtavPf7updwwHpvFzxvOQBHYj2LZDMjUnBzgvIUSjRcf6oT5HzHFg==", + "dev": true, "dependencies": { "cssesc": "^3.0.0", "fastparse": "^1.1.2" @@ -960,14 +961,16 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/culori/-/culori-3.2.0.tgz", "integrity": "sha512-HIEbTSP7vs1mPq/2P9In6QyFE0Tkpevh0k9a+FkjhD+cwsYm9WRSbn4uMdW9O0yXlNYC3ppxL3gWWPOcvEl57w==", + "dev": true, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/daisyui": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-4.7.2.tgz", - "integrity": "sha512-9UCss12Zmyk/22u+JbkVrHHxOzFOyY17HuqP5LeswI4hclbj6qbjJTovdj2zRy8cCH6/n6Wh0lTLjriGnyGh0g==", + "version": "4.7.3", + "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-4.7.3.tgz", + "integrity": "sha512-R8jUpBMAUm4rSyxzGa9QqFdJTkzREtb1QahXdDoOfElGiF4VbSuu5bfqQoOro1kkSagPy+aTKu5WtSSXmH3u3g==", + "dev": true, "dependencies": { "css-selector-tokenizer": "^0.8", "culori": "^3", @@ -1124,7 +1127,8 @@ "node_modules/fastparse": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", - "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" + "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==", + "dev": true }, "node_modules/fastq": { "version": "1.15.0", diff --git a/package.json b/package.json index 69c5c560a..2ca3fa590 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "@tailwindcss/forms": "^0.5.7", "@tailwindcss/typography": "0.5.10", "alpinejs": "3.13.5", - "daisyui": "4.7.2", "ioredis": "5.3.2", "tailwindcss-scrollbar": "0.1.0" } diff --git a/resources/css/app.css b/resources/css/app.css index e9737dced..7d7659a8a 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -4,7 +4,7 @@ html, body { - @apply bg-white text-neutral-600 dark:bg-base dark:text-neutral-400; + @apply bg-neutral-100 text-neutral-800 dark:bg-base dark:text-neutral-400; } body { @@ -28,14 +28,14 @@ body { } option { - @apply text-white dark:bg-coolgray-100; + @apply dark:text-white dark:bg-coolgray-100; } .button { - @apply flex items-center justify-center px-3 py-1 text-sm font-normal normal-case rounded bg-neutral-200 hover:bg-neutral-300 dark:bg-coolgray-200 dark:text-white dark:hover:bg-coolgray-100 hover:text-black dark:hover:text-white dark:disabled:bg-coolgray-100/40 dark:disabled:text-neutral-800 min-w-fit; + @apply flex items-center justify-center gap-2 px-3 py-1 text-sm font-normal normal-case rounded cursor-pointer bg-neutral-200 hover:bg-neutral-300 dark:bg-coolgray-200 dark:text-white dark:hover:bg-coolgray-100 dark:hover:dark:text-white dark:disabled:bg-coolgray-100/40 dark:disabled:text-neutral-800 min-w-fit hover:dark:text-white ; } button[isError]:not(:disabled) { - @apply bg-red-600 hover:bg-red-700; + @apply text-white bg-red-600 hover:bg-red-700; } button[isHighlighted]:not(:disabled) { @@ -44,19 +44,19 @@ button[isHighlighted]:not(:disabled) { h1 { - @apply text-2xl font-bold dark:text-white text-neutral-800; + @apply text-2xl font-bold dark:text-white; } h2 { - @apply text-xl font-bold dark:text-white text-neutral-800; + @apply text-xl font-bold dark:text-white; } h3 { - @apply text-lg font-bold dark:text-white text-neutral-800; + @apply text-lg font-bold dark:text-white; } h4 { - @apply text-base font-bold dark:text-white text-neutral-800; + @apply text-base font-bold dark:text-white; } a { @@ -64,11 +64,11 @@ a { } label { - @apply dark:text-neutral-400 text-neutral-600; + @apply dark:text-neutral-400; } table { - @apply min-w-full divide-y divide-coolgray-200; + @apply min-w-full divide-y dark:divide-coolgray-200 divide-neutral-300; } thead { @@ -76,7 +76,7 @@ thead { } tbody { - @apply divide-y divide-coolgray-200; + @apply divide-y dark:divide-coolgray-200 divide-neutral-300; } tr { @@ -112,7 +112,7 @@ tr td:first-child { } .badge { - @apply inline-block w-3 h-3 text-xs font-bold leading-none border border-black rounded-full; + @apply inline-block w-3 h-3 text-xs font-bold leading-none border rounded-full border-neutral-200 dark:border-black; } .badge-success { @@ -142,11 +142,13 @@ tr td:first-child { .menu-item-active { @apply text-black rounded-none dark:bg-coolgray-200 dark:text-warning bg-neutral-200; } - -.icon { - @apply w-6 h-6 hover:text-white; +.heading-item-active { + @apply text-black rounded-none dark:bg-coolgray-200 dark:text-warning; } +.icon { + @apply w-6 h-6 dark:hover:text-white; +} .scrollbar { @@ -162,7 +164,7 @@ tr td:first-child { } .navbar-main { - @apply flex items-center h-10 gap-6 pb-2 border-b-2 border-solid border-coolgray-200; + @apply flex items-center h-10 gap-6 pb-2 border-b-2 border-solid dark:border-coolgray-200; } .loading { @@ -174,7 +176,7 @@ tr td:first-child { } .box { - @apply flex p-2 transition-colors cursor-pointer min-h-[4rem] dark:bg-coolgray-100 bg-neutral-100 hover:bg-neutral-200 dark:hover:bg-coollabs-100 dark:hover:text-white hover:no-underline; + @apply flex p-2 transition-colors cursor-pointer min-h-[4rem] dark:bg-coolgray-100 bg-white border border-neutral-200 dark:border-black hover:bg-neutral-200 dark:hover:bg-coollabs-100 dark:hover:text-white hover:no-underline; } .on-box { @@ -230,13 +232,13 @@ tr td:first-child { } .text-helper { - @apply inline-block font-bold text-coollabs dark:text-warning; + @apply inline-block font-bold text-red-500 dark:text-warning; } .info-helper { @apply cursor-pointer text-coollabs dark:text-warning; } .info-helper-popup { - @apply absolute z-40 hidden text-xs rounded text-neutral-700 group-hover:block dark:border-coolgray-500 border-neutral-900 dark:bg-coolgray-400 bg-neutral-100 dark:text-neutral-300; + @apply absolute z-40 hidden text-xs rounded text-neutral-700 group-hover:block dark:border-coolgray-500 border-neutral-900 dark:bg-coolgray-400 bg-neutral-200 dark:text-neutral-300; } .buyme { diff --git a/resources/js/components/MagicBar.vue b/resources/js/components/MagicBar.vue index 7fe770279..5a6ca8016 100644 --- a/resources/js/components/MagicBar.vue +++ b/resources/js/components/MagicBar.vue @@ -27,7 +27,7 @@ @@ -39,7 +39,7 @@ class="mt-4 mb-2 text-xs font-semibold text-neutral-500">{{ possibleSequences[sequenceState.sequence[sequenceState.currentActionIndex]].newTitle }} -