styles-update

This commit is contained in:
Rogelio
2025-10-23 05:59:44 +00:00
parent b60b35cad4
commit 127413b971
1685 changed files with 272410 additions and 5731 deletions

17
node_modules/postcss-import/lib/assign-layer-names.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
"use strict"
module.exports = function (layer, node, state, options) {
layer.forEach((layerPart, i) => {
if (layerPart.trim() === "") {
if (options.nameLayer) {
layer[i] = options
.nameLayer(state.anonymousLayerCounter++, state.rootFilename)
.toString()
} else {
throw node.error(
`When using anonymous layers in @import you must also set the "nameLayer" plugin option`
)
}
}
})
}