Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change the styling for the galoy connector screen in dark theme mode #2760

Merged
merged 6 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/app/components/ConnectorForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function ConnectorForm({
</div>
{media}
{description && (
<div className="text-gray-500 dark:text-neutral-400 whitespace-pre-line">
<div className="text-gray-500 dark:text-white whitespace-pre-line">
{typeof description === "string" ? (
<p className="mb-6">{description}</p>
) : (
Expand Down
39 changes: 22 additions & 17 deletions src/app/screens/connectors/ConnectGaloy/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,26 +168,31 @@ export default function ConnectGaloy(props: Props) {
submitLabel={t("galoy.actions.login")}
submitLoading={loading}
onSubmit={loginWithJwt}
description={
<Trans
i18nKey={"galoy.token.info"}
t={t}
values={{ label }}
components={[
// eslint-disable-next-line react/jsx-key
<a
href="https://wallet.mainnet.galoy.io"
className="underline"
></a>,
// eslint-disable-next-line react/jsx-key
<br />,
// eslint-disable-next-line react/jsx-key
<b></b>,
]}
/>
}
>
{
<div className="mt-6">
<Trans
i18nKey={"galoy.token.info"}
t={t}
values={{ label }}
components={[
// eslint-disable-next-line react/jsx-key
<a
href="https://wallet.mainnet.galoy.io"
className="underline"
></a>,
// eslint-disable-next-line react/jsx-key
<br />,
// eslint-disable-next-line react/jsx-key
<b></b>,
]}
/>
<label htmlFor="jwt" className="block font-medium text-gray-700">
<label
htmlFor="jwt"
className="block font-medium text-gray-800 dark:text-white"
rolznz marked this conversation as resolved.
Show resolved Hide resolved
>
{t("galoy.token.label")}
</label>
<div className="mt-1">
Expand Down
Loading