Steps to replicate the issue (include links if applicable):
- Navigate to https://test.wikipedia.org/wiki/Main_Page
- Turn on the dark mode (optional, makes it more evident)
What happens?:
The link foreground is #0645ad (the pre-July 2022 color for links).
What should have happened instead?:
The link should be of color color-progressive (i.e. adaptive to dark mode, #36c or #88a3e8, depending on the theme).
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
This is a regression after T373989: Link-based buttons get a border radius even when unwanted (update Vector's anchor selector to match Minerva's)
Requirement
The "dismiss" link in DismissableSiteNotice should follow the current color-progressive token for proper theming across light and dark modes.
BDD
Feature: Adaptive link color in DismissableSiteNotice Scenario: Dismiss link uses old link color Given I visit https://test.wikipedia.org/wiki/Main_Page When I view the dismissable site notice Then the "dismiss" link should have the color defined by `color-progressive` and adapt to the current theme
Test Steps
Test Case 1: Dismiss link uses adaptive color
- Visit https://test.wikipedia.org/wiki/Main_Page
- Observe the "dismiss" link in the DismissableSiteNotice
- Switch between light and dark mode
- AC1: The dismiss link should use color-progressive and adapt accordingly (e.g. #36c in light mode, #88a3e8 in dark mode)
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T378872#10910605 |






