v3
Updated:
method generate_scheme(this, primary, model)
Generate a multi color scheme.
Namespace types: Theme
Parameters:
this (Theme): `Theme` : Theme object.
primary (color): `color` : Origin color to base the profile.
model (string): `string`: Color model selection, default='monochromatic', options=('monochromatic', 'triadic near', 'triadic far', 'tetradic')
Returns: - `this`: Self, Theme object.
---
Usage:
- `theme = Theme.new().generate_scheme(#e3e3e3, "monochromatic")`
Theme
Theme object holding a dictionary alike structure.
Fields:
keys (string[]): List of named keys.
colors (color[]): List of colors.