Skip to main content

Global Variables

It would be great to set global/library wide tokens/variables for colors similiar what you already use.The format could be like key=value or even better in a YAML-like approach to have multiple leves like

brand:
  main: #ff00ff
  text: #333333
secondary:
  foreground: #ff0000
size:
  padding: 10px
  


With this approach the user could apply the colors like $brand.main or $secondary.foreground. But also the flat approach would be fine :)

It would be also cool to have an autocomplete for available values in Fill, Fontcolors, padding etc.

1 comment

Log in to comment and vote

Comments1