-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
99 lines (98 loc) · 3.31 KB
/
tailwind.config.js
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import("@types/tailwindcss/tailwind-config").TailwindConfig } */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
darkMode: 'media',
theme: {
screens: {
'sm': '576px',
'md': '768px',
'lg': '992px',
'xl': '1200px',
'prefers-contrast': { 'raw': '(prefers-contrast: more)' },
},
fontFamily: {
rounded: ['Nunito', ...fontFamily.sans],
logo: ['Lobser', ...fontFamily.sans],
},
colors: {
primary: {
default: 'var(--ion-color-primary)',
contrast: 'var(--ion-color-primary-contrast)',
shade: 'var(--ion-color-primary-shade)',
tint: 'var(--ion-color-primary-tint)',
},
secondary: {
default: 'var(--ion-color-secondary)',
contrast: 'var(--ion-color-secondary-contrast)',
shade: 'var(--ion-color-secondary-shade)',
tint: 'var(--ion-color-secondary-tint)',
},
tertiary: {
default: 'var(--ion-color-tertiary)',
contrast: 'var(--ion-color-tertiary-contrast)',
shade: 'var(--ion-color-tertiary-shade)',
tint: 'var(--ion-color-tertiary-tint)',
},
light: {
default: 'var(--ion-color-light)',
contrast: 'var(--ion-color-light-contrast)',
shade: 'var(--ion-color-light-shade)',
tint: 'var(--ion-color-light-tint)',
},
medium: {
default: 'var(--ion-color-medium)',
contrast: 'var(--ion-color-medium-contrast)',
shade: 'var(--ion-color-medium-shade)',
tint: 'var(--ion-color-medium-tint)',
},
dark: {
default: 'var(--ion-color-dark)',
contrast: 'var(--ion-color-dark-contrast)',
shade: 'var(--ion-color-dark-shade)',
tint: 'var(--ion-color-dark-tint)',
},
success: {
default: 'var(--ion-color-success)',
contrast: 'var(--ion-color-success-contrast)',
shade: 'var(--ion-color-success-shade)',
tint: 'var(--ion-color-success-tint)',
},
warning: {
default: 'var(--ion-color-warning)',
contrast: 'var(--ion-color-warning-contrast)',
shade: 'var(--ion-color-warning-shade)',
tint: 'var(--ion-color-warning-tint)',
},
danger: {
default: 'var(--ion-color-danger)',
contrast: 'var(--ion-color-danger-contrast)',
shade: 'var(--ion-color-danger-shade)',
tint: 'var(--ion-color-danger-tint)',
},
step: {
'50': 'var(--ion-color-step-50)',
'100': 'var(--ion-color-step-100)',
'150': 'var(--ion-color-step-150)',
'200': 'var(--ion-color-step-200)',
'250': 'var(--ion-color-step-250)',
'300': 'var(--ion-color-step-300)',
'350': 'var(--ion-color-step-350)',
'400': 'var(--ion-color-step-400)',
'450': 'var(--ion-color-step-450)',
'500': 'var(--ion-color-step-500)',
'550': 'var(--ion-color-step-550)',
'600': 'var(--ion-color-step-600)',
'650': 'var(--ion-color-step-650)',
'700': 'var(--ion-color-step-700)',
'750': 'var(--ion-color-step-750)',
'800': 'var(--ion-color-step-800)',
'850': 'var(--ion-color-step-850)',
'900': 'var(--ion-color-step-900)',
'950': 'var(--ion-color-step-950)',
},
}
},
}