forked from leamoser/mmpnews
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
45 lines (44 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
const plugin = require('tailwindcss/plugin');
import tailwindTypography from '@tailwindcss/typography';
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
colors: {
transparent: 'transparent',
white: '#ffffff',
black: '#191919',
green: '#4ADE80',
red: '#EF4444',
violet: '#818CF8',
yellow: '#FBBF24'
},
extend: {
fontFamily: {
inter: ['"Inter"']
}
},
},
plugins: [
tailwindTypography,
plugin(function ({addUtilities}) {
addUtilities({
// Typo
'.typo-h1': {
'@apply font-inter text-[100px] leading-[121px]': {}
},
'.typo-h2': {
'@apply font-inter text-[35px] leading-[42px]': {}
},
'.typo-h3': {
'@apply font-inter text-[22px] leading-[26px]': {}
},
'.typo-text': {
'@apply font-inter text-[16px] leading-[20px]': {}
},
'.typo-info': {
'@apply font-inter text-[14px] leading-[17px]': {}
}
})
})
]
}