themesberg / themesberg/flowbite

data-active-classes / data-inactive-classes attributes for Carousel object

Open
#810 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
9.4k
Forks
862
PR merge metrics
No merged PRs in 30d

Description

You recently added attributes for this purpose on Tabs. I miss it on the Carousel, in order to change the color of the current slide indicator just by adding an attribute like data-active-classes to the carousel element in the HTML.

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 by comparing the Carousel implementation with the existing Tabs support for data-active-classes and data-inactive-classes. Trace how the current slide indicator classes are selected, then verify that equivalent attributes on the carousel element change the active and inactive indicator styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, tailwindcss
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.