-
Notifications
You must be signed in to change notification settings - Fork 32
/
tailwind.config.js
40 lines (36 loc) · 1.03 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
mono: ['Roboto Mono', 'monospace'],
},
colors: {
bg: 'var(--color-bg)',
'bg-secondary': 'var(--color-bg-secondary)',
accent: 'var(--color-accent)',
'accent-light': 'var(--color-accent-light)',
text: 'var(--color-text)',
'dark-1': 'var(--color-dark-1)',
'dark-2': 'var(--color-dark-2)',
'dark-3': 'var(--color-dark-3)',
},
screens: {
sm: '200px',
// => @media (min-width: 200px) { ... }
md: '768px',
// => @media (min-width: 768px) { ... }
lg: '1024px',
// => @media (min-width: 1024px) { ... }
xl: '1280px',
// => @media (min-width: 1280px) { ... }
'2xl': '1536px',
// => @media (min-width: 1536px) { ... }
},
},
},
plugins: [],
};