internal

package
v0.0.0-...-e9f10cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: GPL-3.0, GPL-3.0-or-later Imports: 0 Imported by: 0

Documentation

Overview

internal package ﳑ find the color code required.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name, swatchName string) string

Get function ﳑ returns the specific type of value in a given swatch and palette.

Types

type Ingredient

type Ingredient struct {
	Name string
	Hex  string
}

Ingredient struct ﳑ holds the different values of a color. it is not meant to be used directly, but rather as part of a swatch.

type Palette

type Palette map[string]Swatch

Palette map ﳑ holds different swatches of a color palette. each palette must be filled with [<name of the swatch>]<swatch>.

type Swatch

type Swatch []Ingredient

Swatch map ﳑ holds different ingredients(colors) of a swatch. each swatch must be filled with [<name of the ingredient>]<ingredient>. it is not meant to be used directly, but rather as part of a pallet.

func List

func List(swatchName string) Swatch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL