Commit graph

17 commits

Author SHA1 Message Date
alistair3149 c88df2d194
feat(tokens): deprecate old font-weight-semibold variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:34:41 -04:00
alistair3149 90862b193e
feat(tokens): deprecate old line height variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:33:46 -04:00
alistair3149 c1370e95f0
feat(core): update box-shadow CSS variables
* Tokenize shadow vertical distance
* Rename CSS variables to match Codex counterpart
* Reduce the vertical distance for all box shadow
2024-07-24 21:53:51 -04:00
alistair3149 00b2495c1a
feat(core): use px for border-radius
- Move border radius calculation to CSS variable instead of LESS
- Rename CSS variable according to Codex, soft-deprecating the existing border radius
2024-07-05 13:24:31 -04:00
alistair3149 ff0a6ed710
feat(core): clean up state colors 2024-07-01 00:04:36 -04:00
alistair3149 0fdc7c4ad7
feat(core): convert some CSS variables into Codex equivalent part 2
Also fix various inconsistencies with quiet buttons
2024-06-30 20:41:31 -04:00
alistair3149 5d3ecd9edd
feat(core): convert some CSS variables into Codex equivalent
This is an on-going work to adapt Codex into Citizen.
Some of the CSS variables are soft depreciated, see tokens.less for updated info.
2024-06-30 01:04:30 -04:00
alistair3149 86ef5ef06d
feat(cssVar): add --color-inverted-primary for text color above primary color 2024-06-10 19:47:49 -04:00
alistair3149 3d146b2374
refactor(cssVar): ♻️ introduce color-inverted 2024-06-05 18:54:54 -04:00
alistair3149 fc47692421
feat(core): rename border-color variables and increase contrast
Align variable names with Codex
2024-04-19 15:20:59 -04:00
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
github-actions 2b1445ae11 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-03-29 00:43:03 +00:00
Roan Kattouw 6b8ff22383
fix(codex): update button classes for type->weight change (#606)
* fix(codex): Update button classes for type->weight change

In Codex v0.7.0, the CSS class used for primary buttons changed from
cdx-button--type-primary to cdx-button--weight-primary, type-normal
changed weight-normal, and type-quiet changed to weight-quiet. Update
codex.styles.less accordingly.

See https://phabricator.wikimedia.org/T312987 for more details.

* fix(codex): keep --type for 1.39 compatibility

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-03-28 20:41:55 -04:00
github-actions 9e15415835 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-28 21:59:36 +00:00
alistair3149 7ea2955312
refactor(codex): remove unused file 2023-01-07 13:47:54 -05:00
alistair3149 653ba19130
feat(core): align inconsistent search styles 2022-12-12 20:11:48 -05:00
alistair3149 dd7270bcd4
feat(codex): add grade A support for Codex
Also align with MW UI, OOUI
2022-12-01 22:03:42 -05:00