-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.cjs
57 lines (53 loc) · 1.11 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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'./src/content/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',],
theme: {
extend: {
colors: {
'bg-gray': '#36393F',
'dg-greenDM': '#1DD762',
'dg-green': '#198900',
},
typography: {
DEFAULT: {
css: {
blockquote: {
fontStyle: 'normal',
},
'blockquote p:first-of-type::before': {
content: 'none',
},
'blockquote p:last-of-type::after': {
content: 'none',
},
}
}
}
},
},
variants: {
fill: ['disabled', 'hover', 'focus'],
},
plugins: [
require('@tailwindcss/typography'),
plugin(function ({ addBase, addComponents, addUtilities, theme }) {
addComponents({
'.faq': {
fontSize: "md:24px",
margin: "4px 0px 4px 0px",
fontWeight: "bold",
},
'.answer': {
fontSize: "16px",
margin: "0px 0px 16px 0px"
},
'.faq-block': {
margin: "0px 0px 32px 0px"
}
})
})
],
darkMode: 'class',
}