-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
55 lines (54 loc) · 1.56 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
const defaultTheme = require('tailwindcss/defaultTheme');
const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
'blue-300': '#5476f2',
'blue-400': '#2B55EE',
'green-400': '#4CC759',
'blueish-grey-500': '#425B99',
'blueish-grey-600': '#202C4A',
'blueish-grey-700': '#111B36',
'blueish-grey-800': '#0B1324',
'blueish-grey-900': '#0A1020',
'neutral-100': '#FFFFFF',
'neutral-200': '#D4DDF2',
'neutral-300': '#C0CDEC',
'neutral-400': '#C6CFE6',
'neutral-900': '#000000',
},
extend: {
fontFamily: {
sans: ['var(--font-poppins)', ...fontFamily.sans],
},
screens: {
xs: '420px',
...defaultTheme.screens,
},
spacing: {
'navigation-height': 'var(--navigation-height)',
},
backgroundImage: {
'grid-tile': 'url("/images/grid-tile.svg")',
},
keyframes: {
shake: {
'0%': { transform: 'translateX(0)' },
'25%': { transform: 'translateX(0.5rem)' },
'50%': { transform: 'translateX(-0.5rem)' },
'75%': { transform: 'translateX(0.5rem)' },
'100%': { transform: 'translateX(0)' },
},
},
animation: {
shake: 'shake 0.25s ease-in-out forwards',
'reduced-shake': 'shake 0.5s ease-in-out forwards',
},
},
},
plugins: [],
};