-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
tailwind.config.cjs
71 lines (70 loc) · 1.69 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
module.exports = {
content: ['./**/*.html', './app/**/*.svelte'],
darkMode: 'class',
theme: {
fontFamily: {
sans: ['sofia-pro', 'sans-serif'],
display: ['cubano', 'sans-serif'],
body: ['sofia-pro', 'sans-serif'],
code: ['attribute-mono', 'sans-serif'],
},
colors: {
transparent: 'transparent',
current: 'currentColor',
white: '#ffffff',
black: '#000000',
gray1: '#f8f8f8',
gray2: '#dbe1e8',
gray3: '#b2becd',
gray4: '#6c7983',
gray5: '#454e56',
gray6: '#2a2e35',
gray7: '#12181b',
link: '#0000ee',
blue: colors.blue,
green: colors.green,
pink: colors.pink,
purple: colors.purple,
orange: colors.orange,
red: colors.red,
yellow: colors.yellow,
},
extend: {
boxShadow: {
'3xl': '0 5px 20px rgb(0 0 0 / 30%)',
'4xl': '0 5px 20px rgb(0 0 0 / 90%)',
},
typography: {
DEFAULT: {
css: {
h1: {
'font-weight': 'normal',
'font-size': '2.5rem',
},
h2: {
'font-weight': 'normal',
'font-size': '2rem',
},
h3: {
'font-weight': 'normal',
'font-size': '1.75rem',
},
h4: {
'font-weight': 'normal',
'font-size': '1.5rem',
},
h5: {
'font-weight': 'normal',
'font-size': '1.25rem',
}
},
},
},
}
},
plugins: [
require('@tailwindcss/typography'),
]
};