Sha256: 6e74cb2a1e29aca397c517cfd1f9fec832afe60184536c02eb51c30bf0038686

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 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%)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flammarion-0.0.2 lib/html/source/stylesheets/colors.styl
flammarion-0.0.1 lib/html/source/stylesheets/colors.styl