-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
56 lines (54 loc) · 1.42 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
mode: 'jit',
content: [
'./src/**/*.{md,pug,json}'
],
safelist: [
'font-*',
'.fixed',
'img.image-zoom',
'gallery_card',
'.gslide-description',
'.goverlay',
'logo-wraper',
// WOW this is so irritating!
'fsjs-label-text',
'fsjs-skin',
'fsjs-block',
'fontSampler',
'fsjs-block-tester',
'fsjs-wrapper',
'fsjs-button-selected',
'fsjs-block-type-buttongroup'
],
theme: {
extend: {
fontFamily: {
sans: ['tt-commons-pro', ...defaultTheme.fontFamily.sans],
serif: ['corporate-a', ...defaultTheme.fontFamily.serif], // Only used for branding
},
fontSize: {
// [fontSize, lineHeight]
base_sm: ['1rem', '1.1'], // Body mobile
base: ['1rem', '1.4'], // Body
heading_sm: ['2.2rem', '1.2'], // Branding mobile
heading: ['2.4rem', '1.2'], // Branding header
// TODO: new system from Cargo, ideally remove the rest
sizeh2: ['1.5rem', '1.3'],
sizeh1: ['2.5rem', '1.2']
}
},
colors: {
navy: '#002855', // This should mostly disappear, I don't like navy that much anymore
white: '#FFFFFF',
orange: '#FF5C0A',
black: '#000000'
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('tailwindcss-debug-screens')
],
}