Skip to content

Instantly share code, notes, and snippets.

@ukdave
Created September 8, 2017 07:37
Show Gist options
  • Save ukdave/24d2daa721487382cbdcbdcf40404965 to your computer and use it in GitHub Desktop.
Save ukdave/24d2daa721487382cbdcbdcf40404965 to your computer and use it in GitHub Desktop.
Atom ansible syntax theme
// colours from one-dark-syntax theme
@mono-1: hsl(220, 14%, 71%); // default text
@hue-1: hsl(187, 47%, 55%); // <-cyan
@hue-2: hsl(207, 82%, 66%); // <-blue
@hue-3: hsl(286, 60%, 67%); // <-purple
@hue-4: hsl( 95, 38%, 62%); // <-green
@hue-5: hsl(355, 65%, 65%); // <-red 1
@hue-5-2: hsl( 5, 48%, 51%); // <-red 2
@hue-6: hsl( 29, 54%, 61%); // <-orange 1
@hue-6-2: hsl( 39, 67%, 69%); // <-orange 2
.syntax--ansible {
.syntax--storage { color: @hue-1; }
.syntax--string { color: @hue-6-2; }
.syntax--attribute-name.syntax--entity.syntax--other { color: @hue-4; }
.syntax--attribute-name.syntax--entity.syntax--other + .syntax--string { color: @mono-1; }
.syntax--constant { color: @hue-3; }
.syntax--keyword { color: @hue-5; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment