feat: use currentStroke for icons

This commit is contained in:
EETagent 2022-12-05 14:54:50 +01:00
parent 7cb6739ab8
commit f238679398
5 changed files with 10 additions and 9 deletions

View file

@ -12,9 +12,9 @@
<style>
path {
@apply fill-sspsBlue;
@apply fill-current;
}
path:nth-child(2) {
@apply stroke-sspsBlue;
@apply stroke-current;
}
</style>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -10,10 +10,10 @@
<style>
svg {
@apply stroke-sspsBlue fill-sspsBlue;
@apply stroke-current fill-current;
}
g,
path {
@apply fill-sspsBlue stroke-sspsBlue;
@apply fill-current stroke-current;
}
</style>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -10,6 +10,6 @@
<style>
path {
@apply fill-sspsBlue stroke-sspsBlue;
@apply fill-current stroke-current;
}
</style>

Before

Width:  |  Height:  |  Size: 524 B

After

Width:  |  Height:  |  Size: 522 B

View file

@ -20,4 +20,7 @@
</TextField>
<style>
div {
@apply text-sspsBlue;
}
</style>

View file

@ -3,10 +3,8 @@
import { apiFillDetails } from '$lib/@api/candidate';
import Submit from '$lib/components/button/Submit.svelte';
import Email from '$lib/components/icons/Email.svelte';
import Home from '$lib/components/icons/Home.svelte';
import SchoolBadge from '$lib/components/icons/SchoolBadge.svelte';
import Telephone from '$lib/components/icons/Telephone.svelte';
import SplitLayout from '$lib/components/layout/SplitLayout.svelte';
import SelectField from '$lib/components/SelectField.svelte';
import EmailField from '$lib/components/textfield/EmailField.svelte';
@ -187,7 +185,7 @@
placeholder="Místo narození"
icon
>
<div slot="icon" class="flex items-center justify-center">
<div slot="icon" class="flex items-center justify-center text-sspsBlue">
<Home />
</div>
</TextField>
@ -285,7 +283,7 @@
</span>
</div>
{/if}
<div class="mt-8 w-full">
<Submit
on:click={async (e) => {