git ssb

2+

mixmix / ticktack



Tree: 8e1f9e4430c79fef119b27ecdf1f7ce8d0869fba

Files: 8e1f9e4430c79fef119b27ecdf1f7ce8d0869fba / app / sync / initialize / styles.js

400 bytesRaw
1const nest = require('depnest')
2const insertCss = require('insert-css')
3const values = require('lodash/values')
4
5exports.gives = nest('app.sync.initialize')
6
7exports.needs = nest({
8 'styles.css': 'reduce'
9})
10
11exports.create = (api) => {
12 return nest({
13 'app.sync.initialize': function initializeStyles () {
14 const css = values(api.styles.css()).join('\n')
15 insertCss(css)
16 }
17 })
18}
19

Built with git-ssb-web