Updated theme-toggle component

This commit is contained in:
sairaj mote 2024-01-22 04:46:55 +05:30
parent 41c1471bce
commit 067684c982
5 changed files with 299 additions and 35 deletions

View File

@ -27,7 +27,6 @@ body {
scrollbar-gutter: stable; scrollbar-gutter: stable;
color: rgba(var(--text-color), 1); color: rgba(var(--text-color), 1);
background-color: rgba(var(--background-color), 1); background-color: rgba(var(--background-color), 1);
transition: background-color 0.3s;
} }
body[data-theme=dark] { body[data-theme=dark] {
@ -737,7 +736,6 @@ sm-checkbox {
padding: 1rem 0; padding: 1rem 0;
border-radius: 0.5rem; border-radius: 0.5rem;
font-weight: 400; font-weight: 400;
transition: background-color 0.3s;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
user-select: none; user-select: none;
@ -871,7 +869,6 @@ sm-checkbox {
top: 0; top: 0;
background-color: rgba(var(--background-color), 1); background-color: rgba(var(--background-color), 1);
z-index: 2; z-index: 2;
transition: background-color 0.3s;
} }
.list__item { .list__item {
@ -1577,7 +1574,6 @@ sm-checkbox {
flex: 0; flex: 0;
flex-direction: row; flex-direction: row;
border-radius: 0.5rem; border-radius: 0.5rem;
transition: background-color 0.3s;
} }
.main_navbar__item .icon { .main_navbar__item .icon {
margin-bottom: 0; margin-bottom: 0;

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

1
docs/scripts/components.min.js vendored Normal file

File diff suppressed because one or more lines are too long