-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auth: UI style fixes + demo width fix (#841)
* Auth: UI style fixes * added changeset * fixed demo width * removed preflight styles, updated powered by
- Loading branch information
Showing
16 changed files
with
216 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@crossmint/client-sdk-react-ui": patch | ||
--- | ||
|
||
Fixed styles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,12 +65,15 @@ export function EmailOTPInput({ | |
/> | ||
</div> | ||
<p | ||
className="text-base font-normal mt-4 mb-1 text-center text-[#67797F]" | ||
className="text-base font-normal mt-4 mb-1 text-center text-cm-text-primary" | ||
style={{ color: appearance?.colors?.textPrimary }} | ||
> | ||
{"Check your email"} | ||
</p> | ||
<p className="text-center px-4" style={{ color: appearance?.colors?.textSecondary }}> | ||
<p | ||
className="text-center text-cm-text-secondary px-4" | ||
style={{ color: appearance?.colors?.textSecondary }} | ||
> | ||
{"A temporary login code has been sent to your email"} | ||
</p> | ||
<div className="py-8"> | ||
|
@@ -104,13 +107,13 @@ export function EmailOTPInput({ | |
</InputOTP> | ||
</div> | ||
|
||
<p className="text-sm leading-tight text-center"> | ||
<p className="text-sm leading-tight text-cm-text-secondary text-center"> | ||
<span style={{ color: appearance?.colors?.textSecondary }}> | ||
Can't find the email? Check spam folder or contact | ||
</span>{" "} | ||
<a | ||
key="resend-email-link" | ||
className="transition-opacity duration-150 text-link hover:opacity-70" | ||
className="transition-opacity duration-150 text-cm-link hover:opacity-70" | ||
style={{ color: appearance?.colors?.textLink }} | ||
href="mailto:[email protected]" | ||
> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 3 additions & 10 deletions
13
packages/client/ui/react-ui/src/components/common/PoweredByCrossmint.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
import { PoweredByLeaf } from "@/icons/poweredByLeaf"; | ||
import { classNames } from "@/utils/classNames"; | ||
|
||
export function PoweredByCrossmint({ color, className }: { color?: string; className?: string }) { | ||
export function PoweredByCrossmint({ color = "#A4AFB2", className }: { color?: string; className?: string }) { | ||
return ( | ||
<p | ||
className={classNames("flex text-xs font-normal tracking-tight p-2 items-center", className)} | ||
style={{ color: color || "#67797F" }} | ||
> | ||
Powered by | ||
<span className="flex self-center pl-1 gap-1 items-center font-semibold"> | ||
<PoweredByLeaf color={color ?? "#67797F"} size={"12"} /> | ||
<span>crossmint</span> | ||
</span> | ||
<p className={classNames("flex", className)}> | ||
<PoweredByLeaf color={color} /> | ||
</p> | ||
); | ||
} |
Oops, something went wrong.