bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

[Docs] Colour modes for individual elements

Open lonix1 opened this issue 10 months ago • 1 comments

I wanted a light theme with some dark elements, so I applied data-bs-theme="dark" to those elements.

However that didn't change anything. So I also added either class="text-bg-dark" or class="bg-dark text-light", which worked - but I knew that was a hack.

Only after looking at the source for that "blue example" did I realise that one must do this:

<div data-bs-theme="dark" class="text-body bg-body">
  ...
</div>

That should probably be in the docs, it is fundamental.

lonix1 avatar Apr 19 '24 02:04 lonix1

Hi there,

I want to contribute to this project and take on this issue as my first task. Could you please assign it to me? I am excited to work towards resolving it and will keep the team updated on my progress.

Thanks

AbhishekSharma55 avatar May 20 '24 06:05 AbhishekSharma55