@thematic/color
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 peo
Last updated 2 months ago by natoverse .
MIT · Original npm · Tarball · package.json
$ cnpm install @thematic/color 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.9.0                                ...           latest (2 months ago)

2 Versions

  • 0.9.0                                ...           2 months ago
  • 0.8.0                                ...           4 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |