From e65f5955dd3cfa17107122de6bc80219ec7893a5 Mon Sep 17 00:00:00 2001 From: Filip Krumpe Date: Sat, 22 Jan 2022 15:56:59 +0100 Subject: [PATCH] Basic styling --- webapp/src/app.css | 11 ++++++++++- webapp/tailwind.config.cjs | 6 +++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/webapp/src/app.css b/webapp/src/app.css index bd6213e..5228d93 100644 --- a/webapp/src/app.css +++ b/webapp/src/app.css @@ -1,3 +1,12 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; + +@layer base { + h1 { + @apply text-2xl; + } + h2 { + @apply text-xl; + } +} \ No newline at end of file diff --git a/webapp/tailwind.config.cjs b/webapp/tailwind.config.cjs index e4f4993..c82ca4b 100644 --- a/webapp/tailwind.config.cjs +++ b/webapp/tailwind.config.cjs @@ -2,7 +2,11 @@ const config = { mode: "jit", content: ["./src/**/*.{html,js,svelte,ts}"], theme: { - extend: {}, + extend: { + fontFamily: { + sans: ["Baar Sophia", "Arial"], + } + }, }, plugins: [], }