satnaing / astro-paper

A minimal, accessible and SEO-friendly Astro blog theme
https://astro-paper.pages.dev/
MIT License
2.12k stars 439 forks source link

Tailwind- dark mode- Table. #288

Open emiliobarrionuevo opened 3 months ago

emiliobarrionuevo commented 3 months ago

I made a table with Tailwind, customized with colors for dark and light mode. The big problem I have is that when I change the mode (light-dark), these changes are not applied to my table, it stays in a single color and nothing is modified. Someone could help me?

<Layout title={W`}>

{PrimeraDamasTeams.map((team, index) => ( ))}
Team PTS PJ PG PP SF SC DFS
{team.name} {team.points} {team.pj} {team.pg} {team.pp} {team.sf} {team.sc} {team.dfs}
rachelslurs commented 21 hours ago

I actually ran into the same issue and have a fix!