-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
37 lines (37 loc) · 1 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
const defaultTheme = require('tailwindcss/defaultTheme');
const typography = require('@tailwindcss/typography');
const forms = require('@tailwindcss/forms');
module.exports = {
mode: 'jit',
content: [
'./src/**/*.{js,jsx,ts,tsx}',
process.env === 'production'
? null
: './{playground,stories}/**/*.{js,jsx,ts,tsx}',
].filter((item) => item),
theme: {
extend: {
fontFamily: {
sans: ['Rubik', ...defaultTheme.fontFamily.sans],
mono: ['Roboto Mono', ...defaultTheme.fontFamily.mono],
},
colors: {
blue: { DEFAULT: '#015fcf' },
darkBlue: { DEFAULT: '#003459' },
lightBlue: { DEFAULT: '#c8d6ee' },
lightGray: { DEFAULT: '#f5f5f5' },
purple: { DEFAULT: '#2857ce' },
orange: { DEFAULT: '#fac65a' },
yellow: { DEFAULT: '#ffe04c' },
'accent-1': '#ccdbdc',
'accent-2': '#9ad1d4',
'accent-3': '#80ced7',
'accent-4': '#007ea7',
},
animation: {
spin: 'spin 600ms linear infinite',
},
},
},
plugins: [typography, forms],
}