-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
54 lines (52 loc) · 1.56 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
/** @type {import('tailwindcss').Config} */
const fluid_type = require('tailwindcss-fluid-type');
module.exports = {
content: [
'./*.php',
'./**/*.php',
'other-classes.txt',
],
theme: {
extend: {
screens: {
'md': '782px',
},
margin: ({ theme }) => ({
'section': `clamp(${theme('width.12')}, 2.294vw + 1.041rem, ${theme('width.32')})`,
'layer': `clamp(${theme('width.32')}, 2.294vw + 1.041rem, ${theme('width.56')})`,
}),
padding: ({ theme }) => ({
'section': `clamp(${theme('width.12')}, 2.294vw + 1.041rem, ${theme('width.32')})`,
'layer': `clamp(${theme('width.32')}, 2.294vw + 1.041rem, ${theme('width.56')})`,
}),
colors: {
primary: {
DEFAULT: '#3B71CA',
600: '#3061AF',
700: '#285192',
}
},
},
},
corePlugins: {
fontSize: false
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('tailwindcss-debug-screens'),
fluid_type({
settings: {
fontSizeMin: 1.25,
fontSizeMax: 1.375,
ratioMin: 1.125,
ratioMax: 1.2,
screenMin: 20,
screenMax: 96,
unit: 'rem',
prefix: '',
extendValues: false,
},
}),
],
}