1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
| import type { BuiltinThemeType } from '@vben-core/typings';
|
| interface BuiltinThemePreset {
| color: string;
| darkPrimaryColor?: string;
| primaryColor?: string;
| type: BuiltinThemeType;
| }
|
| const BUILT_IN_THEME_PRESETS: BuiltinThemePreset[] = [
| {
| color: 'hsl(209 100% 55%)',
| type: 'default',
| },
| {
| color: 'hsl(245 82% 67%)',
| type: 'violet',
| },
| {
| color: 'hsl(347 77% 60%)',
| type: 'pink',
| },
| {
| color: 'hsl(42 84% 61%)',
| type: 'yellow',
| },
| {
| color: 'hsl(231 98% 65%)',
| type: 'sky-blue',
| },
| {
| color: 'hsl(161 90% 43%)',
| type: 'green',
| },
| {
| color: '',
| type: 'custom',
| },
| ];
|
| export const COLOR_PRESETS = [...BUILT_IN_THEME_PRESETS].slice(0, 7);
|
| export { BUILT_IN_THEME_PRESETS };
|
| export type { BuiltinThemePreset };
|
|