Sha256: ea83554ede236927f48aaec620aa1fe20aa2643a5d0912a9d1dad1a2cb4484d7

Contents?: true

Size: 572 Bytes

Versions: 6

Compression:

Stored size: 572 Bytes

Contents

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

$bg-color = #120018

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

$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%)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flammarion-0.0.9 lib/html/source/stylesheets/colors.styl
flammarion-0.0.8 lib/html/source/stylesheets/colors.styl
flammarion-0.0.7 lib/html/source/stylesheets/colors.styl
flammarion-0.0.6 lib/html/source/stylesheets/colors.styl
flammarion-0.0.5 lib/html/source/stylesheets/colors.styl
flammarion-0.0.4 lib/html/source/stylesheets/colors.styl