-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
101 lines (100 loc) · 2.84 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
100
101
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
mode: 'jit',
purge: { content: ['./public/**/*.html', './src/**/*.vue'] },
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
sans: ['-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol'],
serif: ['serif']
},
fontSize: {
xs: ['.75rem', { lineHeight: '1.25rem' }], // Small text 12px
sm: ['.875rem', { lineHeight: '1.375rem' }], // Small text 12px
base: ['.875rem', { lineHeight: '1.5rem' }], // 16px
lg: ['1rem', { lineHeight: '1.5rem' }], // 16px,
'head-7': ['.75rem', { lineHeight: '1.1875rem' }], // Heading 7 14px
'head-6': ['1rem', { lineHeight: '1.3125rem' }], // Heading 6 16px
'head-5': ['1.5rem', { lineHeight: '2rem' }], // Heading 5 24px
'head-4': ['1.75rem', { lineHeight: '2.0625rem' }], // Heading 4 28px
'head-3': ['2rem', { lineHeight: '2.5rem' }], // Heading 3 32px
'head-2': ['2.375rem', { lineHeight: '2.5rem' }], // Heading 2 38px
'head-1': ['2.625rem', { lineHeight: '2.5rem' }] // Heading 1 42px
},
screens: {
cs: '960px',
...defaultTheme.screens
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: {
SIDEBAR: '#161922',
DEFAULT: '#072245',
50: '#DBDFE1',
100: '#E3E7EB',
200: '#E6E6E8',
250: '#F7F8F8',
300: '#F3F5F8',
400: '#CFD6E4', // 3 bg
500: '#717C8D',
600: '#617296', // 2
700: '#072245', // 1,
800: '#000000'
},
green: {
DEFAULT: '#268334',
hover: '#1C7029',
400: '#E4F2E1',
100: '#E4F0E6',
...colors.green
},
white: colors.white,
info: {
DEFAULT: '#0363C2',
...colors.blue
},
warning: {
DEFAULT: '#FF9800',
...colors.yellow
},
success: {
DEFAULT: '#3DB249',
...colors.green
},
danger: {
DEFAULT: '#F54F64',
...colors.red
},
primary: {
DEFAULT: '#268334',
HOVER: '#1C7029'
}
},
extend: {
borderRadius: {
xs: '2px',
sm: '4px',
DEFAULT: '5px'
},
opacity: {
15: '0.15'
},
backgroundImage: {
'web-app': "url('~/assets/images/landing/download/bg4.png')",
'mobile-app': "url('~/assets/images/landing/download/bg3.png')",
'generator-1': "url('~/assets/images/landing/password-generator/bg1.png')",
'generator-2': "url('~/assets/images/landing/password-generator/bg2.png')"
}
}
},
variants: {
extend: {}
},
plugins: [
require('@tailwindcss/forms', {
strategy: 'class'
})
]
}