mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
[themes] color validation fix
This commit is contained in:
@@ -69,7 +69,7 @@ export interface IColorRegistry {
|
||||
|
||||
}
|
||||
|
||||
const colorPattern = '^#([0-9a-f]{3,4}|([0-9a-f]{2}){3,4})$';
|
||||
const colorPattern = '^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$';
|
||||
const colorPatternErrorMessage = nls.localize('invalid.color', 'Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA');
|
||||
|
||||
class ColorRegistry implements IColorRegistry {
|
||||
|
||||
Reference in New Issue
Block a user