From 2db2a1889b1c849c6232d44e1d15bb9340e25196 Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Wed, 28 Sep 2022 18:07:28 -0700 Subject: [PATCH] add more attributions --- .gitignore | 1 + material/material.go | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index bd9e676..d5ff6b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ go-colorpalettes palettes/ +palettes.zip diff --git a/material/material.go b/material/material.go index 7db1bdd..b9ce639 100644 --- a/material/material.go +++ b/material/material.go @@ -6,6 +6,9 @@ import ( "github.com/taigrr/go-colorpalettes/simplecolor" ) +// The names and hex values for the material palettes are sourced from +// material.io: https://material.io/design/color/the-color-system.html#tools-for-picking-colors + var ( red = simplecolor.NamedPalette{ "50": 0xffebee, "100": 0xffcdd2, "200": 0xef9a9a, "300": 0xe57373,