feat(theme): локальный выбор и показанная тема handoff (#13)
This commit is contained in:
1 parent
3740839321
commit
9c06977e03
11 files changed
+163
-49
No files matched your search
@@ -108,39 +108,6 @@ body {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
align-items: center;
|
||||
background-color: #F8F9FB;
|
||||
border: 1px solid #E5E5E7;
|
||||
padding: 4px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.theme-toggle .btn {
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background-color: transparent;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
outline: none !important;
|
||||
box-shadow: none;
|
||||
color: #728490;
|
||||
}
|
||||
|
||||
.theme-toggle .btn:not(.dark) {
|
||||
color: #990694;
|
||||
}
|
||||
|
||||
.theme-toggle .btn svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.image-compare {
|
||||
border-radius: 24px;
|
||||
}
|
||||
@@ -2137,15 +2104,6 @@ body:not(.theme-dark) .theme-light-hidden {
|
||||
background-image: url(../images/dark-bg.jpg);
|
||||
}
|
||||
|
||||
.theme-dark .theme-toggle {
|
||||
background-color: #0B0B10;
|
||||
border-color: #323539;
|
||||
}
|
||||
|
||||
.theme-dark .theme-toggle .btn:not(.dark) {
|
||||
color: #323539;
|
||||
}
|
||||
|
||||
.theme-dark .btn-header {
|
||||
border-color: #fff;
|
||||
color: #fff;
|
||||
@@ -2368,11 +2326,7 @@ body:not(.theme-dark) .theme-light-hidden {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.image-examples {
|
||||
.image-examples {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user