Files: 858e6680e313a0e7ea426317a18f59ff5c7098c8 / 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