From 03b882d08db6f8731950aec488bf0e83d0641f0b Mon Sep 17 00:00:00 2001 From: eggy Date: Wed, 7 Apr 2021 17:49:26 -0400 Subject: [PATCH] shrink vertical tag padding, make text black in light mode --- tailwind.config.js | 10 +++++++++- tailwind.css | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 7606ab3..b135e09 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -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') ], -} \ No newline at end of file +} diff --git a/tailwind.css b/tailwind.css index ede94e0..bed7cb3 100644 --- a/tailwind.css +++ b/tailwind.css @@ -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; -} \ No newline at end of file + @apply inline-block text-xs rounded-full py-1 px-2 mt-1 mr-1 bg-gray-300 dark:bg-gray-500; +}