-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathtailwind.config.js
More file actions
80 lines (80 loc) · 2.62 KB
/
Copy pathtailwind.config.js
File metadata and controls
80 lines (80 loc) · 2.62 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/**/*.{astro,html,md,mdx,vue,ts,js}',
'./public/**/*.html',
'./public/src/**/*.js', // Model Zoo Vue templates — without this their classes get purged
],
theme: {
container: {
center: true,
padding: '1rem'
},
extend: {
fontFamily: {
'display': ['"Atkinson Hyperlegible"', 'system-ui', 'sans-serif'],
'body': ['"Atkinson Hyperlegible"', 'system-ui', 'sans-serif'],
'mono': ['"JetBrains Mono"', 'ui-monospace', 'monospace'],
},
colors: {
brand: {
DEFAULT: '#05789e',
primary: '#00C0B5',
secondary: '#3E5CAD',
dark: '#046483',
light: '#e6f3f7',
teal: '#007E76', // accessible teal for small text on light (~4.9:1)
accent: '#009C94' // vibrant teal for large headings on light (~3.4:1)
},
neutral: {
purewhite: '#ffffff',
darkestblack: '#1a1a1a',
lightgray: '#F3F4F6'
},
surface: {
dark: '#0B1120',
darker: '#060d1b',
}
},
spacing: {
'128': '32rem',
},
zIndex: {
'-10': '-10',
'60': '60',
'70': '70',
},
inset: {
'100': '100%',
},
typography: {
DEFAULT: {
css: {
color: '#4B5563',
fontFamily: '"Atkinson Hyperlegible", system-ui, sans-serif',
maxWidth: '70ch',
a: {
color: '#00C0B5',
'&:hover': {
color: '#046483',
},
},
},
},
},
animation: {
'slide-up': 'slideUp 0.6s ease-out forwards',
},
keyframes: {
slideUp: {
'0%': { opacity: '0', transform: 'translateY(30px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
}