Commit graph

31 commits

Author SHA1 Message Date
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 670d21469e
fix(ooui): 🐛 define invert color for progressive buttons 2024-06-10 23:10:54 -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 4d81dff7fe
fix(ooui): 🐛 only define border color instead of other border properties 2024-05-07 01:23:59 -04:00
alistair3149 e791a52cd5
refactor(core): ♻️ replace usage of skin-citizen-theme classes 2024-04-24 20:48:43 -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 c9f665ef78
feat(core): use CSS variables for small font sizes 2024-02-26 17:16:07 -05:00
github-actions bee26c2c10 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-11-15 19:56:33 +00:00
SpaceEnergy 906c1fd6ac
fix(ooui): rounded button corners in save changes modal (#736) 2023-11-15 14:55:53 -05:00
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
alistair3149 2bf20397e1
feat(core): use filter-invert CSS variable to flip color
This decouple the filter style from the  class.
Instead, filter-invert can be redefined if needed (e.g. :root.skin-citizen-dark)
2023-07-10 16:56:56 -04:00
github-actions 3cafd5e4f4 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-06-24 16:49:46 +00:00
沈澄心 1f90d15fbe
fix(OOUI): z-index of OOUI MenuSelectWidget (#674)
* Update oojs-ui-core.less

* Update oojs-ui-core.less
2023-06-24 12:48:56 -04:00
沈澄心 ba825daa9a
feat(core): update state text color (#642)
* Update variables.less

* Update cssvariables.less

* Update content.body.less

* Update mediawiki.special.changeslist.less

* Update mediawiki.special.changeslist.less

* Update ext.scribunto.edit.less

* Update ext.echo.ui.less

* Create mediawiki.interface.helpers.styles.less

* Update skin.json

* Update oojs-ui-core.less

* Update oojs-ui-core.less

* Update variables.less

* Update cssvariables.less

* Update variables.less

* Update mediawiki.special.changeslist.less

* Update cssvariables.less

* Update variables.less

* Update variables.less

* Update README.md

* Update README.md

* Update mediawiki.special.changeslist.less
2023-06-01 18:47:40 -04:00
alistair3149 235a76c2bd
feat(core): add border to Citizen cards 2023-03-01 15:02:34 -05: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 06071f8bf8
style(OOUI): 🎨 no duplicate selectors 2023-01-27 14:20:31 -05:00
alistair3149 a3ed7666e2
fix(OOUI): 🐛 standardize OOUI window z-index
The original z-index (4) was too low and inconsistent with Citizen and Codex.
This should also fix the z-index issues related to OOUI
2023-01-26 19:13:20 -05:00
alistair3149 7bd30ebecb
feat(UploadWizard): update UploadWizard styles 2023-01-08 21:23:23 -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
alistair3149 ca7dd9fe86
feat(ooui): redo OOUI styles 2022-11-30 21:42:28 -05:00
alistair3149 93f5f3fc06
feat(ooui): do not flip OOUI icons that are marked 2022-11-28 20:46:32 -05:00
github-actions 0d63257e86 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-09-28 21:02:56 +00:00
alistair3149 47069b613c
feat(skinStyles): do not lazyload OOUI font size with skinStyles
Changing the OOUI font size in skinStyles would cause a significant layout shift
because the styles are lazyloaded. OOUI is designed around a based font size of 14px
in mind, so we should obey that. Hopefully WMF will revisit OOUI during T254055, then
this hack can be removed.
2022-06-02 12:13:48 -04:00
alistair3149 8121ecb855
feat(skinStyles): add Citizen styles to OOUI dialog 2022-05-02 22:09:43 -04:00
alistair3149 96013bb126
feat: deprecate --background-color-dp-XX in favor of --color-surface-X
--background-color-dp-XX is now fully deprecated in favor of a simpler 4 color surface system. It can be accessed through the --color-surface-X CSS var.
2022-04-25 22:27:52 -04:00
alistair3149 aae08f0a73
feat: rewrite OOUI skinstyles to the new system 2021-07-27 02:13:22 -04:00