themesberg / themesberg/flowbite-react

Add color suport to Table component

Open
#555 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

:rocket: enhancement help wanted
Dominant language
TypeScript
Stars
2.1k
Forks
506
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Right now the Table component doesn't support color=.

Describe the solution you'd like
I want to be able to change the Table color with:

<Table striped color={purple}>...</Table>

It needs to support the following formats:

  • Solid
  • Row striped
  • Column striped
  • Hovered

Describe alternatives you've considered
N/A

Additional context
Standard Flowbite documentation: https://flowbite.com/docs/components/tables/#table-colors

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Table component and compare its current color behavior with the Flowbite table-colors documentation linked in the issue. Support the requested solid, row-striped, column-striped, and hovered formats, and verify that the JSX usage shown in the issue works.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, tailwindcss, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.