Import source: src/config/styleOptions
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
@@ -0,0 +1,50 @@
|
|||||||
|
import type { Pattern } from '../types';
|
||||||
|
|
||||||
|
import patternSquare from '../assets/patterns/pattern-square.svg';
|
||||||
|
import patternDots from '../assets/patterns/pattern-dots-CCiwn6yq.svg';
|
||||||
|
import patternRounded from '../assets/patterns/pattern-rounded-cQhqj8iX.svg';
|
||||||
|
import patternClassy from '../assets/patterns/pattern-classy.svg';
|
||||||
|
import patternClassyRounded from '../assets/patterns/pattern-classy-WtzCwE2y.svg';
|
||||||
|
|
||||||
|
export interface PatternOption {
|
||||||
|
key: Pattern;
|
||||||
|
svg: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const PATTERNS: PatternOption[] = [
|
||||||
|
{ key: 'square', svg: patternSquare },
|
||||||
|
{ key: 'dots', svg: patternDots },
|
||||||
|
{ key: 'rounded', svg: patternRounded },
|
||||||
|
{ key: 'classy', svg: patternClassy },
|
||||||
|
{ key: 'classy-rounded', svg: patternClassyRounded },
|
||||||
|
];
|
||||||
|
|
||||||
|
export const QR_COLORS = [
|
||||||
|
'#1A1A1A',
|
||||||
|
'#3D2B1F',
|
||||||
|
'#1E2D40',
|
||||||
|
'#2563EB',
|
||||||
|
'#16A34A',
|
||||||
|
'#7C3AED',
|
||||||
|
'#EC4899',
|
||||||
|
'#EA580C',
|
||||||
|
'rainbow',
|
||||||
|
];
|
||||||
|
|
||||||
|
export const BG_COLORS: (string | null)[] = [
|
||||||
|
'#FFFFFF',
|
||||||
|
'#FEF9C3',
|
||||||
|
'#D1FAE5',
|
||||||
|
'#CFFAFE',
|
||||||
|
'#DBEAFE',
|
||||||
|
'#EDE9FE',
|
||||||
|
'#FCE7F3',
|
||||||
|
'#FEF3C7',
|
||||||
|
null,
|
||||||
|
];
|
||||||
|
|
||||||
|
export const THEME_CARD_BG: Record<string, string> = {
|
||||||
|
paper: '#F5F0E8',
|
||||||
|
midnight: '#1A1B2E',
|
||||||
|
pastel: '#FFF0F5',
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user