-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- If you are using a bare value or modifier that is a number, then we make sure that it is a valid multiplier of `0.25` - If you are using a bare value or modifier that is a percentage, then we make sure that it is a valid positive integer. - If you are using a fraction, then we make sure that both the numerator and denominator are positive integers. - If the bare value resolves to a non-ratio value, and if a modifier is used, then we need to make sure that the modifier resolves as well. E.g.: `example-1/2.3` this won't resolve to a `ratio` because the denominator is invalid. This will resolve to an `integer` or `number` for the value of `1`, but then we need to make sure that `2.3` is a valid modifier.
- Loading branch information
1 parent
ce1e1ca
commit 4eba187
Showing
2 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters