https://github.com/xscriptor/xcode
X vision on Xcode
https://github.com/xscriptor/xcode
customisation developers themes xcode xcode-theme xcode-themes
Last synced: 9 days ago
JSON representation
X vision on Xcode
- Host: GitHub
- URL: https://github.com/xscriptor/xcode
- Owner: xscriptor
- License: mit
- Created: 2026-06-19T08:19:45.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2026-06-19T15:48:34.000Z (28 days ago)
- Last Synced: 2026-06-19T17:34:10.638Z (28 days ago)
- Topics: customisation, developers, themes, xcode, xcode-theme, xcode-themes
- Language: Python
- Homepage: https://dev.xscriptor.com/en/?mode=so
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
Xcode Xscriptor
Convert ANSI terminal color palettes (16 colors per palette, 12 palettes) to .xccolortheme files for Xcode.
Content
Overview
This generator reads ANSI terminal palettes (16 colors each, 12 palettes) defined in
colors.md and produces Xcode
.xccolortheme files. Each palette maps to 24 Xcode syntax
tokens (keywords, strings, comments, types, etc.) so that the editor's
syntax highlighting matches the terminal color scheme.
Canonical themes live in themes/.
When the source palette changes, run the generator to rebuild them into
labs/dist/.
Themes
Theme
Background
Type
X
#050505dark
Madrid
#fafafalight
Lahabana
#19191adark
Miami
#000000dark
Paris
#1a0a30dark
Tokio
#1c1c1ddark
Oslo
#3f4451dark
Helsinki
#f8fafelight
Berlin
#000000dark (monochrome)
London
#fffffflight (monochrome)
Praha
#1a1a1adark
Bogota
#200b0adark
Usage
cd labs
python3 generate_themes.py
All .xccolortheme files are written to labs/dist/. Once tested, promote them to themes/ if desired.
Programmatic API
from labs.generate_themes import make_theme, THEMES, SYNTAX_MAP
theme = THEMES["Praha"]
colors = make_theme("Praha", theme)
Installation
Local
./install.sh # install all themes
./install.sh Praha # install a single theme
Remote (from GitHub)
REPO="xscriptor/xcode" bash <(curl -fsSL https://raw.githubusercontent.com/xscriptor/xcode/main/install.sh)
Install a single theme remotely:
REPO="xscriptor/xcode" bash <(curl -fsSL https://raw.githubusercontent.com/xscriptor/xcode/main/install.sh) -s Praha
Uninstall
./install.sh -u # local uninstall
REPO="xscriptor/xcode" bash <(curl -fsSL ...) -s -- -u # remote uninstall
This removes any theme file matching the known theme names from ~/Library/Developer/Xcode/UserData/FontAndColorThemes/.
After installation, restart Xcode and select the theme from Xcode > Preferences > Themes.
Related Documents
- colors.md
- CONTRIBUTING.md
- SECURITY.md
- CODE_OF_CONDUCT.md
- docs/color-mapping.md
- labs/README.md
- labs/README.md