added custom checkmark svg

This commit is contained in:
Ben Wheeler 2019-08-19 17:53:20 +02:00
parent 092d587620
commit 4740234f29
2 changed files with 3 additions and 5 deletions

View file

@ -22,10 +22,7 @@ input[type="checkbox"].formik-checkbox {
text-indent: .125rem;
line-height: 1.25rem;
font-size: .75rem;
&:after {
color: $type-white;
content: "\2714";
}
background-image: url("/svgs/forms/checkmark.svg");
background-position: center;
}
}

View file

@ -0,0 +1 @@
<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M7.861 15.403a1.66 1.66 0 0 1-1.177-.488L3.488 11.72a1.663 1.663 0 0 1 0-2.354 1.663 1.663 0 0 1 2.354 0l2.02 2.02 6.297-6.297a1.665 1.665 0 0 1 2.354 2.354l-7.475 7.473a1.66 1.66 0 0 1-1.177.488" id="a"/></defs><use fill="#FFF" xlink:href="#a" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 393 B