konstaui / konsta

Mobile UI components made with Tailwind CSS
https://konstaui.com
MIT License
3.55k stars 131 forks source link

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

Open Ismaele-silla opened 12 months ago

Ismaele-silla commented 12 months ago

Check that this is really a bug

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

Would you like to open a PR for this bug?

aaronksaunders commented 9 months ago

@Ismaele-silla did you ever find a solution?

Ismaele-silla commented 9 months ago

I'm afraid not :(

aaronksaunders commented 9 months ago

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: @.***>

nolimits4web commented 8 months ago

t0ggles-create konsta

t0ggles[bot] commented 8 months ago

Task nolimits4web/KONSTA-77 was created

t0ggles task KONSTA-77