mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Use yellow color for neutral pro/con icon
This commit is contained in:
parent
84a87951eb
commit
6f51609b5e
|
@ -44,7 +44,7 @@ mixin icon(name, size)
|
||||||
icon - [string] "pro", "con" or "neutral" (default: "neutral")
|
icon - [string] "pro", "con" or "neutral" (default: "neutral")
|
||||||
|
|
||||||
mixin procon(icon)
|
mixin procon(icon)
|
||||||
- colors = { pro: "green", con: "red" }
|
- colors = { pro: "green", con: "red", neutral: "yellow" }
|
||||||
+icon(icon)(class="u-color-#{colors[icon] || 'subtle'}" aria-label=icon)&attributes(attributes)
|
+icon(icon)(class="u-color-#{colors[icon] || 'subtle'}" aria-label=icon)&attributes(attributes)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user