Comments (11)
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.
Done! Will go out with next release.
from statiq.web.
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.
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.
Using - https://github.com/paulcbetts/SassAndCoffee - seems like potentially a way to go ...
from statiq.web.
Another option: https://github.com/xoofx/SharpScss
from statiq.web.
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.
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.
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.
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.
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)
- Release 1.0.0-beta.50 is broken with Search Index Generation enabled HOT 3
- Netlify deployment not deploying dot files/directories HOT 7
- Post is published even if the published date is only tomorrow HOT 5
- Statiq.Web.props to Statiq.Web.targets causing compilation issues HOT 2
- How to set FrontMatterRegexes to use custom Frontmatter? HOT 3
- Sitemap is missing lastmod values HOT 4
- LESS: 'background: center/xx' breaks the compilation HOT 4
- Strict run and add document metadata in runtime HOT 1
- RSS missing feed title HOT 4
- Question: Include example HOT 2
- Microsoft.Azure.Search is Deprecated, and has known vulnerabilities
- install pptx HOT 2
- [Bug] Images don't show on post listing HOT 2
- SCSS regeneration is not working when changing imported files HOT 4
- Stack overflow. Repeat 611 times: Netlify deploy HOT 3
- Example in Guide -> Deployment -> GitHub Pages does not work with GitHub Actions HOT 2
- Add minification modules as options
- Analyzer warning when using Unicode Tags. HOT 2
- Link validation appears to be flagging mailto links HOT 4
- Hot reload stops working after a compiler error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from statiq.web.