Sha256: f8ba742d77229f827a77257bf39d896e1c1354043fe278f26648bf70f838ff70

Contents?: true

Size: 887 Bytes

Versions: 2

Compression:

Stored size: 887 Bytes

Contents

@import 'colors.styl'

set-ansi(val)
  &-fg
    if light($bg-color)
      color darken(val, 60%)
    else
      color val
  &-bg
    background-color val
  &-bg&-fg
    color val

.ansi-black
  set-ansi(rgb(41, 41, 41))
.ansi-red
  set-ansi(rgb(187, 0, 0))
.ansi-green
  set-ansi(rgb(0, 187, 0))
.ansi-yellow
  set-ansi(rgb(187, 187, 0))
.ansi-blue
  set-ansi(rgb(35, 75, 198))
.ansi-magenta
  set-ansi(rgb(187, 0, 187))
.ansi-cyan
  set-ansi(rgb(0, 187, 187))
.ansi-white
  set-ansi(rgb(255,255,255))
.ansi-bright-black
  set-ansi(rgb(85, 85, 85))
.ansi-bright-red
  set-ansi(rgb(255, 85, 85))
.ansi-bright-green
  set-ansi(rgb(0, 255, 0))
.ansi-bright-yellow
  set-ansi(rgb(255, 255, 85))
.ansi-bright-blue
  set-ansi(rgb(85, 85, 255))
.ansi-bright-magenta
  set-ansi(rgb(255, 85, 255))
.ansi-bright-cyan
  set-ansi(rgb(85, 255, 255))
.ansi-bright-white
  set-ansi(rgb(255, 255, 255))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flammarion-0.0.12 lib/html/source/stylesheets/ansi_colors.styl
flammarion-0.0.11 lib/html/source/stylesheets/ansi_colors.styl