-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
69 lines (68 loc) · 2.09 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: [
'./app/**/*.jsx',
'./components/**/*.jsx',
'./lib/hljs-toolbar.mjs',
'./lib/active-link.js'
],
theme: {
extend: {
colors: {
"ajwa-blue": "#0066FF",
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
'code::before': {
content: '',
},
'code::after': {
content: '',
},
'p code': {
paddingLeft: '0.25rem',
paddingRight: '0.25rem',
paddingTop: '0.125rem',
paddingBottom: '0.125rem',
backgroundColor: theme('colors.gray[200]'),
borderRadius: '0.25rem',
fontWeight: '400',
},
'blockquote p:first-of-type::before': {
content: '',
},
'blockquote p:first-of-type::after': {
content: '',
},
},
},
ajwa: {
css: {
'--tw-prose-body': theme('colors.gray[800]'),
'--tw-prose-headings': theme('colors.gray[900]'),
'--tw-prose-lead': theme('colors.gray[700]'),
'--tw-prose-links': theme('colors.ajwa-blue'),
'--tw-prose-bold': theme('colors.gray[800]'),
'--tw-prose-counters': theme('colors.gray[600]'),
'--tw-prose-bullets': theme('colors.gray[500]'),
'--tw-prose-hr': theme('colors.gray[300]'),
'--tw-prose-quotes': theme('colors.gray[900]'),
'--tw-prose-quote-borders': theme('colors.gray[300]'),
'--tw-prose-captions': theme('colors.gray[700]'),
'--tw-prose-th-borders': theme('colors.gray[300]'),
'--tw-prose-td-borders': theme('colors.gray[200]'),
},
},
}),
fontFamily: {
roboto: ['var(--font-roboto)'],
'source-code-pro': ['var(--font-source-code-pro)'],
},
}
},
plugins: [
require('@tailwindcss/typography'),
],
}