From 0b6ca41547242de19104dcbcac83c31d3b64ee74 Mon Sep 17 00:00:00 2001 From: kungpaogao Date: Mon, 17 Feb 2025 23:45:51 -0500 Subject: [PATCH] Fix styling for tailwind v4 --- prettier.config.ts => prettier.config.cjs | 0 src/components/Navigation.tsx | 2 +- src/styles/global.css | 2 ++ tailwind.config.cjs | 8 ++++---- 4 files changed, 7 insertions(+), 5 deletions(-) rename prettier.config.ts => prettier.config.cjs (100%) diff --git a/prettier.config.ts b/prettier.config.cjs similarity index 100% rename from prettier.config.ts rename to prettier.config.cjs diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index ed04e30..7a8020f 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -163,7 +163,7 @@ const Navigation: Component = ({
({ + typography: ({theme}) => ({ DEFAULT: { css: { p: { @@ -42,7 +42,7 @@ module.exports = { margin: "6.5px 0px", }, h1: { - fontFamily: theme("fontFamily.serif").join(","), + fontFamily: theme("fontFamily.serif"), //.join(","), fontSize: "1.875em", fontWeight: theme("fontWeight.medium"), lineHeight: headingLineHeight, @@ -51,7 +51,7 @@ module.exports = { padding: textPadding, }, h2: { - fontFamily: theme("fontFamily.serif").join(","), + fontFamily: theme("fontFamily.serif"), //.join(","), fontSize: "1.5em", fontWeight: theme("fontWeight.medium"), lineHeight: headingLineHeight, @@ -60,7 +60,7 @@ module.exports = { padding: textPadding, }, h3: { - fontFamily: theme("fontFamily.serif").join(","), + fontFamily: theme("fontFamily.serif"), //.join(","), fontSize: "1.25em", fontWeight: theme("fontWeight.medium"), lineHeight: headingLineHeight,