Cleanup & Redefine font weights

This commit is contained in:
2022-05-20 22:28:35 +02:00
parent 0751e22fb1
commit 3de6764fb5
2 changed files with 3 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
<script lang="ts"> <script lang="ts">
import { page } from '$app/stores' import { page } from '$app/stores'
import { onMount, tick } from 'svelte'
import { fade } from 'svelte/transition' import { fade } from 'svelte/transition'
import { scrollToTop } from '$utils/functions' import { scrollToTop } from '$utils/functions'
import { DURATION } from '$utils/contants' import { DURATION } from '$utils/contants'
@@ -10,7 +9,6 @@
$: doNotScroll = !$page.url.searchParams.get('country') && !$page.url.pathname.includes('/shop') $: doNotScroll = !$page.url.searchParams.get('country') && !$page.url.pathname.includes('/shop')
</script> </script>
<main class={name} <main class={name}
in:fade={{ duration: DURATION.PAGE_IN, delay: DURATION.PAGE_DELAY }} in:fade={{ duration: DURATION.PAGE_IN, delay: DURATION.PAGE_DELAY }}
out:fade={{ duration: DURATION.PAGE_OUT }} out:fade={{ duration: DURATION.PAGE_OUT }}

View File

@@ -1,8 +1,8 @@
/* Fonts list /* Fonts list
========================================================================== */ ========================================================================== */
@include font-face("Garnett", "G-Light", 200); @include font-face("Garnett", "G-Light", 200);
@include font-face("Garnett", "G-Regular", 300); @include font-face("Garnett", "G-Regular", 400);
@include font-face("Garnett", "G-Medium", 400); @include font-face("Garnett", "G-Medium", 500);
@include font-face("Garnett", "G-Semibold", 500); @include font-face("Garnett", "G-Semibold", 600);
@include font-face("Magnolia", "M-Extralight", 200); @include font-face("Magnolia", "M-Extralight", 200);
@include font-face("Magnolia", "M-Light", 300); @include font-face("Magnolia", "M-Light", 300);