refactor: update tailwind typography css overrides (#538)

* refactor: update tailwind typography css overrides

Update TailwindCSS typography overrides to use less
`important`; and update selectors to make them easier
to read.

* refactor: update focus styles to be consistent
This commit is contained in:
Sat Naing
2025-06-14 23:44:03 +07:00
committed by GitHub
parent 4c2aebc304
commit f7cb267854
4 changed files with 77 additions and 21 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const { tag, tagName, size = "sm" } = Astro.props;
href={`/tags/${tag}/`}
transition:name={tag}
class:list={[
"relative pe-2 text-lg underline decoration-dashed group-hover:-top-0.5 group-hover:text-accent focus-visible:p-1",
"relative pe-2 text-lg underline decoration-dashed group-hover:-top-0.5 group-hover:text-accent focus-visible:p-1 focus-visible:no-underline",
{ "text-sm": size === "sm" },
]}
>