test: prove TechLog UI migration parity
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
const RAW_PALETTE_VALUE_PATTERN =
|
||||
/(?<![a-z0-9/_-])(?:#[0-9a-f]{3,8}\b|oklch\(|rgba?\()/i;
|
||||
|
||||
export function containsRawPaletteValue(source: string): boolean {
|
||||
return RAW_PALETTE_VALUE_PATTERN.test(source);
|
||||
}
|
||||
Reference in New Issue
Block a user