Add theme variables: --theme-fab-bg, --theme-fab-color, --offline-card-bg
Some checks failed
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 3s

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:
Jonathan Miller
2026-04-18 15:47:25 -05:00
parent ac01369277
commit 6765a3cdfd
4 changed files with 17 additions and 7 deletions

View File

@@ -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;