Skip to content

Commit

Permalink
feat!: rework base16 and vscode themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Suya1671 committed Jul 14, 2024
1 parent 6c95d6e commit 142d105
Show file tree
Hide file tree
Showing 20 changed files with 4,844 additions and 4,711 deletions.
8 changes: 4 additions & 4 deletions build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { parseArgs } from "@std/cli/parse-args";
import {
dark,
light,
toBase16,
toBase24,
toCss,
toHex,
toVscodeTheme,
Expand Down Expand Up @@ -54,7 +54,7 @@ const buildSingleThemes = async (theme: Theme, type: string) => {
const hexJson = JSON.stringify(hex, null, 2);
await Deno.writeTextFile(`build/${type}/kleur-hex.json`, hexJson);

const base16 = toBase16(theme);
const base16 = toBase24(theme);
const base16Json = JSON.stringify(base16, null, 2);
const base16Yaml = YAML.stringify(base16);
await Deno.writeTextFile(`build/${type}/kleur.yaml`, base16Yaml);
Expand All @@ -76,8 +76,8 @@ const buildVscode = async () => {
// Build Vscode
console.log("Building vscode themes");

const darkCode = await toVscodeTheme(dark, "Kleur Dark");
const lightCode = await toVscodeTheme(light, "Kleur Light");
const darkCode = await toVscodeTheme(dark);
const lightCode = await toVscodeTheme(light);
await Deno.writeTextFile(`build/vscode/dark.json`, darkCode);
await Deno.writeTextFile(`build/vscode/light.json`, lightCode);

Expand Down
23 changes: 16 additions & 7 deletions build/dark/kleur.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"scheme": "Kleur Dark",
"base00": "#060613",
"base01": "#090917",
"base02": "#141423",
Expand All @@ -7,12 +8,20 @@
"base05": "#72737e",
"base06": "#8b8c96",
"base07": "#a6a6ae",
"base08": "#8c81dc",
"base09": "#00a24b",
"base0A": "#0097ce",
"base08": "#f5564d",
"base09": "#c27e00",
"base0A": "#c27e00",
"base0B": "#00a24b",
"base0C": "#f5564d",
"base0D": "#8c81dc",
"base0E": "#0097ce",
"base0F": "#c27e00"
"base0C": "#009d96",
"base0D": "#0097ce",
"base0E": "#8c81dc",
"base0F": "#c27e00",
"base10": "#090917",
"base11": "#060613",
"base12": "#ffaea2",
"base13": "#ffb432",
"base14": "#29de78",
"base15": "#00d9cf",
"base16": "#3dd1ff",
"base17": "#c3baff"
}
21 changes: 15 additions & 6 deletions build/dark/kleur.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
scheme: Kleur Dark
base00: "#060613"
base01: "#090917"
base02: "#141423"
Expand All @@ -6,11 +7,19 @@ base04: "#595a67"
base05: "#72737e"
base06: "#8b8c96"
base07: "#a6a6ae"
base08: "#8c81dc"
base09: "#00a24b"
base0A: "#0097ce"
base08: "#f5564d"
base09: "#c27e00"
base0A: "#c27e00"
base0B: "#00a24b"
base0C: "#f5564d"
base0D: "#8c81dc"
base0E: "#0097ce"
base0C: "#009d96"
base0D: "#0097ce"
base0E: "#8c81dc"
base0F: "#c27e00"
base10: "#090917"
base11: "#060613"
base12: "#ffaea2"
base13: "#ffb432"
base14: "#29de78"
base15: "#00d9cf"
base16: "#3dd1ff"
base17: "#c3baff"
25 changes: 17 additions & 8 deletions build/light/kleur.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"scheme": "Kleur Light",
"base00": "#c4c5da",
"base01": "#babbd0",
"base02": "#abacc1",
Expand All @@ -7,12 +8,20 @@
"base05": "#555561",
"base06": "#3f3f49",
"base07": "#292930",
"base08": "#004462",
"base09": "#004a1c",
"base0A": "#40396b",
"base0B": "#004a1c",
"base0C": "#820e10",
"base0D": "#004462",
"base0E": "#40396b",
"base0F": "#5c3800"
"base08": "#a81c1c",
"base09": "#7a4c00",
"base0A": "#7a4c00",
"base0B": "#006429",
"base0C": "#00615c",
"base0D": "#005c82",
"base0E": "#564e8c",
"base0F": "#7a4c00",
"base10": "#babbd0",
"base11": "#c4c5da",
"base12": "#820e10",
"base13": "#5c3800",
"base14": "#004a1c",
"base15": "#004844",
"base16": "#004462",
"base17": "#40396b"
}
25 changes: 17 additions & 8 deletions build/light/kleur.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
scheme: Kleur Light
base00: "#c4c5da"
base01: "#babbd0"
base02: "#abacc1"
Expand All @@ -6,11 +7,19 @@ base04: "#6d6d7c"
base05: "#555561"
base06: "#3f3f49"
base07: "#292930"
base08: "#004462"
base09: "#004a1c"
base0A: "#40396b"
base0B: "#004a1c"
base0C: "#820e10"
base0D: "#004462"
base0E: "#40396b"
base0F: "#5c3800"
base08: "#a81c1c"
base09: "#7a4c00"
base0A: "#7a4c00"
base0B: "#006429"
base0C: "#00615c"
base0D: "#005c82"
base0E: "#564e8c"
base0F: "#7a4c00"
base10: "#babbd0"
base11: "#c4c5da"
base12: "#820e10"
base13: "#5c3800"
base14: "#004a1c"
base15: "#004844"
base16: "#004462"
base17: "#40396b"
Loading

0 comments on commit 142d105

Please sign in to comment.