argyleink / open-props

CSS custom properties to help accelerate adaptive and consistent design.
https://open-props.style
MIT License
4.75k stars 193 forks source link

Suggestions for the Next Update #402

Open mobalti opened 1 year ago

mobalti commented 1 year ago

I've been thinking a lot about Open Props and how we can make it better. After building numerous components with Open Props, here are some suggestions for the next update:

Add:

More:

I understand that you can create your own props on top of Open Props, but when you encounter certain props frequently with different designs, I think it's time for these props to be included by default.

spartanatreyu commented 1 year ago

My wishlist:

mobalti commented 1 year ago

@spartanatreyu, I completely agree with all your points. The library is indeed moving to HDR, not only for colors but also for gradients. Additionally, there's a mention of adding logical properties for animation in this issue #390

Tihomir971 commented 11 months ago

Opinion. In forms styling move to: `

` I don't like annoying

"for" and "id".

Also:

  • as @mobalti mention font-size: 0.875rem | 14px is must have
  • reorder --surface-1,2,3. Layers should be like stack of cards. It will also allow to add more layers if someone need (--surface-4 ...)
Tihomir971 commented 11 months ago

Button group and icon button styling