diff --git a/database/migrations/2024_01_22_205110_add_theme_settings.php b/database/migrations/2024_01_22_205110_add_theme_settings.php new file mode 100644 index 00000000..d7232d04 --- /dev/null +++ b/database/migrations/2024_01_22_205110_add_theme_settings.php @@ -0,0 +1,17 @@ + $this->migrator->add('theme.accent', 'cachet')); + rescue(fn () => $this->migrator->add('theme.accent_content', 'zinc')); + rescue(fn () => $this->migrator->add('theme.accent_pairing', true)); + } +}; diff --git a/resources/css/cachet.css b/resources/css/cachet.css index 55247e28..ca5e5fd3 100644 --- a/resources/css/cachet.css +++ b/resources/css/cachet.css @@ -16,7 +16,7 @@ } .button--secondary { - @apply bg-zinc-300 text-zinc-800 hover:bg-zinc-400 focus-visible:outline-zinc-300 focus-visible:outline-zinc-800 dark:bg-zinc-800 dark:text-zinc-400 dark:hover:bg-zinc-700; + @apply bg-zinc-300 text-zinc-800 hover:bg-zinc-400 focus-visible:outline-zinc-300 focus-visible:outline-zinc-800 dark:bg-white/5 dark:text-zinc-400 dark:hover:bg-zinc-700; } } diff --git a/resources/css/dashboard/theme.css b/resources/css/dashboard/theme.css index c3a62491..0147dc45 100644 --- a/resources/css/dashboard/theme.css +++ b/resources/css/dashboard/theme.css @@ -1,3 +1,7 @@ @import '/vendor/filament/filament/resources/css/theme.css'; @config 'tailwind.config.js'; + +.theme-swatch { + @apply inline-flex w-4 h-4 rounded-full mr-2 bg-[rgb(var(--swatch))]; +} diff --git a/resources/views/components/about.blade.php b/resources/views/components/about.blade.php index edac2170..fbe5ddad 100644 --- a/resources/views/components/about.blade.php +++ b/resources/views/components/about.blade.php @@ -1,7 +1,7 @@ @if ($about !== '')