Init with some changes to the Serif Theme

This commit is contained in:
Waldehyd 2025-09-12 16:54:28 +02:00
commit 912d143813
243 changed files with 15251 additions and 0 deletions

View file

@ -0,0 +1,17 @@
'use strict'
const fs = require('node:fs')
const path = require('node:path')
const { runSass } = require('sass-true')
module.exports = (filename, { describe, it }) => {
const data = fs.readFileSync(filename, 'utf8')
const TRUE_SETUP = '$true-terminal-output: false; @import "true";'
const sassString = TRUE_SETUP + data
runSass(
{ describe, it, sourceType: 'string' },
sassString,
{ loadPaths: [path.dirname(filename)] }
)
}