-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.js
57 lines (55 loc) · 1.55 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
const colors = require('tailwindcss/colors');
module.exports = {
purge: {
content: ['./src/**/*.njk', './src/**/*.svg'],
layers: ['components', 'utilities'],
options: {
safelist: ['hidden', 'gist', 'twitter-tweet', 'visually-hidden', '/hljs/']
}
},
theme: {
screens: {
sm: {'max':'640px'},
md: {'max':'768px'},
lg: {'max':'1024px'}
},
fontFamily: {
'sans': ['ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'],
'mono': ['Menlo', 'Monaco', 'Cascadia Mono', 'Roboto Mono', 'Source Code Pro', 'Fira Mono', 'Droid Sans Mono', 'Courier New', 'monospace'],
'display': ['Caveat Brush', 'cursive']
},
fontSize: {
'xs': '.875rem',
'sm': '1rem',
'base': '1.35rem',
'lg': '1.5rem',
'xl': '1.875rem',
'2xl': '2.125rem',
'3xl': '2.5rem',
'4xl': '3.5rem',
'5xl': '4.5rem',
'6xl': '5.5rem',
'7xl': '6.5rem'
},
colors: {
sitebg: '#0E091D',
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.gray,
red: colors.red,
yellow: colors.yellow,
green: colors.green,
teal: colors.teal,
blue: colors.blue,
purple: colors.purple,
pink: colors.pink
},
extend: {
},
}
/*plugins: [
require('@tailwindcss/typography')
]*/
};