diff --git a/css/critical.css b/css/critical.css index 163c72e..df00030 100644 --- a/css/critical.css +++ b/css/critical.css @@ -5,14 +5,14 @@ body{margin:0;font-family:"Lora","Iowan Old Style","Palatino Linotype","URW Palladio L",P052,serif;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility} /* Dark mode base — Gruvbox-inspired warm palette */ -body{background-color:#fefcf0;color:#282828} +body{background-color:#fffef5;color:#282828} .dark body{background-color:#1d2021;color:#fbf1c7} /* Container */ .container{max-width:64rem;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem} /* Header — sticky, visible immediately */ -.site-header{background-color:#fefcf0;border-bottom:1px solid #d5c4a1;padding-top:1rem;padding-bottom:1rem;position:sticky;top:0;z-index:50} +.site-header{background-color:#fffef5;border-bottom:1px solid #d5c4a1;padding-top:1rem;padding-bottom:1rem;position:sticky;top:0;z-index:50} .dark .site-header{background-color:#282828;border-bottom-color:#504945} .header-container{display:flex;align-items:center;justify-content:space-between} .site-title{font-size:1.25rem;font-weight:700;color:#282828;text-decoration:none} diff --git a/css/tailwind.css b/css/tailwind.css index 9c23c64..f5c83d9 100644 --- a/css/tailwind.css +++ b/css/tailwind.css @@ -457,7 +457,7 @@ /* Widget cards */ .widget { - @apply p-4 bg-surface-50 dark:bg-surface-800 rounded-lg border border-surface-200 dark:border-surface-700 shadow-sm overflow-hidden; + @apply p-4 bg-surface-100 dark:bg-surface-800 rounded-lg border border-surface-200 dark:border-surface-700 shadow-sm overflow-hidden; } .widget-title { @@ -494,7 +494,7 @@ /* Post cards */ .post-card { - @apply p-5 bg-surface-50 dark:bg-surface-800 rounded-lg border border-surface-200 dark:border-surface-700 shadow-sm overflow-hidden; + @apply p-5 bg-surface-100 dark:bg-surface-800 rounded-lg border border-surface-200 dark:border-surface-700 shadow-sm overflow-hidden; } .post-header { @@ -737,7 +737,7 @@ --pagefind-ui-scale: 1; --pagefind-ui-primary: #076678; --pagefind-ui-text: #282828; - --pagefind-ui-background: #fefcf0; + --pagefind-ui-background: #fffef5; --pagefind-ui-border: #d5c4a1; --pagefind-ui-tag: #f2e5bc; --pagefind-ui-border-width: 1px; @@ -756,7 +756,7 @@ /* Search input */ #search .pagefind-ui__search-input { - background-color: #fefcf0; + background-color: #fffef5; color: #282828; border-color: #d5c4a1; font-weight: 400; @@ -782,7 +782,7 @@ /* Search clear button */ #search .pagefind-ui__search-clear { color: #665c54; - background-color: #fefcf0; + background-color: #fffef5; } .dark #search .pagefind-ui__search-clear { @@ -847,7 +847,7 @@ /* "Load more" button */ #search .pagefind-ui__button { color: #076678; - background-color: #fefcf0; + background-color: #fffef5; border-color: #d5c4a1; cursor: pointer; } diff --git a/tailwind.config.js b/tailwind.config.js index aeec740..66e096e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -18,7 +18,7 @@ export default { colors: { // Gruvbox-inspired warm cream/brown — surfaces, text, structure surface: { - 50: "#fefcf0", + 50: "#fffef5", 100: "#f2e5bc", 200: "#d5c4a1", 300: "#bdae93", @@ -82,6 +82,12 @@ export default { maxWidth: "none", }, }, + lg: { + css: { + fontSize: "1.175rem", + lineHeight: "1.8", + }, + }, invert: { css: { "--tw-prose-links": theme("colors.accent.400"),