forked from awsbites/aws-bites-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
112 lines (111 loc) · 2.7 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
'use strict'
module.exports = {
mode: 'jit',
darkMode: 'class',
content: [
'./src/**/*.html',
'./src/**/*.njk',
'./src/**/*.svg',
'./src/**/*.md'
],
theme: {
extend: {
colors: {
primary: {
100: '#6E6AFC',
200: '#6B5BF9',
300: '#684BF7',
400: '#663CF4',
500: '#632CF1',
600: '#601DEF',
700: '#5D0DEC'
},
secondary: {
100: '#F7E5AE',
200: '#EEDA95',
300: '#E4CE7C',
400: '#DBC363',
500: '#D2B749',
600: '#C8AC30',
700: '#BFA017'
},
accent: {
100: '#F4E3FF',
200: '#F6C2FF',
300: '#F7A0FF',
400: '#F97FFF',
500: '#FA5EFF',
600: '#FC3CFF',
700: '#FD1BFF'
}
},
typography: (theme) => ({
dark: {
css: [
{
strong: {
color: theme('colors.secondary.200')
},
a: {
color: theme('colors.secondary.400')
},
'a:hover': {
color: theme('colors.primary.100')
},
color: theme('colors.gray.100'),
'ol > li::before': {
color: theme('colors.gray.400')
},
'ul > li::before': {
backgroundColor: theme('colors.primary.100')
},
'h1, h2, h3, h4, h5, h6': {
color: theme('colors.accent.100')
},
code: {
color: theme('colors.secondary.400')
},
'a:hover code': {
color: theme('colors.primary.100')
},
blockquote: {
color: theme('colors.gray.100')
}
}
]
},
DEFAULT: {
css: [
{
strong: {
color: theme('colors.primary.500')
},
a: {
color: theme('colors.primary.300')
},
'a:hover': {
color: theme('colors.primary.700')
},
color: theme('colors.gray.900'),
'ol > li::before': {
color: theme('colors.gray.400')
},
'ul > li::before': {
backgroundColor: theme('colors.secondary.500')
},
blockquote: {
borderLeftColor: theme('colors.secondary.500')
}
}
]
}
})
}
},
variants: {
extend: {
typography: ['dark']
}
},
plugins: [require('@tailwindcss/typography')]
}