Refactor icons & tailwindcss plugins #21
2 changed files with 8 additions and 4 deletions
|
@ -22,12 +22,12 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex h-full w-full flex-col justify-between gap-4">
|
<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}
|
{puzzle.name}
|
||||||
<span class="text-lg text-muted-foreground">({puzzle.scoreMax} points)</span>
|
<span class="text-lg text-muted-foreground">({puzzle.scoreMax} points)</span>
|
||||||
</h1>
|
</h2>
|
||||||
<article
|
<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>
|
<CopyCodeInjector>
|
||||||
{@html puzzle.content}
|
{@html puzzle.content}
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { fontFamily } from "tailwindcss/defaultTheme";
|
||||||
const config = {
|
const config = {
|
||||||
darkMode: ["class"],
|
darkMode: ["class"],
|
||||||
content: ["./src/**/*.{html,js,svelte,ts}"],
|
content: ["./src/**/*.{html,js,svelte,ts}"],
|
||||||
safelist: ["dark"],
|
safelist: ["dark"],
|
||||||
theme: {
|
theme: {
|
||||||
container: {
|
container: {
|
||||||
center: true,
|
center: true,
|
||||||
|
@ -67,6 +67,10 @@ const config = {
|
||||||
hoverOnlyWhenSupported: true
|
hoverOnlyWhenSupported: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
plugins: [
|
||||||
|
require('@tailwindcss/typography'),
|
||||||
|
require('@tailwindcss/forms'),
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
Loading…
Add table
Reference in a new issue