Move mixins to separate file, adjust requires
parent
640a17b7c0
commit
915ef10e79
@ -0,0 +1,6 @@
|
||||
// * main.styl
|
||||
|
||||
// Included in every sheet
|
||||
|
||||
@require "mixins"
|
||||
@require "colors"
|
@ -0,0 +1,29 @@
|
||||
// * mixins.styl
|
||||
|
||||
// Mixins for use in all sheets
|
||||
|
||||
i = !important
|
||||
|
||||
a()
|
||||
color blue i
|
||||
|
||||
background-color(c = color-background)
|
||||
if c is "highlight"
|
||||
c = color-background-highlight
|
||||
if c is "highlight-extra"
|
||||
c = color-background-highlight-extra
|
||||
background-color c i
|
||||
|
||||
bold()
|
||||
font-weight bold i
|
||||
|
||||
border-color(args...)
|
||||
if args
|
||||
c = args
|
||||
else
|
||||
c = color-border
|
||||
border-color c i
|
||||
|
||||
color(c = color-text)
|
||||
color c i
|
||||
|
Loading…
Reference in New Issue