-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
45 lines (44 loc) · 1.11 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
const defaultTheme = require('tailwindcss/defaultTheme')
const { colors } = defaultTheme
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
"./index.html",
"*.ts",
"./src/**/*.{vue,js,ts,md,jsx,tsx}",
"./node_modules/@servicestack/vue/dist/servicestack-vue.mjs",
],
theme: {
extend: {
// https://github.com/tailwindlabs/tailwindcss-typography
typography: (theme) => ({
DEFAULT: {
css: {
'pre': {
overflowX: 'auto',
maxWidth: 'calc(100vw - 1rem)'
},
code: {
color: theme('colors.blue.500'),
backgroundColor: theme('colors.blue.50'),
fontWeight: 'normal',
borderRadius: '.25rem',
padding: '.25em .5rem',
},
'code::before': {
content: '""'
},
'code::after': {
content: '""'
},
}
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}