[READ-ONLY] Mirror of https://github.com/danielroe/ripple-framework. Ripple is the presentation layer for building websites on the DPC Single Digital Presence platform.
0

Configure Feed

Select the types of activity you want to include in your feed.

ripple-framework / packages / nuxt-ripple / composables / use-site-theme.ts
266 B 13 lines
1const formatThemeStyle = (themeObj) => { 2 if (themeObj) { 3 return Object.keys(themeObj) 4 .map((key) => { 5 return `--${key}: ${themeObj[key]}` 6 }) 7 .join(`;\r\n`) 8 } 9} 10 11export default (siteTheme) => { 12 return formatThemeStyle(siteTheme) 13}