bigbuffet-rw/app/soapbox/utils/theme.js
2020-05-30 19:05:01 -05:00

5 lines
138 B
JavaScript

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