2022-07-01 04:18:52 +00:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
2022-07-09 06:28:32 +00:00
|
|
|
|
|
|
|
const defaultTheme = require('tailwindcss/defaultTheme');
|
2022-09-02 10:43:14 +00:00
|
|
|
const colors = require('tailwindcss/colors');
|
2022-12-06 12:07:18 +00:00
|
|
|
const typography = require('@tailwindcss/typography');
|
2022-07-09 06:28:32 +00:00
|
|
|
|
2022-07-01 04:18:52 +00:00
|
|
|
module.exports = {
|
|
|
|
content: ['./src/renderer/**/*.tsx'],
|
2022-07-09 05:59:19 +00:00
|
|
|
darkMode: 'class',
|
2022-07-01 04:18:52 +00:00
|
|
|
theme: {
|
2022-07-09 06:28:32 +00:00
|
|
|
extend: {
|
2022-09-02 10:43:14 +00:00
|
|
|
colors: {
|
|
|
|
dark: {
|
|
|
|
normal: colors.gray['300'],
|
|
|
|
},
|
|
|
|
light: {
|
|
|
|
normal: colors.gray['700'],
|
|
|
|
},
|
|
|
|
},
|
2022-07-09 06:28:32 +00:00
|
|
|
fontFamily: {
|
|
|
|
sans: ['Lato', ...defaultTheme.fontFamily.sans],
|
|
|
|
},
|
2023-01-22 03:40:48 +00:00
|
|
|
maxHeight: (theme) => ({
|
|
|
|
...theme('spacing'),
|
|
|
|
}),
|
|
|
|
maxWidth: (theme) => ({
|
|
|
|
...theme('spacing'),
|
|
|
|
}),
|
|
|
|
minHeight: (theme) => ({
|
|
|
|
...theme('spacing'),
|
|
|
|
}),
|
|
|
|
minWidth: (theme) => ({
|
|
|
|
...theme('spacing'),
|
|
|
|
}),
|
2022-07-09 06:28:32 +00:00
|
|
|
},
|
2022-07-01 04:18:52 +00:00
|
|
|
},
|
2022-12-06 12:07:18 +00:00
|
|
|
plugins: [typography],
|
2022-07-01 04:18:52 +00:00
|
|
|
};
|