Skip to content

Conversation

@jwmbeenakker
Copy link
Contributor

Purpose

After the upgrade to Tailwind v4, the cards have obtained an ugly white shadow in the dark theme. This is due to a change in the behaviour of shadow-none which (erroneously?) sets the shadow to white. I've corrected this by setting the shadow to shadow-transparent for the dark mode.

Screenshots

Tailwind v3 behavior:
Screenshot 2025-08-30 at 13 19 16

Current tailwind v4 behavior:
Screenshot 2025-08-30 at 13 19 45

Patched tailwind v4:
Screenshot 2025-08-30 at 13 19 59

@netlify
Copy link

netlify bot commented Aug 30, 2025

Deploy Preview for academic-demo canceled.

Name Link
🔨 Latest commit 13da25f
🔍 Latest deploy log https://app.netlify.com/projects/academic-demo/deploys/68b2ded33a571700093bc95c
@gcushen gcushen merged commit 9a3f497 into HugoBlox:main Aug 30, 2025
5 checks passed
@gcushen
Copy link
Collaborator

gcushen commented Aug 30, 2025

@jwmbeenakker thanks for your contribution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants