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 8 additions and 4 deletions
Showing only changes of commit 805abef208 - Show all commits

View file

@ -22,12 +22,12 @@
</script>
<div class="flex h-full w-full flex-col justify-between gap-4">
<h1 class="text-xl font-bold">
<h2 class="text-xl font-bold">
{puzzle.name}
<span class="text-lg text-muted-foreground">({puzzle.scoreMax} points)</span>
</h1>
</h2>
<article
class="prose-invert prose-a:text-primary prose-a:hover:text-primary/80 prose-pre:rounded h-screen max-w-none overflow-y-auto font-fira"
class="prose-invert prose-a:text-primary prose-pre:rounded h-screen max-w-none overflow-y-auto break-normal font-fira"
>
<CopyCodeInjector>
{@html puzzle.content}

View file

@ -67,6 +67,10 @@ const config = {
hoverOnlyWhenSupported: true
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
};
export default config;