From a9829440239a48a4be6e9d6aa635d8eb958a04c2 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 9 Nov 2026 11:21:28 +0100 Subject: [PATCH] fix(ui): make banners readable in light mode The shared banner had a dark background and no text colour, so the subscription and server limit banners were unreadable in light mode. Use a light surface with dark text in light mode and keep the dark look. Refs #12494 Co-Authored-By: Claude Opus 5.5 --- ...able-subscription-and-server-limit-banners.md | 6 ++++++ resources/views/components/banner.blade.php | 4 ++-- resources/views/livewire/layout-popups.blade.php | 16 ++++++++-------- 3 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 .changes/unreadable-subscription-and-server-limit-banners.md diff --git a/.changes/unreadable-subscription-and-server-limit-banners.md b/.changes/unreadable-subscription-and-server-limit-banners.md new file mode 100644 index 0000000000..75f6acfd30 --- /dev/null +++ b/.changes/unreadable-subscription-and-server-limit-banners.md @@ -0,0 +1,6 @@ +--- +type: fixed +--- +Unreadable subscription and server limit banners in light mode ([#12494](https://github.com/coollabsio/coolify/issues/12494)) + +- The banners now use a light background with dark text in light mode diff --git a/resources/views/components/banner.blade.php b/resources/views/components/banner.blade.php index 795c15f2bc..76a856a22d 100644 --- a/resources/views/components/banner.blade.php +++ b/resources/views/components/banner.blade.php @@ -6,12 +6,12 @@ x-transition:enter-start="-translate-y-10" x-transition:enter-end="translate-y-0" x-transition:leave="transition ease-in duration-100" x-transition:leave-start="translate-y-0" x-transition:leave-end="-translate-y-10" x-init="setTimeout(() => { bannerVisible = true }, bannerVisibleAfter);" - class="relative z-999 w-full py-2 mx-auto duration-100 ease-out shadow-xs bg-coolgray-100 sm:py-0 sm:h-14" x-cloak> + class="relative z-999 w-full py-2 mx-auto duration-100 ease-out shadow-xs border-b border-neutral-200 bg-white text-neutral-700 dark:border-white/[0.06] dark:bg-coolgray-100 dark:text-neutral-200 sm:py-0 sm:h-14" x-cloak>
{{ $slot }} @if ($closable)
@@ -220,11 +220,11 @@ @endif @if (currentTeam()->subscriptionPastOverDue()) -
WARNING: Your subscription is in over-due. If your +
WARNING: Your subscription is in over-due. If your latest - payment is not paid within a week, all automations will + payment is not paid within a week, all automations will be deactivated. Visit /subscription to check your subscription status or pay + class="underline font-medium text-black dark:text-white">/subscription to check your subscription status or pay your invoice (or check your email for the invoice).
@@ -232,10 +232,10 @@ @endif @if (currentTeam()->serverOverflow()) -
WARNING: The number of active servers exceeds the limit - covered by your payment. If not resolved, some of your servers will +
WARNING: The number of active servers exceeds the limit + covered by your payment. If not resolved, some of your servers will be deactivated. Visit /subscription to update your subscription or remove some + class="underline font-medium text-black dark:text-white">/subscription to update your subscription or remove some servers.