noc-book-2/tailwind.config.js

38 lines
832 B
JavaScript
Raw Normal View History

2022-07-21 03:39:22 +02:00
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
2022-08-09 16:36:45 +02:00
colors: {
noc: {
400: '#eb005a',
},
},
2022-08-18 04:03:32 +02:00
typography: ({ theme }) => ({
2022-07-21 03:39:22 +02:00
DEFAULT: {
css: {
blockquote: {
quotes: 'none',
'& > p': {
marginTop: '0.4em',
marginBottom: '0.4em',
},
},
2022-08-18 04:03:32 +02:00
code: {
background: theme('colors.gray[100]'),
padding: '0.2em 0.4em',
borderRadius: '0.2em',
},
2022-07-21 03:39:22 +02:00
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
2022-08-18 04:03:32 +02:00
}),
2022-07-21 03:39:22 +02:00
},
},
plugins: [require('@tailwindcss/typography')],
};