GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [BootstrapAdminUi] Fix ghost secondary buttons hover in dark mode by camilleislasse · Pull Request #406 · Sylius/Stack

Conversation

@camilleislasse

@camilleislasse camilleislasse commented Nov 12, 2026

Copy link
Copy Markdown
Member
Q A
Branch? main
Bug fix? yes
New feature? no
BC breaks? no
License MIT

In dark mode, hovering a .btn-ghost-secondary turns it into a light grey pill with a near-white icon, which makes the icon disappear. It affects the theme switcher, the pagination dropdown toggle and the copy-to-clipboard buttons.

Tabler resolves --tblr-secondary-fg at build time from the light theme $secondary, then remaps --tblr-secondary to a light grey in dark mode without recomputing it. The hover now uses --tblr-active-bg instead, the same surface as .btn-action:hover, so the button stays a ghost.

Contrast on hover goes from 1.43:1 to 8.97:1 in dark mode, and from 1.99:1 to 14.22:1 in light mode. Nothing changes at rest.

public/ assets were rebuilt with yarn build.

Dark Light
Ghost secondary button states in dark mode Ghost secondary button states in light mode

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@camilleislasse
[BootstrapAdminUi] Fix ghost secondary buttons hover in dark mode
9b6dbc8
@camilleislasse
camilleislasse requested a review from loic425 November 12, 2026 11:35
loic425
loic425 approved these changes Nov 12, 2026
View reviewed changes
@loic425
loic425 merged commit 01680b3 into Sylius:main Nov 12, 2026
5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@camilleislasse camilleislasse mentioned this pull request Nov 12, 2026
[AdminBundle] Fix ghost secondary buttons hover in dark mode Sylius/Sylius#19335
Merged
TheMilek added a commit to Sylius/Sylius that referenced this pull request Nov 12, 2026
@TheMilek
[AdminBundle] Fix ghost secondary buttons hover in dark mode (#19335)
3a74cf2
| Q               | A
|-----------------|-----
| Branch?         | 2.3
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | same fix as Sylius/Stack#406
| License         | MIT

## Description

In dark mode, hovering a `.btn-ghost-secondary` turns it into a light
grey pill with a near-white icon, which makes the icon disappear. It
affects the theme switcher and the pagination dropdown toggle.

Tabler resolves `--tblr-secondary-fg` at build time from the light theme
`$secondary`, then remaps `--tblr-secondary` to a light grey in dark
mode without recomputing it. The hover now uses `--tblr-active-bg`
instead, the same surface as `.btn-action:hover`, so the button stays a
ghost.

Contrast on hover goes from 1.43:1 to 8.97:1 in dark mode, and from
1.99:1 to 14.86:1 in light mode. Nothing changes at rest.

| Dark | Light |
|------|-------|
| <img width="400" alt="Ghost secondary button states in dark mode"
src="https://github.com/user-attachments/assets/5c05139d-98c6-4a44-afcf-28be336f1b3d"
/> | <img width="400" alt="Ghost secondary button states in light mode"
src="https://github.com/user-attachments/assets/b5775700-2b16-48d2-9cae-bb82268ca1b1"
/> |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@loic425 loic425 loic425 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@camilleislasse @loic425
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.