-
Notifications
You must be signed in to change notification settings - Fork 331
/
tailwind.config.js
61 lines (60 loc) · 2.02 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
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
important: 'body',
corePlugins: {
preflight: false
},
presets: [require('./packages/client/tailwind.preset.js')],
content: ['./packages/client/**/!(*node_modules*)/**/*.{ts,tsx,js,jsx,html}', './template.html'],
theme: {
data: {
highlighted: 'highlighted=true'
},
fontFamily: {
sans: ['IBM Plex Sans', ...defaultTheme.fontFamily.sans],
mono: ['IBM Plex Mono', ...defaultTheme.fontFamily.mono]
},
extend: {
spacing: {
'icon-md-18': '18px',
'icon-md-24': '24px',
'icon-md-36': '36px',
'icon-md-40': '40px',
'icon-md-48': '48px'
},
padding: {
'row-gutter': '16px'
},
boxShadow: {
card: 'rgba(0,0,0,.2) 0px 2px 1px -1px, rgba(0,0,0,.14) 0px 1px 1px 0px, rgba(0,0,0,.12) 0px 1px 3px 0px',
'card-1':
'0px 6px 10px rgba(68, 66, 88, 0.14), 0px 1px 18px rgba(68, 66, 88, 0.12), 0px 3px 5px rgba(68, 66, 88, 0.2)',
dialog:
'0px 11px 15px -7px rgba(0,0,0,.2), 0px 24px 38px 3px rgba(0,0,0,.14), 0px 9px 46px 8px rgba(0,0,0,.12)'
},
borderRadius: {
card: '4px'
},
screens: {
// => @media (min-width: 512px) { ... }
invoice: '512px',
'sidebar-left': '1024px',
'new-meeting-grid': '1112px',
'new-meeting-selector': '500px',
'poker-discussion-fullscreen-drawer': '660px',
'single-reflection-column': '704px', // (ReflectionWith + 16) * 2,
'dashboard-widest': '1816px', // (4*296) + (5*24) + (256*2) = 4 card cols, 4 col gutters, 2 sidebars
'vote-phase': '800px',
'big-display': '1900px',
'fuzzy-tablet': '700px'
}
}
},
plugins: [
require('@tailwindcss/forms')({
strategy: 'class' // only generate classes, overiding global form styles would affect non-tailwind other components
}),
require('@tailwindcss/container-queries')
]
}