Skip to content

Instantly share code, notes, and snippets.

@scragg0x
Created December 12, 2016 22:25
Show Gist options
  • Save scragg0x/c528da983443c4eecd59d8563b2c1507 to your computer and use it in GitHub Desktop.
Save scragg0x/c528da983443c4eecd59d8563b2c1507 to your computer and use it in GitHub Desktop.
Xterm theme
$default-theme:
#2e3436,
#cc0000,
#4e9a06,
#c4a000,
#3465a4,
#75507b,
#06989a,
#d3d7cf,
#555753,
#ef2929,
#8ae234,
#fce94f,
#729fcf,
#ad7fa8,
#34e2e2,
#eeeeec
;
@for $i from 1 through length($default-theme) {
$j: $i - 1;
.terminal {
.xterm-color-#{$j} {
color: nth($default-theme, $i);
}
.xterm-bg-color-#{$j} {
background-color: nth($default-theme, $i);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment