Skip to content

web/elements/ak-dual-select: fix inverted pagination arrow colors in dark theme - #22608

Merged
GirlBossRush merged 1 commit into
goauthentik:mainfrom
nicedevil007:fix-pagination-dark-theme
Jun 8, 2026
Merged

GirlBossRush merged 1 commit into
goauthentik:mainfrom
nicedevil007:fix-pagination-dark-theme

Conversation

@nicedevil007

@nicedevil007 nicedevil007 commented May 24, 2026 •

Copy link
Copy Markdown
Contributor

Details

The dark-theme overrides in ak-pagination (used by every ak-dual-select pagination 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--Color and 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

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema and clients have been updated (make gen)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

…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
@nicedevil007
nicedevil007 requested a review from a team as a code owner May 24, 2026 22:03
@netlify

netlify Bot commented May 24, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 39bfc56
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a1375ade163d4000861c289
😎 Deploy Preview https://deploy-preview-22608--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented May 24, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 39bfc56
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a1375ad0b9bf400089030ab
😎 Deploy Preview https://deploy-preview-22608--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented May 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.25%. Comparing base (8c40db3) to head (39bfc56).

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     
Flag Coverage Δ
conformance 36.59% <ø> (+<0.01%) ⬆️
e2e 41.84% <ø> (-0.03%) ⬇️
integration 32.54% <ø> (-0.49%) ⬇️
rust 0.00% <ø> (ø)
unit 92.22% <ø> (+<0.01%) ⬆️
unit-migrate 92.27% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GirlBossRush
GirlBossRush merged commit 3e0d1dd into goauthentik:main Jun 8, 2026
105 checks passed
@nicedevil007
nicedevil007 deleted the fix-pagination-dark-theme branch June 8, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

web/admin: Pagination arrow buttons in ak-dual-select show inverted enabled/disabled colors in dark theme

2 participants