2021-07-12 23:14:39 +03:00
|
|
|
module.exports = {
|
|
|
|
theme: {
|
|
|
|
fontFamily: {
|
|
|
|
display: [
|
2021-09-15 20:21:04 +03:00
|
|
|
"Spectral", "Constantia", "Lucida Bright", "Lucidabright", "Lucida Serif", "Lucida", "DejaVu Serif", "Bitstream Vera Serif",
|
|
|
|
"Liberation Serif", "Georgia", "serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
2021-07-12 23:14:39 +03:00
|
|
|
"Noto Color Emoji"
|
|
|
|
],
|
|
|
|
body: [
|
2021-09-15 20:21:04 +03:00
|
|
|
"Spectral", "Constantia", "Lucida Bright", "Lucidabright", "Lucida Serif", "Lucida", "DejaVu Serif", "Bitstream Vera Serif",
|
|
|
|
"Liberation Serif", "Georgia", "serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
2021-07-12 23:14:39 +03:00
|
|
|
"Noto Color Emoji"
|
|
|
|
],
|
2021-09-15 20:21:04 +03:00
|
|
|
mono: [
|
|
|
|
"Inconsolata", "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono",
|
|
|
|
"Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", "Apple Color Emoji", "Segoe UI Emoji",
|
|
|
|
"Segoe UI Symbol", "Noto Color Emoji"
|
|
|
|
],
|
2021-07-12 23:14:39 +03:00
|
|
|
},
|
|
|
|
extend: {
|
|
|
|
typography: (theme) => ({
|
|
|
|
DEFAULT: {
|
|
|
|
css: {
|
|
|
|
h1: {
|
|
|
|
fontFamily: theme("fontFamily.display").join(", ")
|
|
|
|
},
|
|
|
|
h2: {
|
|
|
|
fontFamily: theme("fontFamily.display").join(", ")
|
|
|
|
},
|
|
|
|
h3: {
|
|
|
|
fontFamily: theme("fontFamily.display").join(", ")
|
|
|
|
},
|
|
|
|
h4: {
|
|
|
|
fontFamily: theme("fontFamily.display").join(", ")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
},
|
|
|
|
variants: {
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
require('@tailwindcss/typography'),
|
|
|
|
],
|
|
|
|
purge: [
|
2021-07-12 23:50:51 +03:00
|
|
|
"../server/templates/**/*.hbs"
|
2021-07-12 23:14:39 +03:00
|
|
|
]
|
|
|
|
}
|