konsta icon indicating copy to clipboard operation
konsta copied to clipboard

Material design: choosing black/grey as primary color

Open Ismaele-silla opened this issue 1 year ago • 5 comments

Check that this is really a bug

  • [X] 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

  • [X] Follow our Code of Conduct
  • [X] Read the docs.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [X] 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

Ismaele-silla avatar Nov 29 '23 15:11 Ismaele-silla

@Ismaele-silla did you ever find a solution?

aaronksaunders avatar Feb 06 '24 16:02 aaronksaunders

I'm afraid not :(

Ismaele-silla avatar Feb 06 '24 17:02 Ismaele-silla

We're you able to get any color even close to back to work?

On Tue, Feb 6, 2024, 12:25 PM Ismael @.***> wrote:

I'm afraid not :(

— Reply to this email directly, view it on GitHub https://github.com/konstaui/konsta/issues/187#issuecomment-1930419091, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEAFGJPTBHZRQGELU57CTLYSJRR7AVCNFSM6AAAAAA77T3D4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZQGQYTSMBZGE . You are receiving this because you commented.Message ID: @.***>

aaronksaunders avatar Feb 06 '24 17:02 aaronksaunders

t0ggles-create konsta

nolimits4web avatar Mar 18 '24 15:03 nolimits4web

Task nolimits4web/KONSTA-77 was created

t0ggles task KONSTA-77

t0ggles[bot] avatar Mar 18 '24 15:03 t0ggles[bot]

Task nolimits4web/KONSTA-96 status changed to Done

t0ggles[bot] avatar Aug 19 '25 12:08 t0ggles[bot]