Skip to content

Commit

Permalink
Fix factorchooseroptions style
Browse files Browse the repository at this point in the history
  • Loading branch information
ohansFavour committed Sep 2, 2024
1 parent c03147a commit 984fd87
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 20 deletions.
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.

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.

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

0 comments on commit 984fd87

Please sign in to comment.