Commit graph

4059 commits

Author SHA1 Message Date
alistair3149 17bcccac65
refactor(tokens): ♻️ integrate cssvariables.less into tokens.less 2024-10-23 17:54:26 -04:00
alistair3149 2f084b89e0
refactor(tokens): ♻️ move syntax highlight colors to token.less 2024-10-23 17:40:13 -04:00
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 fde0f9c84c
refactor(tokens): ♻️ move spacing variables to token.less 2024-10-23 17:31:31 -04:00
alistair3149 9c438a6d02
refactor(tokens): ♻️ move line height variables to tokens.less 2024-10-23 17:29:51 -04:00
alistair3149 a45c15cbc1
refactor(tokens): ♻️ move font and transition variables to token.less 2024-10-23 17:24:57 -04:00
alistair3149 6d44586adc
feat(core): move page header to the bottom on main page 2024-10-23 17:11:02 -04:00
alistair3149 9660faaa25
feat(core): backport class from MW core
This class is used to indicate whether a page is a main page.
It is not present in MW 1.39 and we have a use case for that.
2024-10-23 16:59:34 -04:00
alistair3149 a874e45560
refactor(core): ♻️ move toc flag to skin.json
It is just a simplet toggle so we should put it in skin.json instead.
2024-10-23 16:49:29 -04:00
alistair3149 26f8ca0e57
docs(core): 📚️ clean up documentation in content.less 2024-10-23 16:43:28 -04:00
github-actions 366561433e ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-23 20:09:29 +00:00
alistair3149 404106f182
refactor(pageTools): ♻️ refactor pageTools into component 2024-10-23 16:08:58 -04:00
alistair3149 01419e7619
perf(sections): ️ re-order conditions to short circuit earlier
We should not call MediaWikiServices first every time for formatting sections.
Instead it should be done last as other checks are cheaper.
2024-10-23 15:14:24 -04:00
github-actions 18ad833bce ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-23 17:26:48 +00:00
alistair3149 936e9c1906
build: release 2.36.0 (#962) 2024-10-23 13:26:22 -04:00
alistair3149 51c7110b92
fix(toc): 🐛 incorrect closing tag for toc summary 2024-10-22 23:30:32 -04:00
alistair3149 00bda1f2b3
fix(toc): 🐛 summary should not be escaped 2024-10-22 23:11:37 -04:00
alistair3149 2157bcf490
feat(toc): add wrapper for TOC link to hold summary
Some extensions such as DiscussionTools add summary to the ToC item.
We should add styles to support that
2024-10-22 22:51:45 -04:00
alistair3149 4849c648dc
feat(menu): increase line-height of menu items 2024-10-22 22:31:43 -04:00
alistair3149 b68cc3aa2f
fix(DiscussionTools): 🐛 fix invisible highlighted section text 2024-10-22 18:26:13 -04:00
alistair3149 df27ab7583
refactor(mainMenu): ♻️ inherit max-width from menu card instead of redefining a new one 2024-10-22 18:16:24 -04:00
alistair3149 5e749ed137
fix(Echo): 🐛 increase specificity for the selector to apply padding properly 2024-10-22 18:15:45 -04:00
alistair3149 2a53abed2f
feat(tokens): lower the brightness of destructive color in dark mode
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
2024-10-22 17:39:01 -04:00
alistair3149 db4d8a0103
feat(tokens): update state colors 2024-10-22 17:35:28 -04:00
alistair3149 cabf6b4e07
feat(Echo): sync Echo alert styles with mw.notifications 2024-10-22 16:38:52 -04:00
alistair3149 b66ce9dbe8
feat(MediaWiki): add styles for usermessage 2024-10-22 16:25:25 -04:00
alistair3149 cb5d4a79f5
feat(MediaWiki): update mw.notification styles 2024-10-22 16:19:01 -04:00
alistair3149 50832a7d5d
fix(menu): 🐛 prevent dropdown menus from overflowing the viewport 2024-10-22 14:54:02 -04:00
alistair3149 7867ad990c
fix(pageActions): 🐛 add missing transition property 2024-10-22 14:41:59 -04:00
alistair3149 243738a282
perf(RecentChanges): ️ disable sticky header on RC page due to performance issue
The auto-hide sticky header can cause some performance issue on long RC pages.
Disabling it for now until we have a better solution.
2024-10-22 14:36:49 -04:00
github-actions 27591fa511 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-22 00:11:41 +00:00
alistair3149 7f29ae8711
build: release 2.35.0 (#961) 2024-10-21 20:11:15 -04:00
alistair3149 6041dcb159
fix(RecentChanges): 🐛 fix misaligned nested rc icons 2024-10-21 20:10:49 -04:00
alistair3149 95c355d9b3
fix(mediawiki): 🐛 apply body styles to overlay outside of citizen-body
This should fix the incorrect line-height issue in VE preview.

T347199
2024-10-21 19:09:22 -04:00
alistair3149 7702361402
feat(overflow): add noresize class to citizen nowrap classes
noresize is a standardized class used by Vector 2022,
we should support it too.
2024-10-21 18:18:27 -04:00
alistair3149 a614152388
fix(mediawiki): 🐛 add missing LESS import for mediawiki.special 2024-10-19 04:45:37 -04:00
alistair3149 43ed770b62
fix(core): 🐛 escape CSS variable in HSL color 2024-10-19 04:34:04 -04:00
alistair3149 0259645eb5
feat(features): remove saturation from black mode colors 2024-10-19 03:41:36 -04:00
alistair3149 f96cd7435e
feat(features): make black theme color darker 2024-10-19 03:37:31 -04:00
alistair3149 a353b14dc7
fix(tokens): 🐛 incorrect shadow opacity for dark theme 2024-10-19 03:36:38 -04:00
alistair3149 ddeaa39288
feat(mediawiki): improve responsive layout in software table 2024-10-19 03:17:22 -04:00
alistair3149 457bc87c52
feat(core): add animation for more icons 2024-10-19 02:27:42 -04:00
alistair3149 118bd6a2be
fix(core): 🐛 fix ellipsis icon rotate direction 2024-10-19 02:21:59 -04:00
alistair3149 dd16582142
feat(core): add some microinteractions to some of the icons 2024-10-19 02:21:05 -04:00
alistair3149 fe514e94ce
feat(search): use trash icon instead of clear icon for clear input text button 2024-10-19 01:34:28 -04:00
alistair3149 c458252f91
feat(mediawiki): make Special:Version software more compact 2024-10-19 01:27:27 -04:00
github-actions 1caf732c38 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-19 05:16:29 +00:00
alistair3149 951913458c
feat(tokens): simplify box shadow and align closer with Codex styles
- Remove excessive layers in smaller shadows
- Align small and medium shadow closer to Codex
- Rename some of the inner shadow CSS variables
2024-10-19 01:15:41 -04:00
github-actions f4a8bd59a7 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-19 05:01:18 +00:00