🎨 [bootsier] Ajusta estilos para personalizar
This commit is contained in:
parent
674d92033c
commit
ed22d3d591
109 changed files with 171 additions and 7 deletions
17
extensions/pagetop-bootsier/static/scss/bootstrap-5.3.8/tests/sass-true/runner.js
vendored
Normal file
17
extensions/pagetop-bootsier/static/scss/bootstrap-5.3.8/tests/sass-true/runner.js
vendored
Normal 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)] }
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue