system-ui / theme-specification

A specification for defining theme objects & design tokens for use with UI components
https://system-ui.com/theme
531 stars 19 forks source link

Opacities scale #12

Open peduarte opened 4 years ago

peduarte commented 4 years ago

Hey everyone šŸ‘‹

Looking through the available Theme scales in System UI I realised there's no "Opacities" scale.

In Modulz, we're exposing opacity tokens and we're trying to keep it as interoperable as we can with other tools adhering to the System UI Theme Spec.

What are everybody's thoughts about an Opacities Theme Scale?

lucastobrazil commented 4 years ago

Iā€™d say if we have a theme key for fontWeights, it also makes sense to have one for opacities. My choice would be to have them semantically named, unlike the default space scale