Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrong colors are used for BaseDropdownItem #122

Open
MrVladis1av opened this issue May 26, 2024 · 0 comments
Open

Wrong colors are used for BaseDropdownItem #122

MrVladis1av opened this issue May 26, 2024 · 0 comments

Comments

@MrVladis1av
Copy link

When I use a template from documentation for BaseDropdown and use a danger color for the BaseDropdownItem, it's shown as a blue one(potentially info color).

Reproducible on newly created Nuxt project with shuriken-ui dependency only.

Code:

    <BaseDropdownItem to="#" title="Profile" text="View your profile" color="primary" rounded="sm">
      <template #start>
        <Icon name="ph:user-duotone" class="me-2 block h-5 w-5" />
      </template>
    </BaseDropdownItem>
    <BaseDropdownItem to="#" title="Projects" text="View your projects" color="primary" rounded="sm">
      <template #start>
        <Icon name="ph:briefcase-duotone" class="me-2 block h-5 w-5" />
      </template>
    </BaseDropdownItem>
    <BaseDropdownItem to="#" title="Team" text="Manage your team" color="primary" rounded="sm">
      <template #start>
        <Icon name="ph:users-four-duotone" class="me-2 block h-5 w-5" />
      </template>
    </BaseDropdownItem>
    <BaseDropdownDivider />
    <BaseDropdownItem to="#" title="Settings" text="Set your preferences" color="danger" rounded="sm">
      <template #start>
        <Icon name="ph:gear-six-duotone" class="me-2 block h-5 w-5" />
      </template>
    </BaseDropdownItem>
  </BaseDropdown>

image

image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant