Negatory. Postpone Mission.
Have ideas to improve npm?Join in the discussion! »

@thematic/colorTypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

Contains color transforms and helpers, as well as the core color compute logic to generate themes from a set of input parameters. This package also contains color blindness simulation logic that you can apply to themes to see how your app will look to people with various color blindnesses.

Schemes

A Thematic Scheme is the core color definition derived from a set of input parameters.

The idea here is that users can submit basic color parameters such as an accent color and some preferences about contrast, and get back a core set of semantic colors for the theme, along with a basic set of scales.

The scheme forms the underlying basis for all mappings within a Theme instance, such as the specific fills for marks.

You can think of the Scheme as the basic color set, and the Theme instance as a live API to apply it to different mark types and scale configurations.

Keywords

none

Install

npm i @thematic/color

DownloadsWeekly Downloads

2

Version

0.9.0

License

MIT

Unpacked Size

118 kB

Total Files

38

Last publish

Collaborators

  • avatar
  • avatar