skip to content
* 9b04e7d Merge branch ansi
|\
| * 51cd0aa Add sixteen ANSI colors
|/
* 07be2f1 (origin/main, tag: v1.0) Read palette files
❯ npm run dev
VITE v6.2.0 ready in 412 ms
➜ Local: http://localhost:5173/
10:42:07 INFO GET /api/palettes 200 12 ms
10:42:08 INFO GET /api/themes/kita 200 8 ms
10:42:09 WARN slow query: palettes 812 ms
10:42:10 DEBUG cache hit themes/kita
10:42:11 ERROR POST /api/share 500 41 ms
Error: read ECONNRESET
at TCP.onStreamRead (node:net:216:20)
at share (src/share.ts:48:11)
10:42:12 INFO retry 1/3 in 200 ms
~/code/demo on main +2 ~1
❯ git status -sb
## main...origin/main [ahead 1]
M src/main.rs
?? notes.md
❯ ls
docs src tests Cargo.toml README.md
❯ cargo test
✓ parses config
✗ renders frame expected 3, received 2
❯ colortest
0-7
8-15
❯ echo selected text

export miku-tuned

Take it as a file, as a link anyone can open, or as a marketplace of your own.

It keeps [colors.light], its own light colors.

"$schema" = "https://www.schemastore.org/ttheme-palette.json"

[meta]
name = "miku-tuned"
base = "miku"
booru = "hatsune_miku"
signature = ["cursor", "ansi1", "ansi12"]

[colors]
background = "#101918"
foreground = "#d3e6e3"
cursor = "#39c5bb"
selection_background = "#234246"
ansi = [
  "#1c2524",
  "#dc74a8",
  "#4dd89e",
  "#b2c380",
  "#7395cf",
  "#b4a7e4",
  "#1abfae",
  "#ccd7d4",

  "#6f7977",
  "#f39eb5",
  "#57f8b5",
  "#d3e49e",
  "#a1a6e8",
  "#d7c8ff",
  "#00ddd6",
  "#dff2ef",
]

[colors.light]
background = "#f1fcf9"
foreground = "#122221"
cursor = "#00877f"
selection_background = "#bcdde2"
ansi = [
  "#ebf6f3",
  "#a14074",
  "#005c3e",
  "#7c5f1e",
  "#41649a",
  "#6757a5",
  "#005a56",
  "#242e2d",

  "#6f7977",
  "#8e3654",
  "#004c32",
  "#6c5011",
  "#454ca1",
  "#624888",
  "#004b4a",
  "#122221",
]

then, in your terminal

ttheme add ~/Downloads/miku-tuned.toml

It goes into your own marketplace, named after your GitHub handle, and ttheme edit changes it from there.

New to ttheme? Set it up first:

npx @kecan0406/ttheme init