Move the typography plugin config into extend
https://tailwindcss.com/docs/upgrading-to-v2#update-typography-and-forms-plugins https://github.com/tailwindlabs/tailwindcss-typography/releases/tag/v0.3.0
This commit is contained in:
parent
3b0b7d37e3
commit
dc70dd5e87
|
@ -21,8 +21,9 @@ module.exports = {
|
||||||
whitelist: ['bg-gray-200']
|
whitelist: ['bg-gray-200']
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
|
extend: {
|
||||||
typography: (theme) => ({
|
typography: (theme) => ({
|
||||||
default: {
|
DEFAULT: {
|
||||||
css: {
|
css: {
|
||||||
a: {
|
a: {
|
||||||
color: theme('colors.blue.500')
|
color: theme('colors.blue.500')
|
||||||
|
@ -52,7 +53,6 @@ module.exports = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
extend: {
|
|
||||||
colors: {
|
colors: {
|
||||||
inherit: 'inherit',
|
inherit: 'inherit',
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue