ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Spartan Color Scheme

by renzojohnson ST3

Dark color scheme for Sublime Text with deep purple-black background and vivid syntax highlighting

Details

Installs

  • Total 44
  • Win 17
  • Mac 13
  • Linux 14
Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Spartan Color Scheme

License Downloads Latest Release

A dark and light color scheme for Sublime Text with a deep purple-black background and vivid Monokai-inspired syntax highlighting. Designed for long coding sessions with high readability and minimal eye strain.

Variants

Variant Background Best For
Spartan (dark) #0d0717 #0d0717 Low-light / night coding
Spartan Light #fafafa #fafafa Bright environments / daylight

Preview

Spartan (Dark)

Spartan Dark

PHP

JavaScript

CSS

HTML

Installation

Package Control (Recommended)

  1. Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Select Package Control: Install Package
  3. Search for Spartan Color Scheme
  4. Activate:
    • Dark: Preferences > Color Scheme > Spartan
    • Light: Preferences > Color Scheme > Spartan Light

Manual Installation

  1. Download the desired scheme files
  2. Place in Packages/User/ (Preferences > Browse Packages)
  3. Activate via Preferences > Color Scheme

Sublime Text < Build 3149

Use the .tmTheme files. Add to your settings:

"color_scheme": "Packages/Spartan Color Scheme/Spartan.tmTheme"

Colors (Dark)

Role Color Hex
Background #0d0717 #0d0717
Foreground #ffffff #ffffffd9
Caret #ffd800 #ffd800
Comments #dddddd #dddddd65
Strings #e6db74 #e6db74
Keywords #f92672 #f92672
Functions/Classes #a6e22e #a6e22e
Types/Library #66d9ef #66d9ef
Numbers/Constants #ae81ff #ae81ff
Parameters #fd971f #fd971f

Colors (Light)

Role Color Hex
Background #fafafa #fafafa
Foreground #2d2d2d #2d2d2d
Comments #6e6e6e #6e6e6e
Strings #8a7020 #8a7020
Keywords #c4166a #c4166a
Functions/Classes #487000 #487000
Types/Library #14707e #14707e
Numbers/Constants #7040c0 #7040c0
Parameters #a85a00 #a85a00

Plugin Compatibility

Spartan includes dedicated scopes for these popular Sublime Text plugins:

  • GitGutter — colored gutter marks for insertions, deletions, and changes
  • BracketHighlighter — per-bracket-type coloring (curly, round, square, angle, tag, quote)
  • SublimeLinter — error, warning, and info mark colors (SublimeLinter 4+)

Supported Languages

Full syntax coverage for PHP, JavaScript, TypeScript, HTML, CSS, LESS, Sass/SCSS, JSON, YAML, Markdown, SQL, Python, Shell/Bash, CoffeeScript, Makefile, Twig, Handlebars, and all languages using standard TextMate scopes.

Credits