|
|
||
|---|---|---|
| .. | ||
| Gruvbox Dark (Inconsolata 14).dvtcolortheme | ||
| Gruvbox Dark (SF Mono 11).dvtcolortheme | ||
| Gruvbox Light (Inconsolata 14).dvtcolortheme | ||
| Gruvbox Light (SF Mono 11).dvtcolortheme | ||
| README.md | ||
Gruvbox for Xcode
How to Install
-
Create Xcode custom themes folder:
~/Library/Developer/Xcode/UserData/FontAndColorThemes/$ mkdir -p ~/Library/Developer/Xcode/UserData/FontAndColorThemes/ -
Download
*.dvtcolorthemefiles to this folder. -
Restart Xcode. Gruvbox dark and light themes will appear in Fonts & Colors list in Xcode Preferences.
Alternatively, you can also create symbolic links to your copy of Xcode *.dvtcolortheme files inside FontAndColorThemes folder.
For example,
- Clone
gruvbox-contrib cd gruvbox-contrib/xcode- Then
ln -s `pwd`/"Gruvbox Dark (SF Mono 11).dvtcolortheme" ~/Library/Developer/Xcode/UserData/FontAndColorThemes/"Gruvbox Dark (SF Mono 11).dvtcolortheme"
If you are using fish shell, you can use this loop,
for file in *
echo $file
ln -s ""(pwd)/$file ~/Library/Developer/Xcode/UserData/FontAndColorThemes/$file""
end
Fonts
Xcode themes have fonts embedded in them. Follow these steps to change font or font size,
Say you want to use Menlo font with 11.0 pt size.
- Create a copy of
Gruvbox Dark (Inconsolata 14).dvtcolortheme - Open it in your favorite editor
- Replace all instances of
Inconsolata - 14.0withMenlo-Regular - 11.0 - Save file and restart Xcode
Inconsolata Font
You can install Inconsolata font using brew cask. First make sure you have brew and Cask installed. Then follow these steps,
brew tap caskroom/fontsbrew cask install font-inconsolata
Acknowledgements
Xcode themes were generated with the help of following projects,