postcss-font-variant
postcss-font-variant copied to clipboard
PostCSS plugin to transform W3C CSS font variant properties to more compatible CSS (font-feature-settings)
The following CSS: ``` font-variant:normal; font-feature-settings: "smcp" on; ``` produces: ``` font-feature-settings:"smcp" on,normal;font-variant:normal ``` The resulting CSS rule is invalid according to Chrome DevTools: `font-feature-settings:"smcp" on,normal`. Additionally: ``` font-variant: none;...
I find it confusing that this plugin modifies the `font-feature-settings` CSS property; I was originally trying to set both `font-variant` and `font-feature-settings` to `none` and `normal` respectively, and then noticed...
I can't see any mention of kerning on https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant: would it be more accurate to set `font-feature-settings` to `normal` instead? I've done a fix locally (just adding `none: "normal"` to...
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.4. Changelog Sourced from nanoid's changelog. 3.3.4 Fixed --help in CLI (by @Lete114). 3.3.3 Reduced size (by Anton Khlynovskiy). 3.3.2 Fixed enhanced-resolve support. 3.3.1 Reduced...
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13. Release notes Sourced from postcss's releases. 8.2.13 Fixed ReDoS vulnerabilities in source map parsing (by @yetingli). 8.2.12 Fixed package.json exports. 8.2.11 Fixed DEP0148 warning...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [i](https://github.com/pksunkara/inflect) from 0.3.6 to 0.3.7. Commits 71961bd Version bump v0.3.7 a9a0a8e Fix CVE-2021-3820 c025e15 Fix formatting dace42b Move away from travis 22fa473 Merge pull request #30 from pksunkara/dependabot/add-v2-config-file e84c23a...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Having `font-variant` set to `initial` before `font-feature-settings` property somehow corrupts produced output for `font-feature-settings`. **Input:** ```css .this-will-be-broken { font-variant: initial; font-feature-settings: normal; } .this-will-not { font-variant: normal; font-feature-settings: normal; }...
In before: I am not 100% sure, because barley used it, but I think this is wrong. ## Input ~~~ selector { font-variant-ligatures: common-ligatures discretionary-ligatures; } ~~~ ## Exprected: ~~~...