2082001ff8
* Initial tests set up This adds tests using uvu (we can switch if people want) and restructures things a bit so that it's easier to test. Like in snowpack you set up a little project. In our tests you can say: ```js const result = await runtime.load('/blog/hello-world') ``` And analyze the result. I included a `test-helpers.js` which has a function that will turn HTML into a cheerio instance, for inspecting the result HTML. * Bring snowpack example in * Formatting
21 lines
273 B
SCSS
21 lines
273 B
SCSS
/**
|
|
* Icon
|
|
* SVG icons and the like
|
|
*/
|
|
|
|
.snow-icon {
|
|
display: block;
|
|
width: 1em;
|
|
height: 1em;
|
|
fill: currentColor;
|
|
|
|
// ----------
|
|
// Modifiers
|
|
// ----------
|
|
|
|
// note: this is just an example; make others!
|
|
&__lg {
|
|
width: 2em;
|
|
height: 2em;
|
|
}
|
|
}
|