-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
75 lines (75 loc) · 1.71 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,jsx,ts,tsx}',
'./pages/**/*.{js,jsx,ts,tsx}',
'./components/**/*.{js,jsx,ts,tsx}',
],
theme: {
extend: {
colors: {
gold: '#f1e792',
darkblue: '#001627',
creamwhite: '#ffffe8',
teknologröd: '#b20738',
eventblue: '#8ad7d7',
blogpink: '#d79ad1',
darkgray: '#242424',
gray: '#38404b',
lightGray: '#f5f5f5',
},
fontFamily: {
body: ['var(--font-montserrat)'],
display: ['var(--font-montserrat)'],
},
screens: {
xxs: '450px',
},
typography: {
DEFAULT: {
css: {
fontSize: '1rem',
h1: {
fontSize: '2.5rem',
fontWeight: 600,
},
'h1 strong': {
fontWeight: 700,
},
h2: {
fontSize: '2rem',
fontWeight: 500,
},
'h2 strong': {
fontWeight: 600,
},
h3: {
fontSize: '1.5rem',
fontWeight: 500,
},
'h3 strong': {
fontWeight: 600,
},
h4: {
fontSize: '1.25rem',
fontWeight: 500,
},
'h4 strong': {
fontWeight: 600,
},
},
},
},
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
},
},
plugins: [
({ addVariant }) => {
addVariant('descendant', '& *')
addVariant('child', '& > *')
},
require('@tailwindcss/typography'),
],
}