Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/NewsletterSubscribe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface NewsletterSubscribeProps {
* @param {string} props.errorSubtitle - The error subtitle to be displayed.
*/
export default function NewsletterSubscribe({
className = 'p-8 text-center text-black',
className = 'p-8 text-center',
dark = false,
Comment thread
sammy200-ui marked this conversation as resolved.
title = 'Subscribe to our newsletter to receive news about AsyncAPI.',
subtitle = 'We respect your inbox. No spam, promise ✌️',
Expand All @@ -54,8 +54,8 @@ export default function NewsletterSubscribe({

const { t, ready } = useTranslation('common', { keyPrefix: 'newsletterCTA' });

const headTextColor = dark ? 'text-white' : '';
const paragraphTextColor = dark ? 'text-gray-300' : '';
const headTextColor = dark ? 'text-white' : 'text-darkGunMetal dark:text-white';
const paragraphTextColor = dark ? 'text-gray-300' : 'text-gray-700 dark:text-gray-300';
Comment thread
sammy200-ui marked this conversation as resolved.

const setFormStatus = (formResponse: FormStatus) => {
setStatus(formResponse);
Expand Down
Loading