Files: 9237b9df2489619d235754cd0b215e38bc426234 / 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