Skip to content

Commit

Permalink
#125 move new color back to white: enoki (#FAFBEF)
Browse files Browse the repository at this point in the history
  • Loading branch information
azurepolarbear committed Aug 8, 2024
1 parent e50f56a commit 8c9bd4e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/main/color/palette/palette-colors/green/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@
export * from './007058';
export * from './0fff4f';
export * from './23856d';
export * from './fafbef';
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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);
1 change: 1 addition & 0 deletions src/main/color/palette/palette-colors/white/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
* See the GNU Affero General Public License for more details.
*/

export * from './fafbef';
export * from './fafeff';
export * from './fbf9f9';
23 changes: 23 additions & 0 deletions src/main/color/palette/palettes/nature/flower/white-lily.ts
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8c9bd4e

Please sign in to comment.