openvibers/openvibe.live Commits

The phone chat button's count follows the theme's on-accent colour (#517)

OP OpenVibers committed 12 days ago · 3dbb1b2a92 · 1 file, +1 −1

It was white on --accent-dark; Hacker and Matrix have light accents and a dark --on-accent, so white on their amber
or green was hard to read. Daylight and the default keep white.

Changes

ddiff --git a/public/css/style.css b/public/css/style.css
iindex 5325decc..c9375956 100644
---- a/public/css/style.css
++++ b/public/css/style.css
@@@ -4109,7 +4109,7 @@ body :is(.modal-overlay, .bc-ws-confirm-overlay, .bc-modal, .bc-perm-overlay, .b
width: 52px; height: 52px;
border-radius: 50%;
background: var(--accent-dark);
-- color: #fff;
++ color: var(--on-accent, #fff); /* a light accent (Hacker, Matrix) sets a dark one */
border: none;
font-size: 1.3rem;
align-items: center; justify-content: center;