[json] fix for color decorator regex

This commit is contained in:
Martin Aeschlimann
2017-04-27 22:41:15 +02:00
parent 3edd565a4b
commit ffd0d963f2

View File

@@ -131,7 +131,7 @@ export function activateColorDecorations(decoratorProvider: (uri: string) => The
return Disposable.from(...disposables);
}
const colorPattern = /^#[0-9a-f]{3,8}$/;
const colorPattern = /^#[0-9A-Fa-f]{3,8}$/;
function hex2CSSColor(hex: string): string {
console.log(hex);