From 16c5da78a01b84e366e9b6bed5e55d19d81e5d0c Mon Sep 17 00:00:00 2001 From: Nick Brown Date: Thu, 12 Dec 2024 21:13:26 -0500 Subject: [PATCH] Update css.ts Extended units with https://www.w3.org/TR/css-values-4/ additions --- src/basic-languages/css/css.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic-languages/css/css.ts b/src/basic-languages/css/css.ts index 5afc7af51b..5cff558d6d 100644 --- a/src/basic-languages/css/css.ts +++ b/src/basic-languages/css/css.ts @@ -165,7 +165,7 @@ export const language = { units: [ [ - '(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', + '(em|ex|cap|ch|ic|rem|lh|rlh|fr|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax|vi|vb|vw|vh|svw|lvw|dvw|svh|lvh|dvh|svi|lvi|dvi|svb|lvb|dvb|vm|cm|mm|Q|in|px|pt|pc|dpi|dpcm|dppx|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'attribute.value.unit', '@pop' ]