Use different dark and light ramps for cave
Co-Authored-By: Kay Simmons <3323631+Kethku@users.noreply.github.com>
This commit is contained in:
co-authored by
Kay Simmons
parent
5708879b5a
commit
b626ec3bf9
@@ -3,7 +3,7 @@ import { colorRamp, createColorScheme } from "./common/ramps";
|
|||||||
|
|
||||||
const name = "cave";
|
const name = "cave";
|
||||||
|
|
||||||
const ramps = {
|
export const dark = createColorScheme(`${name}-dark`, false, {
|
||||||
neutral: chroma
|
neutral: chroma
|
||||||
.scale([
|
.scale([
|
||||||
"#19171c",
|
"#19171c",
|
||||||
@@ -24,7 +24,26 @@ const ramps = {
|
|||||||
blue: colorRamp(chroma("#576ddb")),
|
blue: colorRamp(chroma("#576ddb")),
|
||||||
violet: colorRamp(chroma("#955ae7")),
|
violet: colorRamp(chroma("#955ae7")),
|
||||||
magenta: colorRamp(chroma("#bf40bf")),
|
magenta: colorRamp(chroma("#bf40bf")),
|
||||||
};
|
});
|
||||||
|
|
||||||
export const dark = createColorScheme(`${name}-dark`, false, ramps);
|
export const light = createColorScheme(`${name}-light`, true, {
|
||||||
export const light = createColorScheme(`${name}-light`, true, ramps);
|
neutral: chroma
|
||||||
|
.scale([
|
||||||
|
"#19171c",
|
||||||
|
"#26232a",
|
||||||
|
"#585260",
|
||||||
|
"#655f6d",
|
||||||
|
"#7e7887",
|
||||||
|
"#8b8792",
|
||||||
|
"#e2dfe7",
|
||||||
|
"#efecf4",
|
||||||
|
]).correctLightness(),
|
||||||
|
red: colorRamp(chroma("#be4678")),
|
||||||
|
orange: colorRamp(chroma("#aa573c")),
|
||||||
|
yellow: colorRamp(chroma("#a06e3b")),
|
||||||
|
green: colorRamp(chroma("#2a9292")),
|
||||||
|
cyan: colorRamp(chroma("#398bc6")),
|
||||||
|
blue: colorRamp(chroma("#576ddb")),
|
||||||
|
violet: colorRamp(chroma("#955ae7")),
|
||||||
|
magenta: colorRamp(chroma("#bf40bf")),
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user