Skip to content
#

style

Here are 957 public repositories matching this topic...

phpinsights
theme-ui
benface
benface commented Nov 23, 2021

Is your feature request related to a problem? Please describe.
I find it surprising and confusing that the bg shorthand can be set to a color name/key, but not background, as they read the same.

Describe the solution you'd like
I would like background to be a theme-aware property, so I can do sx={{ background: 'myCustomColorName' }}.

**Describe alternatives you've considere

style-dictionary
7studio
7studio commented Oct 6, 2021

Hi,

I looked into the CLI part of style-dictonary to construct a similar thing and I found a bug when I run the command style-dictionary test or npx -p style-dictionary style-dictionary test in my case:

npx : 43 installé(s) en 3.911s
/Users/xzalawa/.npm/_npx/19473/lib/node_modules/style-dictionary/bin/style-dictionary:75
  console.error('Invalid command: %s\nSee --help for a list o

Improve this page

Add a description, image, and links to the style topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the style topic, visit your repo's landing page and select "manage topics."

Learn more