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: Update sdk primary color #855

Merged
merged 3 commits into from
Sep 4, 2024
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 lib/build/emailverification-shared2.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/build/index2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/build/multifactorauthprebuiltui.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions lib/build/passwordless-shared.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions lib/build/passwordlessprebuiltui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/build/sessionprebuiltui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/build/thirdpartyprebuiltui.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/build/totp-shared.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/build/totpprebuiltui.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/ts/components/assets/otpEmailIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export const OTPEmailIcon = () => (
/>
<defs>
<linearGradient id="paint0_linear_4445_310" x1="8.5" y1="0" x2="8.5" y2="12" gradientUnits="userSpaceOnUse">
<stop stopColor="#5FACFF" />
<stop offset="1" stopColor="#1686FF" />
<stop stopColor="#1C222A" />
<stop offset="1" stopColor="#1C222A" />
</linearGradient>
</defs>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions lib/ts/components/assets/otpSMSIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export const OTPSMSIcon = () => (
/>
<defs>
<linearGradient id="paint0_linear_4445_316" x1="8.5" y1="0" x2="8.5" y2="15" gradientUnits="userSpaceOnUse">
<stop stopColor="#5FACFF" />
<stop offset="1" stopColor="#1585FF" />
<stop stopColor="#1C222A" />
<stop offset="1" stopColor="#1C222A" />
</linearGradient>
</defs>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions lib/ts/components/assets/totpIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const TOTPIcon = () => (
/>
<defs>
<linearGradient id="paint0_linear_4901_3396" x1="10" y1="0" x2="10" y2="19" gradientUnits="userSpaceOnUse">
<stop stopColor="#5FACFF" />
<stop offset="1" stopColor="#1686FF" />
<stop stopColor="#1C222A" />
<stop offset="1" stopColor="#1C222A" />
</linearGradient>
</defs>
</svg>
Expand Down
10 changes: 3 additions & 7 deletions lib/ts/recipe/multifactorauth/components/themes/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}

[data-supertokens~="factorChooserOption"]:hover {
border: 1px solid rgb(var(--palette-textLink));
border: 1px solid rgba(var(--palette-primary), 0.6);
}

[data-supertokens~="factorOptionText"] {
Expand All @@ -54,18 +54,14 @@
}

[data-supertokens~="factorName"] {
color: rgb(var(--palette-textPrimary));
color: rgb(var(--palette-primary));
font-size: var(--font-size-1);
font-weight: 400;
margin: 4px;
}

[data-supertokens~="factorChooserOption"]:hover [data-supertokens~="factorName"] {
color: rgb(var(--palette-textLink));
}

[data-supertokens~="factorDescription"] {
color: rgb(var(--palette-textGray));
color: rgb(var(--palette-textPrimary));
font-size: var(--font-size-0);
margin: 4px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ const PasswordlessLinkSent: React.FC<LinkSentThemeProps> = (props) => {
}>
<div data-supertokens="secondaryText secondaryLinkWithLeftArrow">
<ArrowLeftIcon color="rgb(var(--palette-textGray))" />
{props.loginAttemptInfo.contactMethod === "EMAIL"
? t("PWLESS_SIGN_IN_UP_CHANGE_CONTACT_INFO_EMAIL")
: t("PWLESS_SIGN_IN_UP_CHANGE_CONTACT_INFO_PHONE")}
<span>
{props.loginAttemptInfo.contactMethod === "EMAIL"
? t("PWLESS_SIGN_IN_UP_CHANGE_CONTACT_INFO_EMAIL")
: t("PWLESS_SIGN_IN_UP_CHANGE_CONTACT_INFO_PHONE")}
</span>
</div>
</div>
}
Expand Down
2 changes: 1 addition & 1 deletion lib/ts/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--palette-background: 255, 255, 255;
--palette-inputBackground: 250, 250, 250;
--palette-inputBorder: 224, 224, 224;
--palette-primary: 45, 54, 68;
--palette-primary: 28, 34, 42;
--palette-primaryBorder: 45, 54, 68;
--palette-success: 65, 167, 0;
--palette-successBackground: 217, 255, 191;
Expand Down
Loading