googlefonts / googlefonts/specimen-skeleton
Do not set weight through variable
Open
- Dominant language
- JavaScript
- Stars
- 51
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
We should avoid the `--wght` variable, and use `font-weight` instead.
This means the `--wght` variable doesn't need to be set, and should be removed from the `font-variation-settings` rule.
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the repository for `--wght` and the `font-variation-settings` rule to locate the relevant stylesheet. Remove the `--wght` variable from that rule and use `font-weight` instead, then verify that no unnecessary `--wght` definition remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100