-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy paththeme.config.ts
54 lines (51 loc) · 1.53 KB
/
theme.config.ts
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
46
47
48
49
50
51
52
53
54
import { TDarkMode } from '@/types/darkMode.type';
import { TRounded } from '@/types/rounded.type';
import { TColors } from '@/types/colors.type';
import { TColorIntensity } from '@/types/colorIntensities.type';
import { TBorderWidth } from '@/types/borderWidth.type';
import { TLang } from '@/types/lang.type';
import DARK_MODE from '../constants/darkMode.constant';
type TThemeConfigs = {
projectTitle: string;
projectName: string;
language: TLang;
theme: TDarkMode;
themeColor: TColors;
themeColorShade: TColorIntensity;
rounded: TRounded;
/**
* UI Components
*
* If you give "border-0", you will remove the borders on the components.
*/
borderWidth: TBorderWidth;
/**
* Default: 'transition-all duration-300 ease-in-out'
*
* For more information;
*
* https://tailwindcss.com/docs/transition-property
*
* https://tailwindcss.com/docs/transition-duration
*
* https://tailwindcss.com/docs/transition-timing-function
*
* https://tailwindcss.com/docs/transition-delay
*/
transition: string;
fontSize: 12 | 13 | 14 | 15 | 16 | 17 | 18;
};
const themeConfig: TThemeConfigs = {
projectTitle: 'Fyr',
projectName: 'React TypeScript Tailwind Admin & AI Chat Template',
language: 'en',
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-assignment
theme: DARK_MODE.SYSTEM,
themeColor: 'blue',
themeColorShade: '500',
rounded: 'rounded-lg',
borderWidth: 'border-2',
transition: 'transition-all duration-300 ease-in-out',
fontSize: 13,
};
export default themeConfig;