Skip to content

Commit

Permalink
feat: add global styles
Browse files Browse the repository at this point in the history
  • Loading branch information
bbtgnn committed Feb 25, 2024
1 parent a2d63ea commit c687ea2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/app.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

.link {
@apply cursor-pointer text-blue-600 underline hover:text-blue-400;
}
2 changes: 1 addition & 1 deletion src/routes/(collections)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</script>

<div class="bg-surface-700 p-4">
<a class="anchor" href={href('/')}>← Home</a>
<a class="link" href={href('/')}>← Home</a>
</div>

<div class="p-4">
Expand Down
3 changes: 1 addition & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script lang="ts">
import { base } from '$app/paths';
import { db } from '$lib/index';
import { pipe, flow, ReadonlyArray as A, ReadonlyRecord as R, String as S } from 'effect';
import { href } from '$lib/utils';
Expand All @@ -14,6 +13,6 @@

<div class="space-y-2 p-4">
{#each links as link}
<a class="anchor block" href={link}>{link}</a>
<a class="link block" href={link}>{link}</a>
{/each}
</div>

0 comments on commit c687ea2

Please sign in to comment.