Closed stefa168 closed 3 weeks ago
Go for it!
The issue stems from the wrong classes being applied to the tfoot
ex: https://github.com/huntabyte/shadcn-svelte/blob/b524be50b4d7cfc97e6ed2206351de5067285518/sites/docs/src/lib/registry/new-york/ui/table/table-footer.svelte#L11
differs from the main: https://github.com/shadcn-ui/ui/blob/d0eece06d443be54f8a55c31a3c0bc3715fc30d4/apps/www/registry/default/ui/table.tsx#L46
Describe the bug
I have recently encountered an issue where the Table Footer sub-component renders with the background color inverted. This means that if I were to use the light mode, then it would have appeared with the dark background and vice-versa.
I have solved the issue myself by modifying the classes used by the sub-component, and I'm opening this issue to ask for permission to send a PR (as indicated in CONTRIBUTING.md).
Reproduction
To reproduce the issue, just create a simple table, including a footer.
Here's a minimal reproduction: https://stackblitz.com/edit/github-xeufjn?file=src%2Froutes%2F%2Bpage.svelte
Logs
No response
System Info
Severity
annoyance