21 lines
328 B
TypeScript
21 lines
328 B
TypeScript
export const hexColorPattern = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;
|
|
|
|
export const colorOptions: string[] = [
|
|
'#f44336',
|
|
'#e91e63',
|
|
'#9c27b0',
|
|
'#673ab7',
|
|
'#3f51b5',
|
|
'#4896d5',
|
|
'#03a9f4',
|
|
'#00bcd4',
|
|
'#009688',
|
|
'#4caf50',
|
|
'#8bc34a',
|
|
'#cddc39',
|
|
'#ffeb3b',
|
|
'#ffc107',
|
|
'#222222',
|
|
'#dddddd',
|
|
];
|