shrink vertical tag padding, make text black in light mode

This commit is contained in:
eggy 2021-04-07 17:49:26 -04:00
parent fffdb87ca7
commit 03b882d08d
2 changed files with 11 additions and 3 deletions

View File

@ -4,6 +4,14 @@ module.exports = {
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
color: "black",
},
p: {
color: "black",
},
},
dark: {
css: {
color: "white",
@ -62,4 +70,4 @@ module.exports = {
plugins: [
require('@tailwindcss/typography')
],
}
}

View File

@ -7,5 +7,5 @@
}
.post-tag {
@apply inline-block text-xs rounded-full py-2 px-4 mt-1 mr-1 bg-gray-300 dark:bg-gray-500;
}
@apply inline-block text-xs rounded-full py-1 px-2 mt-1 mr-1 bg-gray-300 dark:bg-gray-500;
}