Documentation
¶
Overview ¶
Package charmtone contains an API for the CharmTone color palette.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Key ¶
type Key int
Key is a type for color keys.
const ( Cumin Key = iota Tang Yam Paprika Bengal Uni Sriracha Coral Salmon Chili Cherry Tuna Macaron Pony Cheeky Flamingo Dolly Blush Urchin Mochi Lilac Prince Violet Mauve Grape Plum Orchid Jelly Charple Hazy Ox Sapphire Guppy Oceania Thunder Anchovy Damson Malibu Sardine Zinc Turtle Lichen Guac Julep Bok Mustard Citron Zest Pepper BBQ Charcoal Iron Oyster Squid Smoke Ash Salt Butter // Diffs: additions. The brightest color in this set is Julep, defined // above. Pickle Gator Spinach // Diffs: deletions. The brightest color in this set is Cherry, defined // above. Pom Steak Toast // Provisional. NeueGuac NeueZinc )
Available colors.
func (Key) IsSecondary ¶
IsSecondary indicates which colors are part of the secondary palette.
func (Key) IsTertiary ¶
IsTertiary indicates which colors are part of the tertiary palette.
Click to show internal directories.
Click to hide internal directories.