Letβs say youβre creating a CLI tool which has to display syntax highlighted source code. You begin by choosing some colors which look nice with your chosen terminal theme:~ β zsh β Sorcerer β 51Γ11% highlight foo # just some docs func HelloWorld() [12]u8 { return "hello world\n" } Finished highlighting in 0.02 seconds. % βNice! However, who knows if itβll still look good for people who use a theme different to yours? It seems sensible to try out the defaults, at least. Letβs start with the macOS Terminal.app default theme:~ β zsh β Basic β 51Γ11% highlight foo # just some docs func HelloWorld() [12]u8 { return "hello world\n" } Finished highlighting in 0.02 seconds. % β~ β zsh β Basic β 51Γ11% highlight foo # just some docs func HelloWorld() [12]u8 { return "hello world\n" } Finished highlighting in 0.02 seconds. % βYouch! It seems fair to try the Tango themes next, since those are the default on e.g. Ubuntu:~ β zsh β Tango Light β 51Γ11% highlight foo # just some docs func HelloWorld() [12]u8 { return "hello world\n" } Finished highlighting in 0.02 seconds. % β~ β zsh β Tango Dark β 51Γ11% highlight foo # just some docs func HelloWorld() [12]u8 { return "hello world\n" } Finished highlighting in 0.02 seconds. % βHmm, better, but not by much. Finally, letβs try what is likely the most popular custom terminal theme β Solarized:~ β zsh β Solarized Light β 51Γ11% highlight foo # just some docs func HelloWorld() [12]u8 { return "hello world\n" } Finished highlighting in 0.02 seconds. % β~ β zsh β Solarized Dark β 51Γ11% highlight foo # just some docs func HelloWorld() [12]u8 { return "hello world\n" } Finished highlighting in 0.02 seconds. % βWell then … Letβs take a look at each palette and investigate.Sorcerer~ β zsh β Sorcerer β 51Γ11% colortest ββ black ββ brblack ββ red ββ brred ββ green ββ brgreen ββ yellow ββ bryellow ββ blue ββ brblue ββ magenta ββ brmagenta ββ cyan ββ brcyan ββ white ββ brwhite % βIn Sorcerer, all colors are readable on the default backgr...
First seen: 2026-01-29 15:32
Last seen: 2026-01-29 17:33