Commit graph

364 commits

Author SHA1 Message Date
alistair3149 2d9febf0e2
perf(tokens): ️ reduce lang selector cost
The original lang selector was too broad and execute needlessly.
2024-10-29 18:48:13 -04:00
alistair3149 168a53d6ef
feat(tokens): increase saturation on surface colors 2024-10-28 16:31:48 -04:00
github-actions 50c30afa23 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-28 01:31:36 +00:00
alistair3149 2dc72705d2
feat(core): use newer method to set safe height 2024-10-27 21:30:41 -04:00
alistair3149 09f8f0c70b
fix(viewTransition): 🐛 remove unnessecary definitions 2024-10-27 21:10:58 -04:00
alistair3149 8e578b8a38
feat(core): add basic cross-document transition
Adding basic fade in and out transition in page navigation.
2024-10-27 20:38:46 -04:00
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 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 26f8ca0e57
docs(core): 📚️ clean up documentation in content.less 2024-10-23 16:43:28 -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 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 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 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
alistair3149 bb9ed449f6
feat(core): improve and clean up various CSS transitions 2024-10-19 00:48:20 -04:00
alistair3149 b9a92b4692
feat(core): add more saturation to text colors 2024-10-17 02:40:04 -04:00
alistair3149 20f484d9a3
feat(core): simplify section implementation and update support for new headings 2024-10-16 16:17:32 -04:00
alistair3149 bd71ac747b
fix(core): 🐛 use CSS calc instead of LESS calculation
It seems that there are some changes in the LESS parser in MW 1.43that breaks some
of the existing LESS calculation.

This should also fix #957
2024-10-16 15:04:39 -04:00
alistair3149 3601fbd3ee
feat(core): make dark mode surface colors a bit darker 2024-10-05 22:39:07 -04:00
alistair3149 ec68a30579
feat(core): make border color more visible in pure black mode 2024-10-05 22:33:09 -04:00
alistair3149 6f6aa82743
feat(core): increase max-height for menus in mobile layout 2024-09-26 22:53:13 -04:00
alistair3149 7b3f8f5823
feat(core): add placeholder text color 2024-09-26 21:59:47 -04:00
alistair3149 8f61265cec
feat(core): add support for skin-invert and skin-invert-image
Sync with current dark mode standards from Vector 2022
2024-09-11 04:26:05 -04:00
alistair3149 8354f8e263
feat(core): do not hardcode scroll padding top 2024-09-10 17:02:59 -04:00
alistair3149 3dbf41d3c9
refactor(tokens): ♻️ move link tokens to root 2024-08-17 16:56:32 -04:00
github-actions 07507207b3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-07-25 06:25:20 +00:00
alistair3149 9baf8510ce
fix(core): 🐛 fix uneven margin in table cells 2024-07-25 02:24:38 -04:00
alistair3149 2fe94438ee
feat(core): add reset styles for border-width and border-color
This will affect existing wikis that uses the invalid border attribute like in #902.
Border attribute is not valid HTML in HTML5 and it has been causing a lot of headache
in other styles
2024-07-20 19:35:14 -04:00
alistair3149 c9d98e477a
feat(stickyHeader): add CSS var --height-sticky-header to offset sticky elements
--height-sticky-header will always return the current height of sticky header.
It can be used to offset sticky elements so that it adjusts to the sticky header.
2024-07-19 17:08:03 -04:00
alistair3149 a9fb03fc8e
fix(print): 🐛 only color variables require important declaration 2024-07-15 02:09:05 -04:00
alistair3149 1fefddd41a
feat(core): implement Codex border-width tokens 2024-07-15 02:07:25 -04:00
alistair3149 5296aef9de
feat(print): add wikitable styles and hide contentSub 2024-07-15 02:03:28 -04:00
alistair3149 aeb083e74d
fix(print): 🐛 add important declaration to hidden print elements 2024-07-14 19:41:41 -04:00
alistair3149 8641becb2a
feat(print): allow font size settings affect print styles 2024-07-14 18:09:53 -04:00
alistair3149 1da57e5902
feat(print): hide page footer in print styles 2024-07-14 18:05:03 -04:00
github-actions 79ac340667 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-07-14 21:44:10 +00:00
alistair3149 543400d9d5
feat(print): rework print styles 2024-07-14 17:43:34 -04:00
alistair3149 f0d1176f2a
feat(pref): add clientpref to disable auto-hide navigation
Closes #841
2024-07-10 13:59:03 -04:00
alistair3149 b5180bfbda
feat(core): use Codex tokens for z-index 2024-07-09 16:44:15 -04:00
alistair3149 232fd0cc4b
feat(core): clean up th styles
- th should not use the same styles as label
- Restore font weight and color to th
- Sync different th styles in extensions
2024-07-07 02:14:36 -04:00
alistair3149 442c272cab
feat(wikitable): use box-shadow instead of border hacks to build table border 2024-07-07 01:51:22 -04:00