-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
74 lines (74 loc) · 1.76 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./Sources/**/*.swift",
"./Sources/Styles/global.css"
],
theme: {
fontFamily: {
'sans': ['Open Sans', 'sans-serif']
},
extend: {
fontSize: {
'heading-1': '3rem',
'heading-2': '2rem',
'heading-3': '1.5rem',
'heading-4': '1.25rem',
'heading-5': '1rem',
'heading-6': '0.75rem'
},
colors: {
'blog-c-bg': '#FFFFFF',
'blog-c-nav': 'rgba(255,255,255,0.7)',
'blog-c-nav-text': '#1d1d1f',
'blog-c-tag-text': '#8e8e93',
'blog-c-time-text': '#6e6e73',
'blog-c-pagination-button': 'rgba(210,210,215,0.2)',
'blog-c-pagination-button-hover': 'rgba(210,210,215,0.5)',
'blog-c-preview-page': '#F6F8FA',
'blog-c-card': '#FFFFFF',
'blog-c-button': '#F5F5F7',
'blog-c-footer': '#F5F5F7',
'blog-c-brand-blue': '#5364FF',
'blog-c-brand-sky': '#708FFF',
'blog-c-utterances': '#F6F8FA',
'blog-c-divider': 'rgba(60, 60, 60, .12)'
},
height: {
'blog-nav': '55px',
},
lineHeight: {
'calc-blog-nav': 'calc(55px)'
},
spacing: {
'calc-blog-nav': 'calc(56px)'
},
borderRadius: {
'sm': '0.125rem',
'md': '0.375rem',
'lg': '0.75rem',
'xl': '1.5rem',
},
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px'
},
zindex: {
'10': 10,
'20': 20,
'30': 30,
'40': 40,
'50': 50
},
flex: {
'1-0': '1 0 1px'
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
};