From 8c9bd4e93086aa8f9d9015d254fc3d70c16bb5b9 Mon Sep 17 00:00:00 2001 From: azurepolarbear Date: Thu, 8 Aug 2024 18:45:23 -0500 Subject: [PATCH] #125 move new color back to white: enoki (`#FAFBEF`) --- .../palette/palette-colors/green/index.ts | 1 - .../palette-colors/{green => white}/fafbef.ts | 7 +++--- .../palette/palette-colors/white/index.ts | 1 + .../palettes/nature/flower/white-lily.ts | 23 +++++++++++++++++++ 4 files changed, 28 insertions(+), 4 deletions(-) rename src/main/color/palette/palette-colors/{green => white}/fafbef.ts (87%) create mode 100644 src/main/color/palette/palettes/nature/flower/white-lily.ts diff --git a/src/main/color/palette/palette-colors/green/index.ts b/src/main/color/palette/palette-colors/green/index.ts index 3cbc3cca..311e3860 100644 --- a/src/main/color/palette/palette-colors/green/index.ts +++ b/src/main/color/palette/palette-colors/green/index.ts @@ -18,4 +18,3 @@ export * from './007058'; export * from './0fff4f'; export * from './23856d'; -export * from './fafbef'; diff --git a/src/main/color/palette/palette-colors/green/fafbef.ts b/src/main/color/palette/palette-colors/white/fafbef.ts similarity index 87% rename from src/main/color/palette/palette-colors/green/fafbef.ts rename to src/main/color/palette/palette-colors/white/fafbef.ts index 9966b499..c58dc93a 100644 --- a/src/main/color/palette/palette-colors/green/fafbef.ts +++ b/src/main/color/palette/palette-colors/white/fafbef.ts @@ -23,10 +23,11 @@ // black pass // luminance: 0.9555034902 +import { ColorNameManager } from 'color'; import { Discriminators } from 'discriminator'; import { PaletteColor } from 'palette'; -import {ALL_PALETTE_COLORS, GREEN_PALETTE_COLORS} from "../palette-color-maps"; -import {ColorNameManager} from "color"; + +import { ALL_PALETTE_COLORS, WHITE_PALETTE_COLORS } from '../palette-color-maps'; export const _FAFBEF: PaletteColor = { HEX: '#FAFBEF', @@ -36,6 +37,6 @@ export const _FAFBEF: PaletteColor = { DISCRIMINATOR: Discriminators.PALETTE_COLOR }; -GREEN_PALETTE_COLORS.setUndefinedKey(_FAFBEF.HEX, _FAFBEF); +WHITE_PALETTE_COLORS.setUndefinedKey(_FAFBEF.HEX, _FAFBEF); ALL_PALETTE_COLORS.setUndefinedKey(_FAFBEF.HEX, _FAFBEF); ColorNameManager.addColor(_FAFBEF); diff --git a/src/main/color/palette/palette-colors/white/index.ts b/src/main/color/palette/palette-colors/white/index.ts index 182457bb..c3301a7b 100644 --- a/src/main/color/palette/palette-colors/white/index.ts +++ b/src/main/color/palette/palette-colors/white/index.ts @@ -15,5 +15,6 @@ * See the GNU Affero General Public License for more details. */ +export * from './fafbef'; export * from './fafeff'; export * from './fbf9f9'; diff --git a/src/main/color/palette/palettes/nature/flower/white-lily.ts b/src/main/color/palette/palettes/nature/flower/white-lily.ts new file mode 100644 index 00000000..0c62207d --- /dev/null +++ b/src/main/color/palette/palettes/nature/flower/white-lily.ts @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2024 brittni and the polar bear LLC. + * + * This file is a part of brittni and the polar bear's Generative Art Library, + * which is released under the GNU Affero General Public License, Version 3.0. + * You may not use this file except in compliance with the license. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. See LICENSE or go to + * https://www.gnu.org/licenses/agpl-3.0.en.html for full license details. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + */ + +// https://www.color-hex.com/color-palette/1039504 +// #fafbf0 --> #fafbef +// #b0c59f +// #5e855f +// #d7d7ff +// #afafd7