system-ui / theme-specification

A specification for defining theme objects & design tokens for use with UI components

Home Page:https://system-ui.com/theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opacities scale

peduarte opened this issue ยท comments

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?

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