Skip to content

Instantly share code, notes, and snippets.

@gdavis
Created July 19, 2021 21:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdavis/d0ea0e693cca2d0fc1f78ae3fe74dea1 to your computer and use it in GitHub Desktop.
Save gdavis/d0ea0e693cca2d0fc1f78ae3fe74dea1 to your computer and use it in GitHub Desktop.
Twilight – A Custom Xcode Theme
<?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>1 1 1 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>SFMono-Semibold - 13.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleDebuggerOutputTextFont</key>
<string>SFMono-Semibold - 13.0</string>
<key>DVTConsoleDebuggerPromptTextColor</key>
<string>0.255 0.801 0.27 1</string>
<key>DVTConsoleDebuggerPromptTextFont</key>
<string>SFMono-Semibold - 13.0</string>
<key>DVTConsoleExectuableInputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleExectuableInputTextFont</key>
<string>SFMono-Semibold - 13.0</string>
<key>DVTConsoleExectuableOutputTextColor</key>
<string>0.902426 0.841964 0.537094 1</string>
<key>DVTConsoleExectuableOutputTextFont</key>
<string>SFMono-Semibold - 13.0</string>
<key>DVTConsoleTextBackgroundColor</key>
<string>0 0 0 1</string>
<key>DVTConsoleTextInsertionPointColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleTextSelectionColor</key>
<string>0.512 0.488 0.378 1</string>
<key>DVTDebuggerInstructionPointerColor</key>
<string>0.420701 0.189216 0.346376 1</string>
<key>DVTFontAndColorVersion</key>
<integer>1</integer>
<key>DVTFontSizeModifier</key>
<integer>-1</integer>
<key>DVTLineSpacing</key>
<real>1</real>
<key>DVTMarkupTextBackgroundColor</key>
<string>0.08 0.08 0.08 1</string>
<key>DVTMarkupTextBorderColor</key>
<string>0.1536 0.1536 0.1536 1</string>
<key>DVTMarkupTextCodeFont</key>
<string>SFMono-Regular - 12.0</string>
<key>DVTMarkupTextEmphasisColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextEmphasisFont</key>
<string>.SFNS-RegularItalic - 14.0</string>
<key>DVTMarkupTextInlineCodeColor</key>
<string>1 1 1 0.7</string>
<key>DVTMarkupTextLinkColor</key>
<string>0 0.366688 1 1</string>
<key>DVTMarkupTextLinkFont</key>
<string>.SFNS-Regular - 14.0</string>
<key>DVTMarkupTextNormalColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextNormalFont</key>
<string>.SFNS-Regular - 14.0</string>
<key>DVTMarkupTextOtherHeadingColor</key>
<string>1 1 1 0.5</string>
<key>DVTMarkupTextOtherHeadingFont</key>
<string>Helvetica - 20.0</string>
<key>DVTMarkupTextPrimaryHeadingColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextPrimaryHeadingFont</key>
<string>Helvetica - 35.0</string>
<key>DVTMarkupTextSecondaryHeadingColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextSecondaryHeadingFont</key>
<string>Helvetica - 26.0</string>
<key>DVTMarkupTextStrongColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextStrongFont</key>
<string>.SFNS-Bold - 14.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 0 0 1</string>
<key>DVTSourceTextBlockDimBackgroundColor</key>
<string>0.5 0.5 0.5 1</string>
<key>DVTSourceTextCurrentLineHighlightColor</key>
<string>0.0238422 0.0328948 0.25 1</string>
<key>DVTSourceTextInsertionPointColor</key>
<string>1 0 1 1</string>
<key>DVTSourceTextInvisiblesColor</key>
<string>0.0933592 0.0859235 0.0670403 1</string>
<key>DVTSourceTextSelectionColor</key>
<string>0.095369 0.131579 1 1</string>
<key>DVTSourceTextSyntaxColors</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>0.247 0.345 0.454 1</string>
<key>xcode.syntax.character</key>
<string>1 0.965433 0 1</string>
<key>xcode.syntax.comment</key>
<string>0.723469 0.723776 0.803608 1</string>
<key>xcode.syntax.comment.doc</key>
<string>0.669343 0.673579 0.787144 1</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>0.238778 0.28912 0.454082 1</string>
<key>xcode.syntax.declaration.other</key>
<string>0.254902 0.631373 0.752941 1</string>
<key>xcode.syntax.declaration.type</key>
<string>0.362946 0.846428 0.998966 1</string>
<key>xcode.syntax.identifier.class</key>
<string>0.3307 1 0.655477 1</string>
<key>xcode.syntax.identifier.class.system</key>
<string>0 0.759041 1 1</string>
<key>xcode.syntax.identifier.constant</key>
<string>0.656089 0.879416 1 1</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>0.436727 0.705183 0.918478 1</string>
<key>xcode.syntax.identifier.function</key>
<string>1 0.952481 0.717733 1</string>
<key>xcode.syntax.identifier.function.system</key>
<string>1 0.864054 0.517614 1</string>
<key>xcode.syntax.identifier.macro</key>
<string>0.896 0.488 0.284 1</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>1 0.4574 0.381229 1</string>
<key>xcode.syntax.identifier.type</key>
<string>0.137 1 0.512 1</string>
<key>xcode.syntax.identifier.type.system</key>
<string>0 0.626 1 1</string>
<key>xcode.syntax.identifier.variable</key>
<string>0.699776 1 0.852511 1</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>0.708727 0.90021 1 1</string>
<key>xcode.syntax.keyword</key>
<string>1 0.501961 0 1</string>
<key>xcode.syntax.mark</key>
<string>0.572549 0.631373 0.694118 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.926525 0 1</string>
<key>xcode.syntax.plain</key>
<string>1 1 1 1</string>
<key>xcode.syntax.preprocessor</key>
<string>1 0 0.355299 1</string>
<key>xcode.syntax.string</key>
<string>0 0.630435 0.0469907 1</string>
<key>xcode.syntax.url</key>
<string>0 0.366688 1 1</string>
</dict>
<key>DVTSourceTextSyntaxFonts</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.character</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.comment</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.comment.doc</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.declaration.other</key>
<string>SFMono-Medium - 15.0</string>
<key>xcode.syntax.declaration.type</key>
<string>SFMono-Medium - 15.0</string>
<key>xcode.syntax.identifier.class</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.class.system</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.constant</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.function</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.function.system</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.macro</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.type</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.type.system</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.variable</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.keyword</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.mark</key>
<string>SFMono-Bold - 15.0</string>
<key>xcode.syntax.markup.code</key>
<string>SFMono-Medium - 15.0</string>
<key>xcode.syntax.number</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.plain</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.preprocessor</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.string</key>
<string>SFMono-Light - 15.0</string>
<key>xcode.syntax.url</key>
<string>SFMono-Light - 15.0</string>
</dict>
</dict>
</plist>
@gdavis
Copy link
Author

gdavis commented Jul 19, 2021

To install this theme, create a new file called "Twilight.xccolortheme" in this directory using the contents of the gist:

~/Library/Developer/Xcode/UserData/FontAndColorThemes/

@Flpph
Copy link

Flpph commented Jul 19, 2021

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment