Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Use proper background color for toggle input (#2410)
Browse files Browse the repository at this point in the history
* Use proper background color for toggle input

* Changelog
  • Loading branch information
gregone authored Oct 4, 2021
1 parent 696fda1 commit 785473c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/2410.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Toggle checkboxes are nicely styled in dark mode
```
2 changes: 1 addition & 1 deletion ui/app/styles/components/x-toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

@media (prefers-color-scheme: dark) {
:root {
--toggle-color-off: #{dehex(color.$ui-cool-gray-100)};
--toggle-color-off: #{dehex(color.$ui-cool-gray-900)};
--toggle-color-on: #{dehex(color.$blue-500)};
}
}
Expand Down

0 comments on commit 785473c

Please sign in to comment.