➕ added tailwindcss dependency
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
aae4903ca9
commit
38f63c0167
7 changed files with 665 additions and 1 deletions
3
frontend/src/app.css
Normal file
3
frontend/src/app.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
8
frontend/src/routes/+layout.svelte
Normal file
8
frontend/src/routes/+layout.svelte
Normal file
|
@ -0,0 +1,8 @@
|
|||
<script lang="ts">
|
||||
import type { LayoutData } from './$types';
|
||||
import "../app.css";
|
||||
|
||||
export let data: LayoutData;
|
||||
</script>
|
||||
|
||||
<slot />
|
|
@ -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>
|
Reference in a new issue