Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(colord): add toBase10 #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 8, 2023

  1. feat(colord): add toBase10

    kyranet committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    8ace6c6 View commit details
    Browse the repository at this point in the history
  2. tests: add output test for colord.base10()

    Since `.base10()` is similar to `toHex()`, we can use the same string to
    retrieve the number without modifying `lime`, which can lead to higher
    complexity in the tests as `colord` does not support numbers as input
    and would require an `if (typeof lime[format] === 'number') continue;`
    or an `if (format === 'base10') continue;` check otherwise.
    kyranet committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    72b419a View commit details
    Browse the repository at this point in the history