Skip to content

Commit 26cf7f9

Browse files
authored
fix: font weight bug fix (#267) (#326)
* font weight bug fix (#267) * fix: font weight bug fix (#267) * PR review comments addressed * New PR review comments addressed * redundant file deleted
1 parent fb3c7d3 commit 26cf7f9

File tree

5 files changed

+309
-12
lines changed

5 files changed

+309
-12
lines changed

.changeset/nice-suns-sort.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tokens-studio/sd-transforms': patch
3+
---
4+
5+
-Made the font weight case insensitive; Extra checks for style and weight values, confusions cleared up in the code; Font style and value are not both mandatory, it is fine if only one is specified; If font style is not provided, the style field will take the weight value; The bug from issue #267 is fixed.

package-lock.json

Lines changed: 273 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"eslint-config-prettier": "^8.6.0",
5959
"eslint-plugin-mocha": "^10.4.3",
6060
"hanbi": "^1.0.3",
61+
"http-server": "^14.1.1",
6162
"husky": "^8.0.0",
6263
"lint-staged": "^15.2.10",
6364
"npm-run-all": "^4.1.5",

0 commit comments

Comments
 (0)