Sha256: 828552c06f6f5300d879f83bd566a9cfb93331144b4270cc96e34530d9610a10

Contents?: true

Size: 837 Bytes

Versions: 3

Compression:

Stored size: 837 Bytes

Contents

activate(color, ammount)
  if dark(color)
    lighten(color, ammount)
  else
    darken(color, ammount)

// $bg-color = #120018
// $bg-color = #383e40
$bg-color = #eee

if dark($bg-color)
  $fg-color = #eee
else
  $fg-color = #333

if dark($bg-color)
  $status-bg-color = #000
else
  $status-bg-color = #aaa

if dark($bg-color)
  $code-bg-color = $bg-color
else
  $code-bg-color = darken($bg-color, 85%)

$highlight = activate($bg-color, 10%)
$active-highlight = activate($bg-color, 20%)
$normal-border = 1px solid darken($fg-color, 30%)
$scrollbar-track-color = desaturate($active-highlight, 80%)
$scrollbar-thumb-color = desaturate(activate($scrollbar-track-color, 30%), 20%)
$fg-highlight = mix($fg-color, $highlight, 50%)
$fg-active-highlight = mix($fg-color, $active-highlight, 50%)

$enable-gradients = true
$main-font = monospace

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flammarion-0.1.4pre lib/html/source/stylesheets/colors.styl
flammarion-0.1.3 lib/html/source/stylesheets/colors.styl
flammarion-0.1.2 lib/html/source/stylesheets/colors.styl