Skip to content

Instantly share code, notes, and snippets.

@nickcernis
Last active December 11, 2024 11:27
Show Gist options
  • Save nickcernis/cf0bb537107c0584bdbc5f8aa168c8b3 to your computer and use it in GitHub Desktop.
Save nickcernis/cf0bb537107c0584bdbc5f8aa168c8b3 to your computer and use it in GitHub Desktop.
Xcode Toyko Night theme

Tokyo Night theme for Xcode

To install

  1. Quit Xcode.

  2. Download the theme to your Xcode theme folder:

    curl -fsSL https://gist.githubusercontent.com/nickcernis/cf0bb537107c0584bdbc5f8aa168c8b3/raw/d2ec6191e59d0b7d11119106a896d8540f73e322/TokyoNight.xccolortheme -o ~/Library/Developer/Xcode/UserData/FontAndColorThemes/TokyoNight.xccolortheme
  3. Start Xcode.

  4. Set your theme at Xcode → Settings → Themes.

  5. Set your font size in the same location by selecting all text types from "Plain Text" to the end with ⌘A before changing the font size. Repeat for Source Editor and Console.

MIT licence.
Based on the VS Code version by Enkia.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>SFMono-Medium - 14.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTConsoleDebuggerOutputTextFont</key>
<string>SFMono-Medium - 14.0</string>
<key>DVTConsoleDebuggerPromptTextColor</key>
<string>0.478 0.637 0.968 1</string>
<key>DVTConsoleDebuggerPromptTextFont</key>
<string>SFMono-Medium - 14.0</string>
<key>DVTConsoleExectuableInputTextColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTConsoleExectuableInputTextFont</key>
<string>SFMono-Medium - 14.0</string>
<key>DVTConsoleExectuableOutputTextColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTConsoleExectuableOutputTextFont</key>
<string>SFMono-Medium - 14.0</string>
<key>DVTConsoleTextBackgroundColor</key>
<string>0.086 0.086 0.118 1</string>
<key>DVTConsoleTextInsertionPointColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTConsoleTextSelectionColor</key>
<string>0.317 0.359 0.492 0.3</string>
<key>DVTFontAndColorVersion</key>
<integer>1</integer>
<key>DVTLineSpacing</key>
<real>1.1000000238418579</real>
<key>DVTMarkupTextBackgroundColor</key>
<string>0.17384 0.17752 0.21708 1</string>
<key>DVTMarkupTextBorderColor</key>
<string>0.239933 0.243318 0.279714 1</string>
<key>DVTMarkupTextCodeFont</key>
<string>SFMono-Regular - 10.0</string>
<key>DVTMarkupTextEmphasisColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTMarkupTextEmphasisFont</key>
<string>.SFNS-RegularItalic - 10.0</string>
<key>DVTMarkupTextInlineCodeColor</key>
<string>0.754 0.774 0.96 0.7</string>
<key>DVTMarkupTextLinkColor</key>
<string>0.451 0.851 0.792 1</string>
<key>DVTMarkupTextLinkFont</key>
<string>.SFNS-Regular - 10.0</string>
<key>DVTMarkupTextNormalColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTMarkupTextNormalFont</key>
<string>.SFNS-Regular - 10.0</string>
<key>DVTMarkupTextOtherHeadingColor</key>
<string>0.754 0.774 0.96 0.5</string>
<key>DVTMarkupTextOtherHeadingFont</key>
<string>.SFNS-Regular - 14.0</string>
<key>DVTMarkupTextPrimaryHeadingColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTMarkupTextPrimaryHeadingFont</key>
<string>.SFNS-Regular - 24.0</string>
<key>DVTMarkupTextSecondaryHeadingColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTMarkupTextSecondaryHeadingFont</key>
<string>.SFNS-Regular - 18.0</string>
<key>DVTMarkupTextStrongColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTMarkupTextStrongFont</key>
<string>.SFNS-Bold - 10.0</string>
<key>DVTScrollbarMarkerAnalyzerColor</key>
<string>0.403922 0.372549 1 1</string>
<key>DVTScrollbarMarkerBreakpointColor</key>
<string>0.290196 0.290196 0.968627 1</string>
<key>DVTScrollbarMarkerDiffColor</key>
<string>0.556863 0.556863 0.556863 1</string>
<key>DVTScrollbarMarkerDiffConflictColor</key>
<string>0.968627 0.290196 0.290196 1</string>
<key>DVTScrollbarMarkerErrorColor</key>
<string>0.968627 0.290196 0.290196 1</string>
<key>DVTScrollbarMarkerRuntimeIssueColor</key>
<string>0.643137 0.509804 1 1</string>
<key>DVTScrollbarMarkerWarningColor</key>
<string>0.937255 0.717647 0.34902 1</string>
<key>DVTSourceTextBackground</key>
<string>0.102 0.106 0.149 1</string>
<key>DVTSourceTextBlockDimBackgroundColor</key>
<string>0.086 0.086 0.118 1</string>
<key>DVTSourceTextCurrentLineHighlightColor</key>
<string>0.117 0.125 0.18 1</string>
<key>DVTSourceTextInsertionPointColor</key>
<string>0.754 0.774 0.96 1</string>
<key>DVTSourceTextInvisiblesColor</key>
<string>0.212 0.231 0.329 1</string>
<key>DVTSourceTextSelectionColor</key>
<string>0.317 0.359 0.492 0.3</string>
<key>DVTSourceTextSyntaxColors</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>0.733 0.604 0.965 1</string>
<key>xcode.syntax.character</key>
<string>1 0.62 0.392 1</string>
<key>xcode.syntax.comment</key>
<string>0.318 0.349 0.49 1</string>
<key>xcode.syntax.comment.doc</key>
<string>0.353 0.388 0.549 1</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>0.392 0.431 0.612 1</string>
<key>xcode.syntax.declaration.other</key>
<string>0.478 0.637 0.968 1</string>
<key>xcode.syntax.declaration.type</key>
<string>0.051 0.725 0.843 1</string>
<key>xcode.syntax.identifier.class</key>
<string>0.051 0.725 0.843 1</string>
<key>xcode.syntax.identifier.class.system</key>
<string>0.051 0.725 0.843 1</string>
<key>xcode.syntax.identifier.constant</key>
<string>1 0.62 0.392 1</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>0.878 0.686 0.408 1</string>
<key>xcode.syntax.identifier.function</key>
<string>0.478 0.637 0.968 1</string>
<key>xcode.syntax.identifier.function.system</key>
<string>0.051 0.725 0.843 1</string>
<key>xcode.syntax.identifier.macro</key>
<string>0.451 0.851 0.792 1</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>0.451 0.851 0.792 1</string>
<key>xcode.syntax.identifier.type</key>
<string>0.733 0.604 0.965 1</string>
<key>xcode.syntax.identifier.type.system</key>
<string>0.051 0.725 0.843 1</string>
<key>xcode.syntax.identifier.variable</key>
<string>0.754 0.774 0.96 1</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>0.754 0.774 0.96 1</string>
<key>xcode.syntax.keyword</key>
<string>0.733 0.604 0.965 1</string>
<key>xcode.syntax.mark</key>
<string>0.478 0.637 0.968 1</string>
<key>xcode.syntax.markup.code</key>
<string>0.665 0.052 0.569 1</string>
<key>xcode.syntax.number</key>
<string>1 0.62 0.392 1</string>
<key>xcode.syntax.plain</key>
<string>0.754 0.774 0.96 1</string>
<key>xcode.syntax.preprocessor</key>
<string>0.451 0.851 0.792 1</string>
<key>xcode.syntax.regex</key>
<string>0.989117 0.41558 0.365684 1</string>
<key>xcode.syntax.regex.capturename</key>
<string>0.405383 0.717051 0.642088 1</string>
<key>xcode.syntax.regex.charname</key>
<string>0.632318 0.402193 0.901151 1</string>
<key>xcode.syntax.regex.number</key>
<string>0.814983 0.749393 0.412334 1</string>
<key>xcode.syntax.regex.other</key>
<string>1 1 1 0.85</string>
<key>xcode.syntax.string</key>
<string>0.62 0.804 0.416 1</string>
<key>xcode.syntax.url</key>
<string>0.451 0.851 0.792 1</string>
</dict>
<key>DVTSourceTextSyntaxFonts</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.character</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.comment</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.comment.doc</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.declaration.other</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.declaration.type</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.class</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.class.system</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.constant</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.function</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.function.system</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.macro</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.type</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.type.system</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.variable</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.keyword</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.mark</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.markup.code</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.number</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.plain</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.preprocessor</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.regex</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.regex.capturename</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.regex.charname</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.regex.number</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.regex.other</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.string</key>
<string>SFMono-Medium - 14.0</string>
<key>xcode.syntax.url</key>
<string>SFMono-Medium - 14.0</string>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment