mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
[json] fix for color decorator regex
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user