added tailwindcss dependency

Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
haraldnilsen 2023-12-10 16:22:29 +01:00
parent aae4903ca9
commit 38f63c0167
7 changed files with 665 additions and 1 deletions

3
frontend/src/app.css Normal file
View file

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View file

@ -0,0 +1,8 @@
<script lang="ts">
import type { LayoutData } from './$types';
import "../app.css";
export let data: LayoutData;
</script>
<slot />

View file

@ -1,2 +1,8 @@
<h1>Welcome to SvelteKit</h1>
<h1 class="text-xl">Velkommen til Helseveileder</h1>
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
<style lang="postcss">
:global(html) {
background-color: theme(colors.gray.300);
}
</style>