Skip to content

Commit e0c7428

Browse files
committed
[themes] color validation fix
1 parent d16e095 commit e0c7428

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/platform/theme/common/colorRegistry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export interface IColorRegistry {
6969

7070
}
7171

72-
const colorPattern = '^#([0-9a-f]{3,4}|([0-9a-f]{2}){3,4})$';
72+
const colorPattern = '^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$';
7373
const colorPatternErrorMessage = nls.localize('invalid.color', 'Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA');
7474

7575
class ColorRegistry implements IColorRegistry {

0 commit comments

Comments
 (0)