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> <style scoped>
.container { .container {
width: 80%; width: 80%;
max-width: 72ch; max-width: 80ch;
padding-top: 2rem; padding-top: 2rem;
} }
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
.container { .container {
max-width: 80ch;
width: 90%; width: 90%;
} }

View File

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