terribleMia’s avatarterribleMia’s Twitter Archive—№ 7,794

    1. Nunjucks is a templating language. Nothing HTML specific about it – generate any document format you want. So I could preprocess Sass, using Njk, then compile to CSS, before post-processing with postCSS… #Lazyweb: We're gonna NEED a postCSS plugin that generates Nunjucks. 🔁
  1. …in reply to @TerribleMia
    oh I just realized OddBird has a Sass tool that converts maps to Json in a CSS comment, & a JS tool to extract it (for generating live documentation of tokens). I could use that as 11ty data, run it through nunjucks templates, & output the original Sass. Loop complete! 🤖💥