6 lines
138 B
JavaScript
6 lines
138 B
JavaScript
|
export const themeDataToCss = themeData => (
|
||
|
themeData
|
||
|
.entrySeq()
|
||
|
.reduce((acc, cur) => acc + `--${cur[0]}:${cur[1]};`, '')
|
||
|
);
|