chore: update dependencies and fix blog styling #24

Merged
naomi merged 8 commits from feat/style into main 2026-03-03 19:38:00 -08:00
5 changed files with 523 additions and 655 deletions
Showing only changes of commit 4441f0d2f8 - Show all commits
+2 -1
View File
@@ -31,7 +31,8 @@
"eslint": "9.39.3", "eslint": "9.39.3",
"eslint-config-next": "16.1.6", "eslint-config-next": "16.1.6",
"postcss": "8.5.6", "postcss": "8.5.6",
"tailwindcss": "3.4.19", "@tailwindcss/postcss": "4.2.0",
"tailwindcss": "4.2.0",
"typescript": "5.9.3" "typescript": "5.9.3"
} }
} }
+449 -569
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,7 +1,7 @@
/** @type {import('postcss-load-config').Config} */ /** @type {import('postcss-load-config').Config} */
const config = { const config = {
plugins: { plugins: {
tailwindcss: {}, "@tailwindcss/postcss": {},
}, },
}; };
+19 -14
View File
@@ -1,7 +1,11 @@
@tailwind base; @import "tailwindcss";
@tailwind components;
@tailwind utilities;
@theme {
--color-background: var(--background);
--color-foreground: var(--foreground);
}
@layer base {
h1 { h1 {
@apply text-4xl; @apply text-4xl;
} }
@@ -34,11 +38,6 @@ blockquote p {
@apply text-center; @apply text-center;
} }
.is-dark blockquote,
.is-dark blockquote p {
color: var(--foreground);
}
blockquote { blockquote {
border-left: 5px solid var(--accent); border-left: 5px solid var(--accent);
box-shadow: inset 4px 0 10px -4px var(--accent); box-shadow: inset 4px 0 10px -4px var(--accent);
@@ -46,12 +45,6 @@ blockquote {
margin: 1rem; margin: 1rem;
} }
@layer utilities {
.text-balance {
text-wrap: balance;
}
}
figcaption { figcaption {
@apply text-sm; @apply text-sm;
@apply text-center; @apply text-center;
@@ -84,3 +77,15 @@ code:not(pre code) {
@apply whitespace-pre-wrap; @apply whitespace-pre-wrap;
@apply break-words; @apply break-words;
} }
}
.is-dark blockquote,
.is-dark blockquote p {
color: var(--foreground);
}
@layer utilities {
.text-balance {
text-wrap: balance;
}
}
-18
View File
@@ -1,18 +0,0 @@
import type { Config } from "tailwindcss";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
},
},
plugins: [],
} satisfies Config;