-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
37 lines (36 loc) · 990 Bytes
/
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
import { addDynamicIconSelectors } from '@iconify/tailwind';
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line no-undef
export const content = ['./index.html', './src/**/*.{js,ts,jsx,tsx}'];
export const theme = {
extend: {
colors: {
'white-custom': '#f6f5f0',
'black-custom': '#333433',
'green-custom': '#2b673a',
'red-custom': '#e73223',
'blue-custom': '#8bacc1',
},
},
};
export const plugins = [
// eslint-disable-next-line no-undef
require('@tailwindcss/typography'),
addDynamicIconSelectors(),
function ({ addUtilities }) {
const newUtilities = {
'.font-greve-wide': {
fontFamily: 'greve',
fontVariationSettings: "'wght' 600, 'wdth' 1000",
},
'.font-greve-wide-bold': {
fontFamily: 'greve',
fontVariationSettings: "'wght' 800, 'wdth' 1000",
},
'.font-body': {
fontFamily: 'klima',
},
};
addUtilities(newUtilities);
},
];