Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix: use correct themes for tailwind typography

tonyaelliecd43c5bd30b0
diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js
index cfa4bad9..d4fec5b7 100644
--- a/frontend/tailwind.config.js
+++ b/frontend/tailwind.config.js
@@ -122,6 +122,25 @@ module.exports = {
"accordion-up": "accordion-up 0.2s ease-out",
"collapsible-down": "collapsible-down 0.2s ease-in-out",
"collapsible-up": "collapsible-up 0.2s ease-in-out",
+ },
+ typography: {
+ DEFAULT: {
+ css: {
+ color: 'hsl(var(--foreground))',
+ a: {
+ color: 'hsl(var(--primary))',
+ '&:hover': {
+ color: 'hsl(var(--primary) / 0.8)',
+ },
+ },
+ h1: {
+ color: 'hsl(var(--foreground))',
+ },
+ h2: {
+ color: 'hsl(var(--foreground))',
+ },
+ },
+ },
},
},
},