From 33197b013f3c643d6c6dada41470459d2f90b4c0 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Sun, 15 Oct 2023 22:02:04 +0200 Subject: Add nesting --- apps/website/src/components/base/Header.astro | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'apps/website/src/components/base') diff --git a/apps/website/src/components/base/Header.astro b/apps/website/src/components/base/Header.astro index ad8267b..1201798 100644 --- a/apps/website/src/components/base/Header.astro +++ b/apps/website/src/components/base/Header.astro @@ -7,7 +7,7 @@ const sizes = { "md": "h3", "sm": "h4", "xs": "h5", - "xxs": "h6" + "xxs": "h6" }; type Headers = "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; @@ -54,4 +54,11 @@ const Element = sizes[size] as any; // Unfortunately gotta do this font-size: theme("fontSize.body-sm"); font-weight: 500; } - \ No newline at end of file + + h1, h2, h3, h4, h5, h6 { + & :global(b) { + @apply text-blue-500; + font-weight: inherit; + } + } + -- cgit