Skip to content

Button not using primary color as default (using cyan as default) #882

@victorfunes

Description

@victorfunes
  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

  1. Create a button without specifying the color:
        <Button type="button" size="lg">
          Siguiente: Confirmación
        </Button>

Current behavior

The button is using cyan as default:

<button type="button" class="group flex h-min items-center justify-center p-0.5 text-center font-medium relative focus:z-10 focus:outline-none text-white bg-cyan-700 border border-transparent enabled:hover:bg-cyan-800 focus:ring-cyan-300 dark:bg-cyan-600 dark:enabled:hover:bg-cyan-700 dark:focus:ring-cyan-800 rounded-lg focus:ring-2 w-full">
  <span class="flex items-stretch transition-all duration-200 rounded-md text-base px-5 py-2.5">
    Siguiente: Confirmación
  </span>
</button>
image

Expected behavior

The button should use primary as default:

<button type="button" class="group flex h-min items-center justify-center p-0.5 text-center font-medium relative focus:z-10 focus:outline-none text-white bg-primary-700 border border-transparent enabled:hover:bg-primary-800 focus:ring-primary-300 dark:bg-primary-600 dark:enabled:hover:bg-primary-700 dark:focus:ring-primary-800 rounded-lg focus:ring-2 w-full">
  <span class="flex items-stretch transition-all duration-200 rounded-md text-base px-5 py-2.5">
    Siguiente: Confirmación
  </span>
</button>
image

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working🚀 enhancementNew feature or requestconfirmedThis bug was confirmedhelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions