Skip to content

Configurable-Module wrong colors in DarkMode for some ->themeColor settings #2154

@horst-n

Description

@horst-n

Using the new Admin-Theme-Uikit,

when assigning ->themeColor like ''warning" or "highlight" to fields or fieldsets, in LightMode it behaves as expected, (known from the past). In DarkMode it glitches. I have a few screenshots that best can show what I mean:

LightMode, (renders as expected):

Image

DarkMode, (renders with unreadable text-colors and not nice background colors):

Image

Image

`
$fieldset->themeColor = 'primary';
$fieldset->themeColor = 'secondary';
$fieldset->themeColor = 'warning'; <--
$fieldset->themeColor = 'highlight'; <--

`
Discovered with PW 3.0.252

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions