-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
53 lines (49 loc) · 1.06 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
/** @type {import('tailwindcss').Config} */
const { createThemes } = require('tw-colors')
export default {
darkMode: 'class',
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
colors: {
},
fontFamily: {
'avenir': ['Avenir Next LT pro', 'Times New Roman']
},
fontSize: {
xsm: '0.5rem', // 8px
sm: '0.625rem', // 9px
base: '0.625rem', // 10px
lg: '0.6875rem', // 11px
xl: '0.75rem', // 12px
'2xl': '1rem', // 16px
'3xl': '2rem', // 32px
},
extend: {
aspectRatio: {
'A4': '21 / 29.7'
}
},
},
plugins: [
createThemes({
'light': {
base: '#767171',
primary: '#445490',
secondary: 'black',
tertiary: '#3B3838',
background: 'white',
'background-secondary': '#F0F0F0'
},
'dark': {
base: '#94A3B8',
primary: '#38BAF8',
secondary: '#E2E8F0',
tertiary: '#E2E8F0',
background: '#0F172A',
'background-secondary': '#0A1227'
},
})
],
}