Update font

This commit is contained in:
2023-01-19 17:43:36 +01:00
parent c1aa7564ed
commit 5795c2e4af
3 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,7 @@
<template>
<div class="bg-white text-gray-900
dark:bg-gray-900 min-h-screen dark:text-slate-50">
dark:bg-gray-900 min-h-screen dark:text-slate-50"
style="font-family: 'Comfortaa';">
<RouterView />
</div>
</template>

View File

@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

View File

@ -1,8 +1,8 @@
<template>
<li>
<router-link :to="props.to" :aria-current="is_active_page ? 'page' : null"
:class="`block py-2 md:p-0 text-right md:text-center text-gray-700 dark:text-slate-50
${is_active_page ? 'font-bold' : 'font-normal hover:underline'}`">
:class="`block py-2 md:p-0 text-right md:text-center
${is_active_page ? 'font-bold text-zinc-900 dark:text-zinc-400' : 'font-normal hover:underline text-gray-700 dark:text-slate-50'}`">
{{ props.label }}
</router-link>
</li>