GithubHelp home page GithubHelp logo

Create a Sass CSS module about statiq.web HOT 11 CLOSED

statiqdev avatar statiqdev commented on September 21, 2024 1
Create a Sass CSS module

from statiq.web.

Comments (11)

daveaglick avatar daveaglick commented on September 21, 2024 1

I'm going to go ahead and finally start tackling this using https://github.com/xoofx/SharpScss. I'd like to get the module out ASAP since more and more themes are using Sass and Less seems to be dying out. Seems like we should have Sass support before 1.0.

from statiq.web.

daveaglick avatar daveaglick commented on September 21, 2024 1

Done! Will go out with next release.

from statiq.web.

daveaglick avatar daveaglick commented on September 21, 2024

Now that Bootstrap 4 is going Sass, this is probably a bit more important. Two libraries worth looking at:

Neither is fully-managed and both just wrap the libsass C++ library.

from statiq.web.

WestDiscGolf avatar WestDiscGolf commented on September 21, 2024

Was just thinking this myself, thought I'd have a little look around and is already listed as a module feature :-) Struggling to find a managed sass library though to use so may have to go the wrapper route for now. Unfortunately I don't know enough about sass or have the time to write a managed code sass parser at the moment either :-( Will keep a look out ...

from statiq.web.

WestDiscGolf avatar WestDiscGolf commented on September 21, 2024

Using - https://github.com/paulcbetts/SassAndCoffee - seems like potentially a way to go ...

from statiq.web.

daveaglick avatar daveaglick commented on September 21, 2024

Another option: https://github.com/xoofx/SharpScss

from statiq.web.

leemw1977 avatar leemw1977 commented on September 21, 2024

When I saw that less support was in there, the first thing I thought was maybe some sass-y support would be nice for those that like to use it (boot-strap going that way makes for another big plus one I guess as Dave pointed out).

I know VS supports this, but I assume they will have their own parser - I'm off to do some digging in the first instance.

from statiq.web.

daveaglick avatar daveaglick commented on September 21, 2024

Awesome - this will become increasingly important since Bootstrap 4 isn't going to ship with any kind of Less support.

One more note: try aiming for .Net Core support - Wyam is moving to Core soon and the more stuff that's compatible to begin with, the less we'll have to do down the road.

from statiq.web.

leemw1977 avatar leemw1977 commented on September 21, 2024

Ok, so current thoughts: I was planning on targeting NETStandard 1.6 for now so that should be .net frameworks supported and dotnet core as we require.

Now, I've yet to fully investigate the SharpScss library linked above so will do that next. Putting that to one side what I've found so far is we may need to create a NETStandard 1.6 compatible wrapper for libsass - the biggest issue with using something like libsass-net - at least as I see it is going to be how we distribute Wyam with it, we don't want to be installing VC redist - at least not from what I can tell.

I'll post some more when I've done some more digging - so far enjoying the ride 👍

from statiq.web.

daveaglick avatar daveaglick commented on September 21, 2024

Awesome! You didn't pick an easy one for your first module 😄. The lack of a pure .NET Sass port is why I keep putting this one off.

from statiq.web.

leemw1977 avatar leemw1977 commented on September 21, 2024

I like a challenge :) reminds me why I love coding as you know how it can be in the day job , I understand why its like it is but sometimes ya know :D

from statiq.web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.