Skip to content

Commit

Permalink
Set test mode text to always be dark
Browse files Browse the repository at this point in the history
  • Loading branch information
RJFelix committed Feb 2, 2024
1 parent ce4a384 commit 14f811e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion package/src/themes/dynamic.css
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@

/* Background color for test mode banner */
--userfront-test-mode-background-color: #ffda96;

/* Test color for test mode banner */
--userfront-test-mode-text-color: #303133;
}

/* Dark mode (auto) */
Expand Down Expand Up @@ -679,6 +682,9 @@

/* Background color for test mode banner */
--userfront-test-mode-background-color: #ffda96;

/* Test color for test mode banner */
--userfront-test-mode-text-color: #303133;
}
}

Expand Down Expand Up @@ -991,6 +997,9 @@

/* Background color for test mode banner */
--userfront-test-mode-background-color: #ffda96;

/* Test color for test mode banner */
--userfront-test-mode-text-color: #303133;
}

/* More base styles */
Expand Down Expand Up @@ -1448,7 +1457,7 @@
/* Test mode notice */
.userfront-test-mode-notice {
background-color: var(--userfront-test-mode-background-color);
color: var(--userfront-text-color);
color: var(--userfront-test-mode-text-color);
padding: 0.25rem 2rem 0.25rem 2rem;
margin: 0 auto;
margin-top: 0.5rem;
Expand Down

0 comments on commit 14f811e

Please sign in to comment.