-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
tailwind.config.js
59 lines (58 loc) · 1.86 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
58
59
const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
// Needed for tailwind's typography plugin See:
// https://github.com/tailwindlabs/tailwindcss-typography/issues/26
important: true,
content: ['./components/**/*.js', './lib/**/*.js', './pages/**/*.js', './posts/**/*.mdx'],
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.neutral,
indigo: colors.indigo,
red: colors.red,
yellow: colors.yellow,
// FLP's special purple is number 900!
purple: {
50: '#f9fafb',
100: '#eef2fa',
200: '#d9dbf6',
300: '#b6b6e8',
400: '#948cd5',
500: '#7866c3',
600: '#614aa9',
700: '#483783',
800: '#31255a',
900: '#180040',
},
},
extend: {
backgroundImage: {
imgScotus: "url('/images/homepage/scotus-hero.jpeg')",
imgJudgeHr: "url('/images/homepage/judge-hr.jpeg')",
EOYBanner1: "url('/images/homepage/eOYBanner1.jpg')",
EOYBanner2: "url('/images/homepage/eOYBanner2.jpg')",
smile: 'radial-gradient(ellipse 80% 100% at 50% 10%, #180040 90%, transparent 90%)',
},
fontFamily: {
display: ['CooperHewitt', ...defaultTheme.fontFamily.sans],
},
height: (theme) => ({
'36px': '36px', // For the judges ribbon
}),
width: {
// For any full bleed backgrounds
'full-bleed-4': 'calc(100% + 2rem)', // Use with -ml-4
'full-bleed-6': 'calc(100% + 3rem)', // Use with -ml-6
'full-bleed-10': 'calc(100% + 5rem)', // Use with -ml-10
},
minHeight: {
'450px': '450px',
},
},
},
};