git ssb

0+

mixmix / marama



Tree: 6dc2c1a4ab70782adb3bd7e9c7dff831c072e153

Files: 6dc2c1a4ab70782adb3bd7e9c7dff831c072e153 / lib / styles-inject.js

247 bytesRaw
1const { h } = require('mutant')
2const getCSS = require('./styles-compile')
3
4module.exports = () => {
5 getCSS((err, css) => {
6 if (err) return console.error(err)
7
8 document.head.appendChild(
9 h('style', { innerHTML: css })
10 )
11 })
12}
13

Built with git-ssb-web