Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit c0eb405

Browse files
committed
fix: better dark mode for cta text
1 parent 68adf8a commit c0eb405

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/explain.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const Explain: React.FC<Props> = ({
144144
</div>
145145
{/* CTA to contribute */}
146146
{ctaContribToAutocompleteVisible && (
147-
<div className="mt-6 text-xs bg-white text-gray-500 dark:bg-black dark:text-gray-400 rounded-full transition flex flex-col items-center">
147+
<div className="mt-6 text-xs bg-white text-gray-500 dark:bg-black dark:text-gray-500 rounded-full transition flex flex-col items-center">
148148
<div className="text-center leading-relaxed">
149149
Could the descriptions be better? <br className="sm:hidden" />
150150
Contribute at{" "}
@@ -159,7 +159,7 @@ const Explain: React.FC<Props> = ({
159159
.
160160
</div>
161161
<button
162-
className="mt-1 sm:mt-0.5 font-medium text-gray-400 hover:text-gray-600"
162+
className="mt-1 sm:mt-0.5 font-medium text-gray-400 hover:text-gray-600 dark:text-gray-600 dark:hover:text-gray-400"
163163
onClick={() => setCtaContribToAutocompleteVisible(false)}
164164
>
165165
Dismiss

0 commit comments

Comments
 (0)