Use a light-on-dark theme in Xcode? You'll want this!
ThinStrokes is an Xcode plugin that forces text to draw using “Thin Strokes” as applied in iTerm 2 for retina displays.
In a nutshell, the NSLayoutManager
class is swizzled to force drawing with an undocumented smoothing mode, as done by iTerm in the following code:
This is probably a horrible idea, but it’s way easier on the eyes! Bask in all its crisp glory!
Again, this is a horrible idea, so if stuff starts breaking randomly, don’t say I didn’t warn you…
Install Alcatraz, search for ‘ThinStrokes’, and hit the install button!.
Clone this repo, update the submodule, and build the project using xcodebuild -configuration Release
at the Terminal, or use the ‘Build for Profiling’ action in Xcode to get a release build.
The output is built directly in Xcode’s plugins folder.