{"id":50396523,"url":"https://github.com/kkugot/opencode-theme-studio","last_synced_at":"2026-05-30T21:02:08.664Z","repository":{"id":345090389,"uuid":"1184423028","full_name":"kkugot/opencode-theme-studio","owner":"kkugot","description":"Edit OpenCode themes with a live preview","archived":false,"fork":false,"pushed_at":"2026-03-23T01:24:06.000Z","size":32555,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-23T20:19:09.908Z","etag":null,"topics":["opencode","theme-development","themes"],"latest_commit_sha":null,"homepage":"https://kkugot.github.io/opencode-theme-studio/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kkugot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-17T15:16:08.000Z","updated_at":"2026-03-23T01:24:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kkugot/opencode-theme-studio","commit_stats":null,"previous_names":["kkugot/opencode-theme-editor","kkugot/opencode-theme-studio"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kkugot/opencode-theme-studio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkugot%2Fopencode-theme-studio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkugot%2Fopencode-theme-studio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkugot%2Fopencode-theme-studio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkugot%2Fopencode-theme-studio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkugot","download_url":"https://codeload.github.com/kkugot/opencode-theme-studio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkugot%2Fopencode-theme-studio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33709269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["opencode","theme-development","themes"],"created_at":"2026-05-30T21:02:07.810Z","updated_at":"2026-05-30T21:02:08.647Z","avatar_url":"https://github.com/kkugot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCode Theme Studio\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003eDesign a theme that actually feels like OpenCode before you export it.\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  OpenCode Theme Studio is a local-first theme studio for crafting dark and light OpenCode themes with live preview, curated presets, raw JSON control, shareable links, and one-command install.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://kkugot.github.io/opencode-theme-studio/\"\u003e\u003cstrong\u003eLaunch the app\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"./public/opencode-theme-studio-480-4x.mp4\"\u003eWatch the OpenCode Theme Studio demo video\u003c/a\u003e\n\u003c/p\u003e\n\n## Why people use it\n\n- See changes in an OpenCode-like preview while you edit, instead of guessing from JSON alone.\n- Tune dark and light modes as a matched pair, then export a single bundle or separate mode files.\n- Start fast with built-in OpenCode themes, curated palette presets, and remix controls.\n- Move from semantic editing to token-level control to raw JSON without leaving the same workflow.\n- Keep drafts in your browser with IndexedDB autosave; no account or backend required.\n- Share an editable link, import a local OpenCode theme, or copy a ready-to-run install command.\n\n## What you can do\n\n| Stage | Best for |\n| --- | --- |\n| Presets | Start from OpenCode built-ins, curated palettes, or remixed color directions |\n| Mixer | Generate color palettes, adjust basic semantic groups like canvas, text, accent, success, warning, and danger |\n| Tuner | Fine-tune individual OpenCode tokens, there are plenty of them |\n| Export | Download files, copy the install command, or share an editable link |\n| JSON {…} | Import yur opencode theme, Edit the generated theme json directly with validation and live preview |\n\n\n## Quick start\n\n1. Open the app and name your theme.\n2. Pick a preset or randomize a palette.\n3. Refine colors manually or with thre levels of color shuffle. they all follow contrast ratio rules\n4. Flip between dark and light to tune both modes.\n5. Open `Save` to download files, copy a share link, or generate the OpenCode install command.\n6. Open `{...}` to import an existing local OpenCode theme or edit the full bundle JSON directly.\n\n## Install in OpenCode\n\nFrom the `Save` tab, copy the generated command and run it from your project root.\n\n```bash\ncurl -fsSL https://kkugot.github.io/opencode-theme-studio/import-export.sh | bash -s -- install \u003ctheme-name\u003e \u003cencoded-theme\u003e\n```\n\nThe installer:\n\n- writes `.opencode/themes/\u003ctheme-name\u003e.json`\n- updates `.opencode/tui.json` to activate the theme for that project\n\nYou can also type `!` inside OpenCode, paste the generated command, and restart OpenCode once.\n\n## Import from OpenCode\n\nFrom the `{...}` tab, copy the import command and run it inside OpenCode.\n\n```bash\ncurl -fsSL https://kkugot.github.io/opencode-theme-studio/import-export.sh | bash -s -- import \u003ctheme-studio-url\u003e\n```\n\nThe import flow:\n\n- reads your current local OpenCode theme from `.opencode/themes/` or `~/.config/opencode/themes/`\n- converts it into a Theme Studio share URL\n- opens the browser with that theme already loaded in the editor\n\nThis is useful when you want to:\n\n- build a matching light or dark companion for an existing theme\n- refine a local custom theme without manually copying JSON\n- share your local theme setup with someone else through a browser link\n\nIf you do not want to run the import-export script, you can also paste your current theme JSON directly into the `{...}` tab. Theme Studio accepts the full dark/light bundle there and keeps the JSON updated as you edit.\n\n## Manual export\n\nIf you prefer file-based setup:\n\n1. Download the bundle file or the separate dark and light JSON exports.\n2. Save the bundle as `\u003ctheme-name\u003e.json` in one of these locations:\n   - `~/.config/opencode/themes/`\n   - `\u003cproject-root\u003e/.opencode/themes/`\n3. In OpenCode, run `/theme` and choose `\u003ctheme-name\u003e`.\n\nOptional project default in `.opencode/tui.json`:\n\n```json\n{\n  \"$schema\": \"https://opencode.ai/tui.json\",\n  \"theme\": \"\u003ctheme-name\u003e\"\n}\n```\n\n## Share with a link\n\n- The share link reopens the exact theme in the editor, including both dark and light modes.\n- Shared URLs hydrate the editor before local draft restore, so collaborators land on the intended version immediately.\n- Install and share commands use a compressed payload that contains the full dark + light theme bundle, not just the current mode.\n\n## Project command\n\n- This repo includes `.opencode/commands/release.md`, so inside OpenCode you can run `/release patch`, `/release minor`, or `/release major` to follow the standard release workflow for Theme Studio.\n\n## Local development\n\n```bash\nnpm install\nnpm run dev\n```\n\nUseful commands:\n\n- `npm run test`\n- `npm run lint`\n- `npm run build`\n- `npm run preview`\n\n## Notes\n\n- Drafts are stored locally in your browser via IndexedDB.\n- Share-link, install-command, and import/export payload generation use compressed theme data and require a browser with `CompressionStream` support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkugot%2Fopencode-theme-studio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkugot%2Fopencode-theme-studio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkugot%2Fopencode-theme-studio/lists"}