Refactor icons & tailwindcss plugins #21

Merged
glazk0 merged 6 commits from dev into main 2024-04-06 19:49:21 +02:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit af5e5c2c2c - Show all commits

View file

@ -1,5 +1,5 @@
<script lang="ts"> <script lang="ts">
import { ArrowUpRight } from 'lucide-svelte'; import ArrowUpRight from 'lucide-svelte/icons/arrow-up-right';
import type { HTMLAnchorAttributes } from 'svelte/elements'; import type { HTMLAnchorAttributes } from 'svelte/elements';
import { Drawer } from 'vaul-svelte'; import { Drawer } from 'vaul-svelte';

View file

@ -1,5 +1,5 @@
<script lang="ts"> <script lang="ts">
import { Menu } from 'lucide-svelte'; import Menu from 'lucide-svelte/icons/menu';
import { navigation } from '$lib/config'; import { navigation } from '$lib/config';
@ -11,9 +11,9 @@
<Drawer.Root> <Drawer.Root>
<Drawer.Trigger asChild let:builder aria-label="open mobile menu"> <Drawer.Trigger asChild let:builder aria-label="open mobile menu">
<Button class="sm:hidden" builders={[builder]} variant="outline" size="icon" <Button class="sm:hidden" builders={[builder]} variant="outline" size="icon">
><Menu class="h-4 w-4" /></Button <Menu class="h-4 w-4" />
> </Button>
</Drawer.Trigger> </Drawer.Trigger>
<Drawer.Content> <Drawer.Content>
<div class="container mx-auto"> <div class="container mx-auto">