-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
66 lines (64 loc) · 1.68 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
/* eslint-disable no-undef */
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: ['class'],
theme: {
fontFamily: {
sans: ['Poppins', 'sans-serif']
},
extend: {
colors: {
'primary-pure': 'rgb(255, 198, 50)'
}
}
},
plugins: [
plugin(function ({ addUtilities, theme }) {
addUtilities({
'.page-container': {
marginInline: 'auto',
paddingInline: '1.5rem',
maxWidth: '75rem',
height: 'calc(100vh - 4rem)',
fontFamily: theme('fontFamily.sans'),
overflow: 'hidden'
},
'.text-title-1': {
fontSize: '3.2rem',
fontWeight: '600',
lineHeight: '130%',
letterSpacing: '-0.1rem',
fontFamily: theme('fontFamily.sans')
},
'.text-title-2': {
fontSize: '1.5rem',
fontWeight: '600',
letterSpacing: '-0.05rem',
fontFamily: theme('fontFamily.sans')
},
'.text-paragraph-1': {
fontSize: '1.125rem',
fontWeight: 400,
lineHeight: '110%',
color: theme('colors.zinc.600'),
fontFamily: theme('fontFamily.sans')
},
'.input-box': {
paddingInline: '.5rem',
borderRadius: '4px',
maxWidth: '20rem',
width: '100%',
border: '1px solid #52525b',
height: '2.5rem',
color: '#52525b',
display: 'flex',
alignItems: 'center',
gap: '.25rem',
fontSize: '0.875rem'
}
})
})
]
}