mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
web/elements/ak-dual-select: fix inverted pagination arrow colors in dark theme (#22608)
The dark theme overrides in ak-pagination assigned the disabled color variable to the active button and the active color variable to the overridden disabled-color custom property. As a result, the active arrow appeared muted and the disabled arrow appeared highlighted on the first and last pages of paginated lists. Swap the two values so the active arrow uses the m-plain color and the disabled custom property keeps the m-plain disabled color. Closes #22607 Co-authored-by: nicedevil007 <nicedevil007@users.noreply.github.com>
This commit is contained in:
@@ -18,8 +18,8 @@ export class AkPagination extends CustomEmitterElement<DualSelectEventType>(AKEl
|
||||
css`
|
||||
:host([theme="dark"]) {
|
||||
.pf-c-pagination__nav-control .pf-c-button {
|
||||
color: var(--pf-c-button--m-plain--disabled--Color);
|
||||
--pf-c-button--disabled--Color: var(--pf-c-button--m-plain--Color);
|
||||
color: var(--pf-c-button--m-plain--Color);
|
||||
--pf-c-button--disabled--Color: var(--pf-c-button--m-plain--disabled--Color);
|
||||
}
|
||||
|
||||
.pf-c-pagination__nav-control .pf-c-button:disabled {
|
||||
|
||||
Reference in New Issue
Block a user