mediawiki-skins-Vector/resources
Roan Kattouw 17a3f91c9f Import Codex tokens into mediawiki.skin.variables.less
I04f9e48a1cf9dee915cf51e1e12b17ff0a595a06 provides neutral values for
the Codex tokens in mediawiki.skin.defaults.less in MW core, and expects
skins to import the appropriate Codex themes in their
mediawiki.skin.variables.less.

For both legacy Vector and Vector 2022, import the Codex tokens for the
wikimedia-ui-legacy theme. We need to use the legacy theme because
Vector and Vector 2022 have a base font size of 14px; the non-legacy
theme assumes a base font size of 16px.

Remove some variable assignments that are now redundant, because their
values are the same as the Codex tokens we're importing.

After importing the Codex tokens, override some of their values where
necessary so that all variables' values stay the same(*). We should
consider whether to remove some of these overrides in a follow-up patch,
but keeping everything the same for now makes this change less
disruptive.

(*) As in the core change, one variable's value does change:
- @max-width-breakpoint-tablet from calc(719px) to 719px
but this change has no visual impact.

Bug: T325237
Depends-On: I3a8c89d8558022077be1f32c6a6f4733b6302948
Change-Id: I3c5c8f9fc4b1841f8f8bdbcf27de82291d1fabbd
2023-03-15 21:15:01 +00:00
..
common styles: Don't include the "jump to" links when copy-pasting article text 2023-03-14 05:24:19 -07:00
mediawiki.less Import Codex tokens into mediawiki.skin.variables.less 2023-03-15 21:15:01 +00:00
skins.vector.es6 Ensure the TOC works across all pinned/unpinned cases when JS is disabled 2023-03-13 23:48:18 +00:00
skins.vector.js Register sticky header dropdown as icon capable 2023-03-03 17:09:41 +00:00
skins.vector.legacy.js Update @wikimedia/types-wikimedia to latest version 2022-03-28 23:33:50 +00:00
skins.vector.search search: Undo v-i18n-html workaround 2023-01-30 23:54:51 +00:00
skins.vector.styles Merge "Ensure the TOC works across all pinned/unpinned cases when JS is disabled" 2023-03-14 19:45:36 +00:00
skins.vector.styles.legacy styles: Remove outdated fallback width 2023-03-14 05:19:09 -07:00
CheckboxHack.d.ts
CollapsibleTabsPlugin.d.ts
MediaWikiPageReady.d.ts
mw.d.ts
VectorResourceLoaderVirtualConfig.d.ts Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl 2022-10-07 00:57:58 +00:00
vue.d.ts