Add theme variables: --theme-fab-bg, --theme-fab-color, --offline-card-bg
Customizable via theme files: - Dark: FAB uses accent-primary (#3f8ff0), card rgba(0,0,0,0.6) - Light: FAB uses color-primary (#112855), card rgba(0,0,0,0.55) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17095,17 +17095,13 @@ form .form-select {
|
||||
padding: .4rem .6rem;
|
||||
border-radius: 999px;
|
||||
border: none;
|
||||
background: var(--color-primary, #112855);
|
||||
background: var(--theme-fab-bg, var(--color-primary, #112855));
|
||||
color: var(--theme-fab-color, #fff);
|
||||
box-shadow: var(--box-shadow, 0 .5rem 1rem #00000066);
|
||||
font: inherit;
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
:root[data-bs-theme="dark"] #mokoThemeFab {
|
||||
background: var(--accent-color-primary, #3f8ff0);
|
||||
}
|
||||
|
||||
#mokoThemeFab.pos-br {
|
||||
right: 2.5rem;
|
||||
bottom: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user