daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

docs: Highlight that the first theme becomes the default

Open EnGassa opened this issue 1 year ago โ€ข 2 comments

On which page do you see this issue?

https://daisyui.com/docs/config/#themes

Describe the issue

The text the first theme will be the default theme ought to be highlighted. I ended up wasting so much time trying to debug a misbehaving theme because this information is buried in the last sub-sentence of the doc on themes. Sure, it is my fault for not noticing this information there, however, it would help future devs to call this information out. Happy to push a PR for this if it helps. image

What browsers are you seeing the problem on?

No response

EnGassa avatar May 22 '24 06:05 EnGassa

Thank you @EnGassa for reporting issues. It helps daisyUI a lot ๐Ÿ’š
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

github-actions[bot] avatar May 22 '24 06:05 github-actions[bot]

I understand.
But which theme was expected to be default? Let's say we have themes: ["light", "dark", "cupcake"], I think it's obvious the first one is going to applied.

Also, this can happen to any other part of the docs. Someone may say If it's true, all themes will be included must be highlighted cuz they didn't read it.

saadeghi avatar May 22 '24 08:05 saadeghi