Commit 24e244e
authored
Fix dark mode secondary text colour broken by postcss-color-mod-function v4 (#1040)
* 🐛 Fix dark mode secondary text colour broken by postcss-color-mod-function v4
The color-mod(var(--color-secondary-text) l(-22%)) value compiled to
#000 after postcss-color-mod-function was bumped from v3 to v4, making
tags, post meta, byline and pagination text invisible on dark backgrounds.
Replace with var(--color-secondary-text) directly. #979797 gives ~4.6:1
contrast on the dark mode background and sits correctly below the #fff
primary text in the visual hierarchy. Same fix applied to the auto-color
media query variant.
* Fix gulp zip task broken by gulp-zip v6 API change
gulp-zip v6 switched to a named export. Update require() to use .default
to restore the zip build task.
* Revert "Fix gulp zip task broken by gulp-zip v6 API change"
This reverts commit 9a71b49.1 parent 6e22fbd commit 24e244e
3 files changed
Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2193 | 2193 | | |
2194 | 2194 | | |
2195 | 2195 | | |
2196 | | - | |
| 2196 | + | |
2197 | 2197 | | |
2198 | 2198 | | |
2199 | 2199 | | |
| |||
2387 | 2387 | | |
2388 | 2388 | | |
2389 | 2389 | | |
2390 | | - | |
| 2390 | + | |
2391 | 2391 | | |
2392 | 2392 | | |
2393 | 2393 | | |
| |||
0 commit comments