Skip to content

Commit

Permalink
Fix Light Mode Image
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Nov 18, 2023
1 parent 7244d45 commit 190a943
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 24 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/OnboardingSPA/components/ToggleDarkMode/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
position: absolute;
bottom: 25px;
left: 25px;
z-index: 999;
z-index: 1;

&__button {
width: 60px;
height: 60px;
cursor: pointer;

&__light {
animation: fadeIn 600ms ease-in-out;
background: var(--sitegen-toggle-theme-icon-light);
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 0 additions & 22 deletions src/OnboardingSPA/static/icons/toggle-light-mode.svg

This file was deleted.

2 changes: 1 addition & 1 deletion src/OnboardingSPA/styles/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ body {

--sitegen-background: url(../static/images/sitegen-bg.png);
--sitegen-toggle-theme-icon-dark: url(../static/icons/toggle-dark-mode.svg);
--sitegen-toggle-theme-icon-light: url(../static/icons/toggle-light-mode.svg);
--sitegen-toggle-theme-icon-light: url(../static/icons/toggle-light-mode.png);
}

0 comments on commit 190a943

Please sign in to comment.