Module scarlet::material_colors [] [src]

This file provides some basic facilities for creating a Color object, specifically an RGBColor, from the Google Material design spec.

Enums

AccentTone

An accent tone, notated with an A prefix in the Material Design document and here.

MaterialPrimary

A fully specified Material color. Note that, depending on whether the color has accent tones, different tone enums need to be used. The names of the variants reflect the official Material Design names. For more information, check the Material Design spec.

MaterialTone

Either a neutral or accent tone, with a prefix to distinguish them.

NeutralTone

A neutral tint or shade of a given Material Design hue. Although the values are usually given as numerical literals, numerical literals are not valid identifiers.