Files: 5f86bdb837a971c779cc9be81fd7c8e39090a252 / 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