Skip to content

Commit

Permalink
fix: reduced font weight allowed limits (#417)
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Asjad <asjad.august@gmail.com>
  • Loading branch information
asjadaugust committed May 12, 2023
1 parent 142e701 commit 52b25f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export function EditFontWeightModal({
return
}

if (Number(variant.token.value) < 1 || Number(variant.token.value) > 1000) {
setError('Font weight must be between 1 and 1000.')
if (Number(variant.token.value) < 1 || Number(variant.token.value) > 900) {
setError('Font weight must be between 1 and 900.')
return
}

Expand Down

0 comments on commit 52b25f7

Please sign in to comment.