The colour theme I use for source code.
Here I store the code theme I use in a variety of formats.
The theme is designed for 'dark' interfaces, starting from the base of the default dark themes for each tool. Each colour was chosen to have an appropriate level of constrast for accessibility and readability.
Please feel free to use the theme if you wish, or alter it to your liking. The theme is not final and I will be tweaking it over time. The theme can always be considered a work-in-progress.
Started from the default Android Studio Darcula theme, keeping the same background colour and using Roboto Mono font.
The theme is optimised for Kotlin and Java, but as colours are provided for the generic syntax types it may apply to other languages or file types as well.
- Kotlin
- Java
- Android Logcat
- Groovy / Gradle
- XML / YAML / JSON / HTML / Properties
- .ignore
- General text, comments, TODOs etc.
The repository contains both 'LordCodes Syntax.icls' and 'LordCodes Syntax.jar'.
- Clone this repository or download it as a zip.
$ git clone https://github.com/lordcodes/lordcodes-syntax-theme.git
- Open Android Studio and navigate to Preferences
- Go to
Editor -> Color Scheme
- Next to 'Scheme' select the cog and
Import Scheme...
- Select either
LordCodes-Syntax.jar
orLordCodes-Syntax.icls
, either should work the same.
Started from the default Xcode dark theme, so uses the same background colour as this and uses SF Mono font.
Primarily optimised for Swift, but should apply in the same way to Objective-C.
- Clone this repository or download it as a zip.
$ git clone https://github.com/lordcodes/lordcodes-syntax-theme.git
- Navigate to (and create if it doesn't exist):
~/Library/Developer/Xcode/UserData/FontAndColorThemes
- Copy the file
xcode/LordCodes-Syntax.xccolortheme
into the folder. - Select it within Xcode.
Includes the SASS files for applying the syntax theme on web, using the Rouge syntax highlighter. Rouge is commonly used with the Jekyll static site generator, which is where the theme has been tested.
- Clone this repository or download it as a zip.
$ git clone https://github.com/lordcodes/lordcodes-syntax-theme.git
- Copy and paste the files from
web-rouge
to your project's SASS location.
Andrew Lord @lordcodes