-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements a rgbUnit configuration option
- Loading branch information
1 parent
fb0fe13
commit f741382
Showing
13 changed files
with
240 additions
and
61 deletions.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import { Options, AnglesUnitEnum } from '@types'; | ||
import { | ||
Options, | ||
AnglesUnitEnum, | ||
ColorUnitEnum | ||
} from '@types'; | ||
import { MAX_DECIMALS } from './numbers'; | ||
|
||
export const DEFAULT_OPTIONS: Options = { | ||
decimals: MAX_DECIMALS, | ||
legacyCSS: false, | ||
spacesAfterCommas: false, | ||
anglesUnit: AnglesUnitEnum.NONE | ||
anglesUnit: AnglesUnitEnum.NONE, | ||
rgbUnit: ColorUnitEnum.NONE | ||
}; |
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
Oops, something went wrong.