Skip to content

bug: .kbd element inside .btn hard to readย #4353

@anthony-robin

Description

@anthony-robin

Reproduction URL (Required)

https://play.tailwindcss.com/0gM7JvKqjQ

What version of daisyUI are you using?

5.5.14

Which browsers are you seeing the problem on?

Chrome

Describe your issue

Hi,

I'm using .kbd element inside a .btn link.
According to the color used (primary, secondary, neutral, info, success, warning or error) and the theme (light/dark), hotkey is sometime hard to read.

Light Dracula
Image Image

My current fix is to force .text-base-content on my .kbd element.

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions