Simplemde-markdown-editor: Convert CSS file to Sass

Created on 1 Sep 2015  路  10Comments  路  Source: sparksuite/simplemde-markdown-editor

Title says it all. Sass is more organized. Will need to update the gulp file.

enhancement idea

Most helpful comment

I think we need really LESS or SASS :+1:

All 10 comments

I disagree.

:+1:

@Xarcell I'm sure a compiled css file will be available too?

A compiled CSS file would probably be created as a middle step before it was minified. Of course, the distribution minified file would be pure CSS. Sass would just make development and maintenance easier and more organized.

That's a matter of opinion I guess. I don't believe sass makes things easier overall. It does from a development standpoint, but not from a design standpoint.

Agree. Totally.

+1
I am up for any help.

I took the last build (b59279a3d8d186016398f81cc1d8d5645a44d128) and converted the simplemde.css file from straight CSS into SASS and Stylus versions:

I hadn't planned on maintaining these, but I'll try to see what I can do to keep those links up with the current master branch if there's enough interest.

Thanks @brossi. If nothing else, this will allow me to include the .scss as part of my existing bundling.

I think we need really LESS or SASS :+1:

What about regardless of CSS vs Sass using CSS Properties (with fallbacks) to support theming like:

.simplemde {
  --toolbar-bg: rebeccapurple;
  --toolbar-color: white;
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

ferreiro picture ferreiro  路  4Comments

prologic picture prologic  路  3Comments

IonicaBizau picture IonicaBizau  路  3Comments

pranavstark picture pranavstark  路  3Comments

xJoeyv picture xJoeyv  路  3Comments