Repository navigation
web/elements/ak-dual-select: fix inverted pagination arrow colors in dark theme - #22608
Merged
GirlBossRush merged 1 commit intoJun 8, 2026
Merged
Conversation
…dark theme 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 goauthentik#22607
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #22608 +/- ##
==========================================
- Coverage 93.29% 93.25% -0.05%
==========================================
Files 1033 1033
Lines 60091 60091
Branches 400 400
==========================================
- Hits 56063 56036 -27
- Misses 4028 4055 +27
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
GirlBossRush
approved these changes
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
The dark-theme overrides in
ak-pagination(used by everyak-dual-selectpagination control) assigned the disabled color variable to the active button and the active color variable to the overridden disabled-color custom property. As a result, on the first and last pages of paginated lists the active arrow appeared muted while the disabled arrow appeared highlighted — the opposite of the intended PatternFly behavior and of the light theme.This PR swaps the two values so the active arrow uses
--pf-c-button--m-plain--Colorand the disabled custom property keeps--pf-c-button--m-plain--disabled--Color. The structural override is preserved; only the values are corrected.Closes #22607
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen)If changes to the frontend have been made
make web)If applicable
make docs)