Skip to content

Instantly share code, notes, and snippets.

View daviziks's full-sized avatar
💙

Davi Oliveira daviziks

💙
  • Ceará, Brazil
View GitHub Profile
@daviziks
daviziks / convert.ts
Created July 3, 2025 15:51
Script to convert Vscode theme to Ghostty terminal theme
#!/usr/bin/env bun
import fs from "fs";
import { parse } from "jsonc-parser";
// Usage
// bun convert.ts <file>.jsonc <themne-name>.conf
// You get your jsonc file from Developer: Generate Color Theme from Current Settings on Vscode command pallete
if (process.argv.length < 3) {
console.error("Usage: convert.ts <vscode-theme.jsonc> [output.ghostty]");