-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (61 loc) · 1.51 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
const { buenTypeTailwind } = require('@muybuen/type');
const { headline, text } = require('./lib/config/type-config-js');
const customDefinitions = {
customHeadlines: headline,
customTexts: text,
};
function typePlugin({ addUtilities }) {
buenTypeTailwind({ addUtilities }, customDefinitions);
}
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./context/**/*.{js,ts,jsx,tsx}',
'./app/**/*.{js,ts,jsx,tsx}',
'./app-pages/**/*.{js,jsx,ts,tsx}',
'./components/**/*.{js,jsx,ts,tsx}',
'./lib/**/*.{js,jsx,ts,tsx}',
],
theme: {
fontSize: {},
extend: {
textColors: {
selection: 'var(--root-color)',
},
backgroundColor: {
selection: '#000000da',
},
fontFamily: {
sans: ['Montreal'],
'sans-italic': ['MontrealItalic'],
bold: ['KUniforma Bold'],
'bold-ritalic': ['KUniforma Bold Ritalic'],
black: ['KUniforma Black'],
'black-ritalic': ['KUniforma Black Ritalic'],
pixel: ['PPMondwest'],
serif: ['BigCaslon'],
},
letterSpacing: {
tight: '-0.05em',
tighter: '-.04em',
normal: '0',
wide: '0.05em',
wider: '0.1em',
widest: '0.15em',
},
borderWidth: {
1: '1px',
},
colors: {
root: 'var(--root-color)',
},
transitionTimingFunction: {
'out-expo': 'cubic-bezier(0.16, 1, 0.3, 1)',
},
},
},
variants: {
extend: {},
},
plugins: [typePlugin],
};