feat: dedicated typography file, remove tailwind-typography

This commit is contained in:
enscribe 2025-03-21 20:03:30 -07:00
parent 8cf00868c4
commit bbdb1ef828
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
18 changed files with 160 additions and 87 deletions

View file

@ -23,7 +23,7 @@ const authors = await parseAuthors(entry.data.authors ?? [])
---
<div
class="not-prose hover:bg-secondary/50 rounded-xl border p-4 transition-colors duration-300 ease-in-out"
class="hover:bg-secondary/50 rounded-xl border p-4 transition-colors duration-300 ease-in-out"
>
<Link
href={`/${entry.collection}/${entry.id}`}

View file

@ -1,6 +1,6 @@
---
import '../styles/global.css'
import '../styles/katex.css'
import '../styles/typography.css'
import { SITE } from '@/consts'
import { ClientRouter } from 'astro:transitions'

View file

@ -12,7 +12,7 @@ const { project } = Astro.props
---
<div
class="not-prose hover:bg-secondary/50 rounded-xl border p-4 transition-colors duration-300 ease-in-out"
class="hover:bg-secondary/50 rounded-xl border p-4 transition-colors duration-300 ease-in-out"
>
<Link
href={project.data.link}

View file

@ -29,7 +29,7 @@ const getSocialLink = ({ href, label }: SocialLink) => ({
})
---
<ul class={cn('not-prose flex flex-wrap gap-2', className)} role="list">
<ul class={cn('flex flex-wrap gap-2', className)} role="list">
{
links.map((link) => {
const { href, ariaLabel, iconName } = getSocialLink(link)