EpicEditor icon indicating copy to clipboard operation
EpicEditor copied to clipboard

Allow array of theme CSS files

Open caponica opened this issue 11 years ago • 3 comments

Would be very useful to allow the theme options to be an array of theme files to add, instead of just a single file.

E.g.

var opts = {
  // ...
  theme: {
    preview: [
      '/themes/preview/preview-dark.css', 
      'http://example.com/css/extra1.css',
      '/themes/preview/extra2.css'
    ],
  },
  // ...
}

caponica avatar Aug 13 '13 14:08 caponica

Good idea :) I've added it to the list.

OscarGodson avatar Aug 13 '13 16:08 OscarGodson

In the short term I realised that I could use several @import url() calls inside a single CSS file but it would be nicer if we could just define an array of style sheets!

caponica avatar Aug 14 '13 15:08 caponica

:+1: I just implemented epiceditor and this feature would be nice.

xPaw avatar Mar 07 '14 20:03 xPaw