Skip to content

Commit fe6a19e

Browse files
committed
Make button text white and add hover color
Update Styles.tsx button class to use text-white by default and add hover:text-black so the text contrasts appropriately when the background changes on hover. Keeps existing background, padding, rounded corners, and transition utilities unchanged.
1 parent e9c3bbc commit fe6a19e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/sourdough/components/shared/Styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ export const sectionStyles = {
1313
ordered: "list-decimal pl-6 space-y-2",
1414
},
1515
link: "text-brand-green-accent hover:text-brand-green-dark transition-colors",
16-
button: "inline-flex items-center px-6 py-3 bg-brand-green-dark hover:bg-brand-green-accent text-black rounded-lg transition-colors duration-200",
16+
button: "inline-flex items-center px-6 py-3 bg-brand-green-dark hover:bg-brand-green-accent text-white hover:text-black rounded-lg transition-colors duration-200",
1717
}

0 commit comments

Comments
 (0)