mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts
Jan Drewniak 59fd0cd5dc Convert all color related Less variables to CSS custom properties
All colors used in Minerva are converted from Less variables
into CSS custom properties. A new file called CSSCustomProperties.less
is created in the skins.minerva.base.styles module to store
these custom properties and an ADR is provided on the rationale for
dropping support for browsers that don't support custom properties.

The new CSS custom properties follow Codex design token conventions
where possible (and noted when not).

Link colors are unique because their styles are defined in core,
so in that case the Less variables values are set to custom properties.
Those values are then fed back into MediaWiki core for core link
styling.

Also adds a temporary night-mode color palette under the
.skin-nightmode-1 class on the <html> element.

Bug: T356074
Change-Id: Ida1f14138f12bd3c600c264bde7b5100f9dbf4ff
2024-02-02 17:57:27 +00:00
..
page-issues Convert all color related Less variables to CSS custom properties 2024-02-02 17:57:27 +00:00
AB.js Udate jsdoc and use jsdoc-wmf-theme 2023-10-20 13:42:19 +00:00
addPortletLink.js build: Update linters 2024-01-24 22:02:12 +00:00
ctaDrawers.js build: Update linters 2024-01-24 22:02:12 +00:00
downloadPageAction.js build: Update linters 2024-01-24 22:02:12 +00:00
drawers.js build: Update eslint-config-wikimedia to 0.16.0 2020-06-04 08:39:32 -07:00
initMobile.js build: Update linters 2024-01-24 22:02:12 +00:00
menu.js Simplify menu code 2019-12-19 12:14:13 -08:00
mobileRedirect.js Revert "Add metric platfrom event tracking on mobile desktop toggle" 2023-08-07 16:41:49 +00:00
preInit.js build: Update linters 2024-01-24 22:02:12 +00:00
references.js build: Update linters 2024-01-24 22:02:12 +00:00
search.js Drop mw.mobileFrontend references 2023-11-10 01:30:52 +00:00
searchSuggestReveal.js Make MobileFrontend dependency a soft one 2020-01-17 14:02:23 -08:00
setup.js Apply content styles to mw teleport target 2023-09-28 11:29:30 +02:00
styles.less Convert all color related Less variables to CSS custom properties 2024-02-02 17:57:27 +00:00
TabScroll.js Udate jsdoc and use jsdoc-wmf-theme 2023-10-20 13:42:19 +00:00
TitleUtil.js mediawiki.RegExp (deprecated) -> mediawiki.util 2019-09-09 18:10:35 +00:00
toc.less Fix toc arrow icon being too big 2023-08-03 18:43:41 +00:00
Toolbar.js Fixes read only mode. 2023-10-31 00:41:29 +00:00
Toolbar.less Convert all color related Less variables to CSS custom properties 2024-02-02 17:57:27 +00:00
UriUtil.js Special handling for hash fragments we cannot decoded 2020-10-20 12:26:54 -07:00
watchstar.js build: Update linters 2024-01-24 22:02:12 +00:00
watchStar.less Remove old :before icon selectors and update selectors to not use minerva and wikimedia prefixes 2023-09-06 13:53:22 -05:00