react-toolbox / react-toolbox-themr

A tool to statically extract and generate custom themes for React Toolbox
MIT License
240 stars 24 forks source link

How to reuse variables (colors) defined on package.json #55

Open jacargentina opened 7 years ago

jacargentina commented 7 years ago

I'm using this package to customize the theme, with this:

"reactToolbox": {
    "customProperties": {
      "color-primary-dark": "#607D8B"
    },
    "output": "client/"
  },

I want to make use of that new color-primary-dark color in my own custom .css files. There is some way to do that?

Cheers!

FDiskas commented 7 years ago

Your example works for me - thanks