This commit is contained in:
Jordan Pittman 2023-06-14 13:10:56 -04:00 • committed by Robin Malfait
parent 4ae6f06466
commit dfb0958147
No known key found for this signature in database
GPG key ID: 92F53D68B9041AFE

View file

@ -52,6 +52,9 @@ function parseVariable(config, decl) {
decl.remove()
return
} else if (keypath !== null && value === 'unset') {
// when using `--plugin-key: unset` we want to remove that from the config
throw new Error("Not implemented yet")
}
// When using `--some-plugin: initial` it should reset to the default value for that key
@ -102,6 +105,7 @@ function parseVariableName(name) {
'font-family': 'fontFamily',
'font-size': 'fontSize',
'shadow': 'boxShadow',
'blur': 'blur',
}
// Unescape the name if needed