[use css-variable in styled-component](https://stackoverflow.com/questions/58680555/how-to-access-css-variables-inside-props-function-of-styled-components)  then we can let user to edit those css-variables in bowser, export the data as a theme skin ### Get/Set css-variable in javascript ```js // get getComputedStyle(document.documentElement) .getPropertyValue('--theme-hello') // set document.documentElement.style .setProperty('--theme-hello', 'pink'); ```
use css-variable in styled-component
then we can let user to edit those css-variables in bowser, export the data as a theme skin
Get/Set css-variable in javascript