Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dark mode appearence provided by tailwindcss-typography #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Cj-bc
Copy link

@Cj-bc Cj-bc commented Jun 5, 2024

First of all, thanks to create astro-ink! I'm happy to build my blog site based on this style :)

While converting my blog site into astro-ink based site, I noticed code block doesn't look pretty on dark mode.
After digging in, I found that we need to use prose dark:prose-invert instead of prose dark:prose-dark to properly support dark theme according to official documentation of tailwindcss-typography.

I have my blog page set up with this modification, and looks like it's working. (code block have darker backgrond, inline-code block also have dedicated style, etc)
image

I also believe that this will fix #55 too.

Copy link

vercel bot commented Jun 5, 2024

@Cj-bc is attempting to deploy a commit to the Aftab Alam's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

netlify bot commented Jun 5, 2024

Deploy Preview for astro-ink failed.

Name Link
🔨 Latest commit 77823d2
🔍 Latest deploy log https://app.netlify.com/sites/astro-ink/deploys/66608134760d750008681113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text in blog is not readable in dark theme
1 participant