Theme switcher: primary on light, accent-primary on dark for visibility
Dark theme uses --accent-color-primary (#3f8ff0) instead of muted gray. Light theme uses --color-primary (#112855) for brand consistency. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17095,13 +17095,17 @@ form .form-select {
|
|||||||
padding: .4rem .6rem;
|
padding: .4rem .6rem;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
border: none;
|
border: none;
|
||||||
background: var(--muted-color, #6d757e);
|
background: var(--color-primary, #112855);
|
||||||
box-shadow: var(--box-shadow, 0 .5rem 1rem #00000066);
|
box-shadow: var(--box-shadow, 0 .5rem 1rem #00000066);
|
||||||
font: inherit;
|
font: inherit;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root[data-bs-theme="dark"] #mokoThemeFab {
|
||||||
|
background: var(--accent-color-primary, #3f8ff0);
|
||||||
|
}
|
||||||
|
|
||||||
#mokoThemeFab.pos-br {
|
#mokoThemeFab.pos-br {
|
||||||
right: 2.5rem;
|
right: 2.5rem;
|
||||||
bottom: 1rem;
|
bottom: 1rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user