Skip to content

Commit

Permalink
Added toggle icons and uncommented CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs committed Oct 4, 2023
1 parent 63b25e7 commit 865fbc3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sass/includes/_filters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,17 @@
margin-left: 1rem;
width: 54px;
height: 30px;
//background-image: url(/static/images/icons/toggle.svg);
background-image: url(/static/images/icons/toggle.svg);
}
}

&__toggle-input {
@include sr-only;

&:checked + #{$root}__toggle-label {
// &::after {
// background-image: url(/static/images/icons/toggle-on.svg);
// }
&::after {
background-image: url(/static/images/icons/toggle-on.svg);
}
}

&:focus + #{$root}__toggle-label {
Expand Down
1 change: 1 addition & 0 deletions templates/static/images/icons/toggle-on.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions templates/static/images/icons/toggle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 865fbc3

Please sign in to comment.