Files: 35b74ae2d81cf0619ba5864d5875785f83255ef3 / styles / css / mediumEditor.js
440 bytesRaw
1 | const nest = require('depnest') |
2 | const requireStyle = require('require-style') |
3 | const { assign } = Object |
4 | |
5 | exports.gives = nest('styles.css') |
6 | |
7 | exports.create = function (api) { |
8 | return nest('styles.css', (sofar = {}) => { |
9 | return assign( |
10 | sofar, |
11 | { mediumEditorCore: requireStyle('medium-editor/dist/css/medium-editor.css') }, |
12 | { mediumEditorTheme: requireStyle('medium-editor/dist/css/themes/default.css') } |
13 | ) |
14 | }) |
15 | } |
16 | |
17 |
Built with git-ssb-web