Fixes #17 - add variable for colour text
This commit is contained in:
parent
b5ab99da8d
commit
f358266533
@ -139,13 +139,16 @@
|
||||
- return o;
|
||||
- }
|
||||
|
||||
if !colortxt
|
||||
- var colortxt = "color"
|
||||
|
||||
|
||||
mixin accessibility-info(c)
|
||||
div.acchb
|
||||
span color & black
|
||||
span #{colortxt} & black
|
||||
small= getContrastRatio(color(c, "rgb"), "rgb(0,0,0)") + ":1"
|
||||
div.acchw
|
||||
span color & white
|
||||
span #{colortxt} & white
|
||||
small= getContrastRatio(color(c, "rgb"), "rgb(255,255,255)") + ":1"
|
||||
div.aa WCAG 2.0 AA
|
||||
div.accbaa.result
|
||||
|
Loading…
Reference in New Issue
Block a user