Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Lordcodes Syntax - A code colour theme 🖍 ⌨️

License

Notifications You must be signed in to change notification settings

lordcodes/lordcodes-syntax-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lord Codes Syntax

The colour theme I use for source code.

Here I store the code theme I use in a variety of formats.

  1. Android Studio / IntelliJ
  2. Xcode
  3. Web - Rouge CSS

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.

Android Studio / IntelliJ

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.

Usage

The repository contains both 'LordCodes Syntax.icls' and 'LordCodes Syntax.jar'.

  1. Clone this repository or download it as a zip.
$ git clone https://github.com/lordcodes/lordcodes-syntax-theme.git
  1. Open Android Studio and navigate to Preferences
  2. Go to Editor -> Color Scheme
  3. Next to 'Scheme' select the cog and Import Scheme...
  4. Select either LordCodes-Syntax.jar or LordCodes-Syntax.icls, either should work the same.

Xcode

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.

Usage

  1. Clone this repository or download it as a zip.
$ git clone https://github.com/lordcodes/lordcodes-syntax-theme.git
  1. Navigate to (and create if it doesn't exist):
~/Library/Developer/Xcode/UserData/FontAndColorThemes
  1. Copy the file xcode/LordCodes-Syntax.xccolortheme into the folder.
  2. Select it within Xcode.

Web - Rouge CSS

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.

Usage

  1. Clone this repository or download it as a zip.
$ git clone https://github.com/lordcodes/lordcodes-syntax-theme.git
  1. Copy and paste the files from web-rouge to your project's SASS location.

Author

Andrew Lord @lordcodes