-
Notifications
You must be signed in to change notification settings - Fork 174
/
tailwind.config.js
68 lines (67 loc) · 1.86 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
65
66
67
68
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'mixins/**/*.js',
'plugins/**/*.js'
],
theme: {
extend: {
screens: {
'short': { 'raw': '(max-height: 500px)' }
},
colors: {
bg: 'rgb(var(--color-bg) / <alpha-value>)',
'bg-hover': 'rgb(var(--color-bg-hover) / <alpha-value>)',
fg: 'rgb(var(--color-fg) / <alpha-value>)',
'fg-muted': 'rgb(var(--color-fg-muted) / <alpha-value>)',
secondary: 'rgb(var(--color-secondary) / <alpha-value>)',
primary: 'rgb(var(--color-primary) / <alpha-value>)',
border: 'rgb(var(--color-border) / <alpha-value>)',
'bg-toggle': 'rgb(var(--color-bg-toggle) / <alpha-value>)',
'bg-toggle-selected': 'rgb(var(--color-bg-toggle-selected) / <alpha-value>)',
'track-cursor': 'rgb(var(--color-track-cursor) / <alpha-value>)',
'track': 'rgb(var(--color-track) / <alpha-value>)',
'track-buffered': 'rgb(var(--color-track-buffered) / <alpha-value>)',
accent: '#1ad691',
error: '#FF5252',
info: '#2196F3',
success: '#4CAF50',
successDark: '#3b8a3e',
warning: '#FB8C00'
},
cursor: {
none: 'none'
},
fontFamily: {
sans: ['Source Sans Pro', ...defaultTheme.fontFamily.sans],
mono: ['Ubuntu Mono', ...defaultTheme.fontFamily.mono]
},
fontSize: {
xxs: '0.625rem'
},
spacing: {
'18': '4.5rem'
},
height: {
'18': '4.5rem'
},
maxWidth: {
'24': '6rem'
},
minWidth: {
'4': '1rem',
'8': '2rem',
'10': '2.5rem',
'12': '3rem',
'16': '4rem'
},
minHeight: {
'12': '3rem'
}
}
},
plugins: [],
}