Skip to content

Material design: choosing black/grey as primary color #187

@Ismaele-silla

Description

@Ismaele-silla

Check that this is really a bug

  • I confirm

Reproduction link

https://stackblitz.com/edit/konsta-vue-kkrjac?file=package.json

Bug description

Hi,
I'm testing KonstaUI and I wanted to choose a gray (or black) color as my primary color. The idea was to have a "neutral" grey theme, and I would add some accent to it through secondary colors. This seems to work for iOS but not for Material Design: whatever shade of grey (or black) I use, another purplish color is chosen instead. Is this a bug or a limitation of Material Design?

Thank you in advance

Expected Behavior

I can choose black or grey as primary color for Material Design

Actual Behavior

The algorithm generating colors for Material Design does not work with grey or black

Konsta UI version

3.1.2

Platform/Target and Browser Versions

Chromium-based browser

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Konsta UI issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    VueIssue with Tailwind Mobile Vuet0gglesLinked to the t0ggles task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions