feat: increase text contrast and sizing

not sure if this is a good idea
This commit is contained in:
eggy 2024-02-29 23:49:04 -05:00
parent 37d09f7a49
commit 3719a20d00
2 changed files with 4 additions and 3 deletions

View File

@ -58,13 +58,12 @@ const captionText =
<style scoped>
.container {
width: 80%;
max-width: 72ch;
max-width: 80ch;
padding-top: 2rem;
}
@media screen and (max-width: 600px) {
.container {
max-width: 80ch;
width: 90%;
}

View File

@ -3,10 +3,12 @@ export default {
darkMode: "class",
theme: {
extend: {
typography: (theme) => ({
typography: ({ theme }) => ({
DEFAULT: {
css: [
{
'--tw-prose-body': theme('colors.gray[900]'),
'--tw-prose-invert-body': theme('colors.gray[100]'),
hr: {
marginTop: "1.5em",
marginBottom: "1.5em",