From 59bd50369623c2e46f68d430713b35d3cda4072c Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Tue, 28 Feb 2023 10:55:08 -0500 Subject: [PATCH] Tidy theme names --- styles/src/themes/andromeda.ts | 2 +- styles/src/themes/rose-pine-dawn.ts | 2 +- styles/src/themes/rose-pine-moon.ts | 2 +- styles/src/themes/rose-pine.ts | 2 +- styles/src/themes/sandcastle.ts | 2 +- styles/src/themes/staff/abruzzo.ts | 2 +- styles/src/themes/staff/dracula.ts | 2 +- styles/src/themes/staff/monokai.ts | 2 +- styles/src/themes/staff/nord.ts | 2 +- styles/src/themes/staff/seti-ui.ts | 2 +- styles/src/themes/staff/tokyo-night-storm.ts | 2 +- styles/src/themes/staff/zenburn.ts | 3 +-- styles/src/themes/summercamp.ts | 2 +- 13 files changed, 13 insertions(+), 14 deletions(-) diff --git a/styles/src/themes/andromeda.ts b/styles/src/themes/andromeda.ts index 7e715f61ac..37a4d3c345 100644 --- a/styles/src/themes/andromeda.ts +++ b/styles/src/themes/andromeda.ts @@ -27,7 +27,7 @@ const ramps = { magenta: colorRamp(chroma("#C74DED")), } -export const dark = createColorScheme(`${name}`, false, ramps) +export const dark = createColorScheme(name, false, ramps) export const meta: Meta = { name, diff --git a/styles/src/themes/rose-pine-dawn.ts b/styles/src/themes/rose-pine-dawn.ts index 8ba105395e..bcd4e268bd 100644 --- a/styles/src/themes/rose-pine-dawn.ts +++ b/styles/src/themes/rose-pine-dawn.ts @@ -27,7 +27,7 @@ const ramps = { magenta: colorRamp(chroma("#79549F")), } -export const light = createColorScheme(`${name}`, true, ramps) +export const light = createColorScheme(name, true, ramps) export const meta: Meta = { name, diff --git a/styles/src/themes/rose-pine-moon.ts b/styles/src/themes/rose-pine-moon.ts index e13352a58a..d40ea390ac 100644 --- a/styles/src/themes/rose-pine-moon.ts +++ b/styles/src/themes/rose-pine-moon.ts @@ -27,7 +27,7 @@ const ramps = { magenta: colorRamp(chroma("#AB6FE9")), } -export const dark = createColorScheme(`${name}`, false, ramps) +export const dark = createColorScheme(name, false, ramps) export const meta: Meta = { name, diff --git a/styles/src/themes/rose-pine.ts b/styles/src/themes/rose-pine.ts index bcbe94ce52..7b61ab56e7 100644 --- a/styles/src/themes/rose-pine.ts +++ b/styles/src/themes/rose-pine.ts @@ -25,7 +25,7 @@ const ramps = { magenta: colorRamp(chroma("#AB6FE9")), } -export const dark = createColorScheme(`${name}`, false, ramps) +export const dark = createColorScheme(name, false, ramps) export const meta: Meta = { name, diff --git a/styles/src/themes/sandcastle.ts b/styles/src/themes/sandcastle.ts index 47b81f29df..b38416a966 100644 --- a/styles/src/themes/sandcastle.ts +++ b/styles/src/themes/sandcastle.ts @@ -25,7 +25,7 @@ const ramps = { magenta: colorRamp(chroma("#a87322")), } -export const dark = createColorScheme(`${name}`, false, ramps) +export const dark = createColorScheme(name, false, ramps) export const meta: Meta = { name, diff --git a/styles/src/themes/staff/abruzzo.ts b/styles/src/themes/staff/abruzzo.ts index 7a1f0f956a..43b75f2613 100644 --- a/styles/src/themes/staff/abruzzo.ts +++ b/styles/src/themes/staff/abruzzo.ts @@ -9,7 +9,7 @@ const license = { url: "", } -export const dark = createColorScheme(`${name}`, false, { +export const dark = createColorScheme(name, false, { neutral: chroma.scale([ "#1b0d05", "#2c1e18", diff --git a/styles/src/themes/staff/dracula.ts b/styles/src/themes/staff/dracula.ts index 855fc20724..acff08d230 100644 --- a/styles/src/themes/staff/dracula.ts +++ b/styles/src/themes/staff/dracula.ts @@ -9,7 +9,7 @@ const license = { url: "https://github.com/dracula/dracula-theme/blob/master/LICENSE", } -export const dark = createColorScheme(`${name}`, false, { +export const dark = createColorScheme(name, false, { neutral: chroma.scale([ "#282A36", "#3a3c4e", diff --git a/styles/src/themes/staff/monokai.ts b/styles/src/themes/staff/monokai.ts index 25ae88a269..75319e527a 100644 --- a/styles/src/themes/staff/monokai.ts +++ b/styles/src/themes/staff/monokai.ts @@ -10,7 +10,7 @@ const license = { } // `name-[light|dark]`, isLight, color ramps -export const dark = createColorScheme(`${name}`, false, { +export const dark = createColorScheme(name, false, { neutral: chroma.scale([ "#272822", "#383830", diff --git a/styles/src/themes/staff/nord.ts b/styles/src/themes/staff/nord.ts index 50a47700d9..48f924e7a4 100644 --- a/styles/src/themes/staff/nord.ts +++ b/styles/src/themes/staff/nord.ts @@ -10,7 +10,7 @@ const license = { } // `name-[light|dark]`, isLight, color ramps -export const dark = createColorScheme(`${name}`, false, { +export const dark = createColorScheme(name, false, { neutral: chroma.scale([ "#2E3440", "#3B4252", diff --git a/styles/src/themes/staff/seti-ui.ts b/styles/src/themes/staff/seti-ui.ts index 7a675829fb..abf6624242 100644 --- a/styles/src/themes/staff/seti-ui.ts +++ b/styles/src/themes/staff/seti-ui.ts @@ -10,7 +10,7 @@ const license = { } // `name-[light|dark]`, isLight, color ramps -export const dark = createColorScheme(`${name}`, false, { +export const dark = createColorScheme(name, false, { neutral: chroma.scale([ "#151718", "#262B30", diff --git a/styles/src/themes/staff/tokyo-night-storm.ts b/styles/src/themes/staff/tokyo-night-storm.ts index ae375485e8..399c526872 100644 --- a/styles/src/themes/staff/tokyo-night-storm.ts +++ b/styles/src/themes/staff/tokyo-night-storm.ts @@ -10,7 +10,7 @@ const license = { } // `name-[light|dark]`, isLight, color ramps -export const dark = createColorScheme(`${name}`, false, { +export const dark = createColorScheme(name, false, { neutral: chroma.scale([ "#24283B", "#16161E", diff --git a/styles/src/themes/staff/zenburn.ts b/styles/src/themes/staff/zenburn.ts index 648d918a42..9457ef1957 100644 --- a/styles/src/themes/staff/zenburn.ts +++ b/styles/src/themes/staff/zenburn.ts @@ -9,8 +9,7 @@ const license = { url: "", } -// `name-[light|dark]`, isLight, color ramps -export const dark = createColorScheme(`${name}`, false, { +export const dark = createColorScheme(name, false, { neutral: chroma.scale([ "#383838", "#404040", diff --git a/styles/src/themes/summercamp.ts b/styles/src/themes/summercamp.ts index 42d4b1a2e4..1114f496c2 100644 --- a/styles/src/themes/summercamp.ts +++ b/styles/src/themes/summercamp.ts @@ -27,7 +27,7 @@ const ramps = { magenta: colorRamp(chroma("#F69BE7")), } -export const dark = createColorScheme(`${name}`, false, ramps) +export const dark = createColorScheme(name, false, ramps) export const meta: Meta = { name, author: "zoefiri",