-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
153 lines (153 loc) · 5.39 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
module.exports = {
content: [
'./_drafts/**/*.html',
'./_includes/**/*.html',
'./_layouts/**/*.html',
'./_posts/*.md',
'./_meta/*.md',
'./*.md',
'./*.html',
],
theme: {
extend: {
fontFamily: {
'sans': ['"Sora"', 'sans-serif']
},
backgroundImage: {
'hero-pattern': "url('/assets/images/wave.png')",
'cta-pattern': "url('/assets/images/wave.png')",
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
'--tw-prose-body': theme('colors.swim-body-text'),
'--tw-prose-headings': theme('colors.swim-dark-blue'),
'--tw-prose-lead': theme('colors.swim-darker-teal'),
'--tw-prose-links': theme('colors.swim-dark-blue'),
'--tw-prose-bold': theme('colors.swim-dark-blue'),
'--tw-prose-counters': theme('colors.swim-blue'),
'--tw-prose-bullets': theme('colors.swim-blue'),
'--tw-prose-hr': theme('colors.swim-grey'),
'--tw-prose-quotes': theme('colors.swim-darker-teal'),
'--tw-prose-quote-borders': theme('colors.swim-blue'),
'--tw-prose-captions': theme('colors.swim-body-text'),
'--tw-prose-code': theme('colors.swim-dark-blue'),
'--tw-prose-pre-code': theme('colors.white'),
'--tw-prose-pre-bg': theme('colors.swim-dark-blue'),
'--tw-prose-th-borders': theme('colors.swim-darker-teal'),
'--tw-prose-td-borders': theme('colors.swim-grey'),
// '--tw-prose-invert-body': theme('colors.pink[200]'), // These are dark-mode settings.
// '--tw-prose-invert-headings': theme('colors.white'), // rounded corner radius 13.5
// '--tw-prose-invert-lead': theme('colors.pink[300]'),
// '--tw-prose-invert-links': theme('colors.white'),
// '--tw-prose-invert-bold': theme('colors.white'),
// '--tw-prose-invert-counters': theme('colors.pink[400]'),
// '--tw-prose-invert-bullets': theme('colors.pink[600]'),
// '--tw-prose-invert-hr': theme('colors.pink[700]'),
// '--tw-prose-invert-quotes': theme('colors.pink[100]'),
// '--tw-prose-invert-quote-borders': theme('colors.pink[700]'),
// '--tw-prose-invert-captions': theme('colors.pink[400]'),
// '--tw-prose-invert-code': theme('colors.white'),
// '--tw-prose-invert-pre-code': theme('colors.pink[300]'),
// '--tw-prose-invert-pre-bg': theme('colors.swim-dark-blue'),
// '--tw-prose-invert-th-borders': theme('colors.pink[600]'),
// '--tw-prose-invert-td-borders': theme('colors.pink[700]'),
},
},
}),
colors: {
'swim-body-text': '#3A3C3E',
'swim-blue': '#32C5FF', // Apatite?
'swim-dark-blue': '#042256',
'swim-darker-blue': '#111827',
'swim-teal': '#66FFDD',
'swim-dark-teal': '#44D7B6', // Amazonite?
'swim-darker-teal': 'RGBA(4, 42, 43, 0.85)', // This is greyish-green and used as header/body text in the features section
'swim-purple': '#BA62FF',
'swim-dark-purple': '#D651FF',
'swim-grey': '#C1C1C1',
'swim-lighter-grey': '#E9EFF0',
'swim-darker-grey': '#A9A9A9', // Footer links
'swim-darkerish-grey': '#6D7278', // Footer headings
"kaimurasaki": {
100: "#E8E8EA",
200: "#D3D2D6",
300: "#BCBAC2",
400: "#A7A4AE",
500: "#918E9A",
600: "#7A7785",
700: "#646071",
800: "#4E495D",
900: "#383248",
950: "#2C273E",
DEFAULT: "#221C34",
},
"eggshell": {
100: "#FEFCFA",
200: "#FCFAF6",
300: "#FBF7F1",
400: "#F9F5EC",
500: "#F7F2E7",
600: "#F6EFE3",
700: "#F5EDDE",
800: "#F3EAD9",
900: "#F2E8D5",
DEFAULT: "#F0E5D0",
},
"amaranth": {
100: "#F1E6ED",
200: "#E3CCDB",
300: "#D6B3C9",
400: "#C799B6",
500: "#BA80A4",
600: "#AC6692",
700: "#9D4C7F",
800: "#90336D",
900: "#821A5C",
950: "#7B0D52",
DEFAULT: "#740049",
},
"callout": {
"info": {
"fill": "transparent",
"border": "#00A9A5",
"icon": "#00A9A5",
"text": "#0A1215",
"text-accent": "#02372F",
},
"ok": {
"fill": "#00A9A5",
"border": "#00896A",
"icon": "#FFFFFF",
"text": "#0A1514",
"text-accent": "#66FFDD",
},
"warning": {
"fill": "#F9DB6D",
"border": "#F7B500",
"icon": "#FFFFFF",
"text": "#15120A",
"text-accent": "#FFFFFF",
},
"bad": {
"fill": "#FF8552",
"border": "#BC571A",
"icon": "#FFFFFF",
"text": "#150A0A",
"text-accent": "#FFE3E3",
},
},
},
},
},
safelist: [
// include all possible tailwind color and border options in production build; supports passing custom styles to callout-base.html
{ pattern: /bg-+/ },
{ pattern: /border-+/ },
{ pattern: /text-+/ },
],
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
]
}