Skip to content

Commit

Permalink
style: 💄 add prose styles
Browse files Browse the repository at this point in the history
  • Loading branch information
spences10 committed Sep 16, 2021
1 parent d0eb42f commit dcde9ab
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
10 changes: 8 additions & 2 deletions src/styles.css
@@ -1,7 +1,13 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

html {
scroll-behavior: smooth;
}

@tailwind components;

.all-prose {
@apply prose prose-lg lg:prose-xl;
}

@tailwind utilities;
10 changes: 9 additions & 1 deletion tailwind.config.cjs
Expand Up @@ -2,7 +2,15 @@ const config = {
mode: 'jit',
purge: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {},
extend: {
typography: {
DEFAULT: {
css: {
maxWidth: null,
},
},
},
},
},
plugins: [require('@tailwindcss/typography'), require('daisyui')],
}
Expand Down

0 comments on commit dcde9ab

Please sign in to comment.