fix: fix typography style
This commit is contained in:
parent
e44df108b4
commit
ae8c323604
2 changed files with 4 additions and 2 deletions
|
|
@ -1,12 +1,13 @@
|
||||||
---
|
---
|
||||||
import "~/styles/globals.css"
|
|
||||||
import "~/styles/view-transition.css"
|
|
||||||
import { NoiseBackground } from "~/components/react/noise-background"
|
import { NoiseBackground } from "~/components/react/noise-background"
|
||||||
import { getLangFromUrl } from "~/i18n/utils"
|
import { getLangFromUrl } from "~/i18n/utils"
|
||||||
import { GoogleAnalytics } from "astro-google-analytics"
|
import { GoogleAnalytics } from "astro-google-analytics"
|
||||||
import { en, zh } from "~/config"
|
import { en, zh } from "~/config"
|
||||||
import { ClientRouter } from "astro:transitions"
|
import { ClientRouter } from "astro:transitions"
|
||||||
|
|
||||||
|
import "~/styles/tailwind.css"
|
||||||
|
import "~/styles/view-transition.css"
|
||||||
|
|
||||||
const lang = getLangFromUrl(Astro.url)
|
const lang = getLangFromUrl(Astro.url)
|
||||||
|
|
||||||
const { title, description, ogImage } = Astro.props
|
const { title, description, ogImage } = Astro.props
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
|
@plugin "@tailwindcss/typography";
|
||||||
@custom-variant dark (&:where(.dark, .dark *));
|
@custom-variant dark (&:where(.dark, .dark *));
|
||||||
Loading…
Add table
Reference in a new issue