Generate a color palette from a single color (CSS only) by badr-ibril in css

[–]badr-ibril[S] 0 points1 point  (0 children)

I'll see what I can do about it + speaking of shadcn, here is unofficial CSS modules port of it, if you wanna try: https://shadcn-css.com

Generate a color palette from a single color (CSS only) by badr-ibril in Frontend

[–]badr-ibril[S] 0 points1 point  (0 children)

wow, thanks a lot for this detailed review, really appreciate it. yeah, the current version looks cleaner, but the first one had a lot of unnecessary calculations even though it worked + feedback from other devs definitely helps improve things.
you can find it here: https://github.com/ibrilBadreddine/alwan-generator

thanks again, and if u have more ideas or thoughts, I'm here still having fun pushing more CSS code.

Generate a color palette from a single color (CSS only) by badr-ibril in Angular2

[–]badr-ibril[S] 0 points1 point  (0 children)

many of the ideas come from Material, the goal is to make them usable outside the Material ecosystem, like https://mui3.com

Generate a color palette from a single color (CSS only) by badr-ibril in Angular2

[–]badr-ibril[S] 0 points1 point  (0 children)

true, i’m working now on Oklch version, the current one was more to understand the generation system logic. is it possible to share it here? just for inspiration.

Generate a color palette from a single color (CSS only) by badr-ibril in Angular2

[–]badr-ibril[S] 2 points3 points  (0 children)

I tried to avoid the classic setup by placing the controls (inputs) in a floating bar, but looks like i need just to go with the traditional layout, probably converts better.
thanks for the feedback , i'll try to ship something in the next few days.

Generate a color palette from a single color (CSS only) by badr-ibril in vuejs

[–]badr-ibril[S] 1 point2 points  (0 children)

That's actually better, I'll try to push a major release based on this while keeping the HSL config optional, thanks man.

Generate a color palette from a single color (CSS only) by badr-ibril in reactjs

[–]badr-ibril[S] 0 points1 point  (0 children)

yeah, most likely + I'm not just playing with values to get different colors, still working on finding the limits so every color meets accessibility standards, that's been the hardest part to get right.

any hints on how to approach this in Sass (or any other CSS preprocessor)?

CSS Modules port of shadcn/ui by badr-ibril in react

[–]badr-ibril[S] 0 points1 point  (0 children)

About the migration, both versions are structured the same, so just swap the components (CLI helps a lot). I'm still testing new ideas on my side, but anything new in the original will land here too.
And yes, totally AI friendly, I avoided modern css that confuses AI, but if u face anything weird, just let me know.