This commit is contained in:
madegryc pc
2024-08-10 17:29:33 +02:00
parent 2f17dabad0
commit 506ab20c83
257 changed files with 184436 additions and 14 deletions

24
site/interface/node_modules/postcss/lib/declaration.js generated vendored Normal file
View File

@ -0,0 +1,24 @@
'use strict'
let Node = require('./node')
class Declaration extends Node {
constructor(defaults) {
if (
defaults &&
typeof defaults.value !== 'undefined' &&
typeof defaults.value !== 'string'
) {
defaults = { ...defaults, value: String(defaults.value) }
}
super(defaults)
this.type = 'decl'
}
get variable() {
return this.prop.startsWith('--') || this.prop[0] === '$'
}
}
module.exports = Declaration
Declaration.default = Declaration