mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-12 15:53:46 -04:00
fix(ui): keep warning callouts yellow in custom themes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
79dabc1972
commit
ab4964ea85
@@ -0,0 +1,4 @@
|
||||
---
|
||||
type: fixed
|
||||
---
|
||||
Showed warning callouts in the accent color instead of yellow when a custom theme is active
|
||||
@@ -10,10 +10,11 @@
|
||||
$styles = [
|
||||
'warning' => [
|
||||
'icon' => 'alert-triangle',
|
||||
'shell' => 'border-warning/25 bg-warning/[0.07] dark:border-warning/20 dark:bg-warning/[0.06]',
|
||||
'iconClass' => 'text-warning-700 dark:text-warning',
|
||||
'titleClass' => 'text-warning-900 dark:text-warning',
|
||||
'textClass' => 'text-warning-900/75 dark:text-warning/70',
|
||||
// Numbered warning shades: the custom theme maps the plain warning color to its accent.
|
||||
'shell' => 'border-warning-700/25 bg-warning-700/[0.07] dark:border-warning-400/20 dark:bg-warning-400/[0.06]',
|
||||
'iconClass' => 'text-warning-700 dark:text-warning-400',
|
||||
'titleClass' => 'text-warning-900 dark:text-warning-400',
|
||||
'textClass' => 'text-warning-900/75 dark:text-warning-400/70',
|
||||
],
|
||||
'danger' => [
|
||||
'icon' => 'alert-circle',
|
||||
|
||||
Reference in New Issue
Block a user