You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
467 B
Stylus
30 lines
467 B
Stylus
9 years ago
|
// * 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
|
||
|
|