noteshare.space/webapp/tailwind.config.cjs

18 lines
409 B
JavaScript
Raw Normal View History

2022-06-30 00:20:46 +02:00
const colors = require('tailwindcss/colors');
2022-06-21 23:30:11 +02:00
/** @type {import('tailwindcss').Config} */
module.exports = {
2022-06-22 18:01:08 +02:00
darkMode: 'class',
2022-06-21 23:30:11 +02:00
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
2022-06-24 22:20:55 +02:00
extend: {
colors: {
2022-06-30 00:20:46 +02:00
'background-dark': colors.zinc[900],
2022-06-24 22:20:55 +02:00
callout: 'rgb(var(--callout-color))',
'callout-bg': 'rgba(var(--callout-color), 0.1)'
}
}
2022-06-23 20:02:21 +02:00
},
plugins: [require('@tailwindcss/typography')]
2022-06-21 23:30:11 +02:00
};