From dfb0958147822efc1324b514a89a7523e9d3f1dc Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Wed, 14 Jun 2023 13:10:56 -0400 Subject: [PATCH] wip --- src/lib/parseCssConfig.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/parseCssConfig.js b/src/lib/parseCssConfig.js index cd907007a..3659c0263 100644 --- a/src/lib/parseCssConfig.js +++ b/src/lib/parseCssConfig.js @@ -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