Skip to content

Commit

Permalink
clean up theming a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
moe-dev committed Dec 16, 2024
1 parent 5302b4f commit 6f62dd2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/react-components/src/app/dashboard/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ body {
}

.circularProgress {
color: var(--Greyscale-900, #2b2f33);
color: #4c48ff;
}
.main {
font-family: Inter;
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-react/src/components/auth/Auth.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

.circularProgress {
position: absolute;
color: var(--icon-color);
color: var(--loader-color);
}

.oauthIcon {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-react/src/components/auth/Auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ const Auth: React.FC<AuthProps> = ({
{renderBackButton()}
<div className={styles.passkeyIconContainer}>
{passkeySignupError ? (
<div className={styles.loadingWrapper}>{passkeyIconError}</div>
<div>{passkeyIconError}</div>
) : (
<div className={styles.loadingWrapper}>
<CircularProgress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

.circularProgress {
position: absolute;
color: var(--icon-colorr);
color: var(--loader-color);
}
.resendCode {
font-size: 14px;
Expand Down
3 changes: 2 additions & 1 deletion packages/sdk-react/src/components/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@
--card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Default auth-card shadow */
--card-radius: 15px; /* Default auth-card border radius */

/* Accent Colors */
/* Misc Colors */
--accent-color: var(--Blue-500, #4c48ff);
--loader-color: var(--Blue-500, #4c48ff);
--icon-color: var(--Greyscale-900, #2b2f33);
--error-color: #ff4c4c;
}

0 comments on commit 6f62dd2

Please sign in to comment.