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 +++++++++-- apps/website/src/pages/index.astro | 6 ++++-- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'apps/website/src') 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; + } + } + diff --git a/apps/website/src/pages/index.astro b/apps/website/src/pages/index.astro index a484172..837f866 100644 --- a/apps/website/src/pages/index.astro +++ b/apps/website/src/pages/index.astro @@ -5,6 +5,8 @@ import Logo from "@components/logos/Logo.astro"; --- -
test
-
Test
+
+ +
Meet OneConfig, the library for everyone.
+
-- cgit