feat: increase text contrast and sizing
not sure if this is a good idea
This commit is contained in:
parent
37d09f7a49
commit
3719a20d00
@ -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%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user