Reorganize files
Now correctly including generic.styl in all other sheets. This was quite a mess to figure out because of the way Stylus handles imports/requires. IIRC, Less doesn't work this way, but, of course, Less is much more limited than Stylus.pull/4/head
parent
c463d9958a
commit
e2104657d8
@ -1,6 +0,0 @@
|
||||
// * main.styl
|
||||
|
||||
// Included in every sheet
|
||||
|
||||
@require "mixins"
|
||||
@require "colors"
|
@ -1,14 +1,21 @@
|
||||
@require "main"
|
||||
// * dark.styl
|
||||
|
||||
@require colors
|
||||
|
||||
// ** Colors
|
||||
color-a = blue
|
||||
color-a-visited = violet
|
||||
|
||||
color-background = base03
|
||||
color-background-highlight = base02
|
||||
color-background-highlight-extra = base01
|
||||
color-background-highlight-extra-less = lighten(color-background-highlight, 4%)
|
||||
color-background-highlight-extra-less-less = lighten(color-background-highlight, 2%)
|
||||
|
||||
color-border = base00
|
||||
color-text = base0
|
||||
comment = base01
|
||||
|
||||
emphasized = base1
|
||||
emphasized-more = base2
|
||||
emphasized-more-more = base3
|
@ -0,0 +1,7 @@
|
||||
// * index.styl
|
||||
|
||||
// Included in every sheet
|
||||
|
||||
@require "sites/generic"
|
||||
|
||||
|
@ -1,16 +1,22 @@
|
||||
@require "main"
|
||||
// * light.styl
|
||||
|
||||
@require colors
|
||||
|
||||
// ** Colors
|
||||
color-a = blue
|
||||
color-a-visited = violet
|
||||
|
||||
color-background = base3
|
||||
color-background-highlight = base2
|
||||
color-background-highlight-extra = base1
|
||||
color-background-highlight-extra-less = darken(color-background-highlight, 4%)
|
||||
color-background-highlight-extra-less-less = darken(color-background-highlight, 2%)
|
||||
|
||||
color-border = base0
|
||||
color-text = base00
|
||||
comment = base1
|
||||
emphasized = base01
|
||||
|
||||
emphasized = base01
|
||||
emphasized-more = base02
|
||||
emphasized-more-more = base03
|
||||
|
Loading…
Reference in New Issue