Introduce theme accent custom property
What does this MR do and why?
- Introduces theme accent custom property
- Removes a broken selector/rule
- Replaces some theme-specific styles out in favour of using the new custom property (so far only affects deprecated tabs using
.nav-links
, and the emoji picker)
Addresses #350557 (closed).
Screenshots or screen recordings
These screenshots are taken with the Light Red navigation theme applied, and also Dark Mode.
What | Before | After |
---|---|---|
(Deprecated) .nav-links tabsNO VISUAL CHANGE |
||
Emoji picker NO VISUAL CHANGE |
How to set up and validate locally
Deprecated tabs
Usage of the .nav-links
class is deprecated, but you can find existing usages by looking at the issues within &3983, or by searching the codebase for nav-links
.
- Visit a page with
.nav-links
-styled tabs; at the time of writing, the merge request page itself is one example!
Emoji picker
- Visit any issue or merge request with comments, and open a comment's emoji picker.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mark Florian