openvibers/openvibe.bot Commits

Theme-aware tints and status colours (#260)

OP OpenVibers committed 12 days ago · f46227abe5 · 4 files, +8 −7

Changes

ddiff --git a/node_modules b/node_modules
nnew file mode 120000
iindex 0000000..e0a5542
---- /dev/null
++++ b/node_modules
@@@ -0,0 +1 @@
++/home/workstation/.cache/openvibe-deps/OpenVibe.Bot/89d9acef836f08ae/node_modules
\\ No newline at end of file
ddiff --git a/public/directory.css b/public/directory.css
iindex a6eff32..0598434 100644
---- a/public/directory.css
++++ b/public/directory.css
@@@ -40,12 +40,12 @@
.dir-chips li { font-size: 12.5px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border, #1f2d47); color: var(--text-secondary, #96a7c2); margin: 0; }
.dir-badge { flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; }
--.dir-browser { color: #a78bfa; } .dir-phone { color: #f472b6; } .dir-onboard { color: #22c55e; } .dir-bridge { color: #f59e0b; } .dir-server { color: #38bdf8; }
++.dir-browser { color: #a78bfa; } .dir-phone { color: #f472b6; } .dir-onboard { color: var(--success-text, #22c55e); } .dir-bridge { color: var(--warning-text, #f59e0b); } .dir-server { color: #38bdf8; }
.dir-pill { display: inline-block; font-size: 12.5px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border, #1f2d47); text-decoration: none; color: var(--text-primary, #e6edf7) !important; }
.dir-pill.dir-quiet { color: var(--text-secondary, #96a7c2) !important; }
.dir-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--text-secondary, #96a7c2); }
.dir-dot { width: 8px; height: 8px; border-radius: 50%; background: #64748b; }
--.dir-state[data-state="online"] { color: #22c55e; }
++.dir-state[data-state="online"] { color: var(--success-text, #22c55e); }
.dir-state[data-state="online"] .dir-dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.dir-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
ddiff --git a/public/docs.css b/public/docs.css
iindex 6b834c8..41e7ae2 100644
---- a/public/docs.css
++++ b/public/docs.css
@@@ -35,7 +35,7 @@
.docs-main button.primary { justify-self: start; font: inherit; font-weight: 700; font-size: 14px; color: var(--on-accent-strong, var(--on-accent, #fff)); background: var(--accent-strong, var(--accent, #3472d8)); border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer; }
.docs-main button.primary:hover { filter: brightness(1.08); }
.docs-main .error { border: 1px solid rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .08); border-radius: 10px; padding: 12px 14px; }
--.docs-main [role="status"] strong { color: #22c55e; }
++.docs-main [role="status"] strong { color: var(--success-text, #22c55e); }
.docs-foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border, #1f2d47); font-size: 13.5px; }
@media (max-width: 860px) {
ddiff --git a/public/home.css b/public/home.css
iindex c817672..d510058 100644
---- a/public/home.css
++++ b/public/home.css
@@@ -69,7 +69,7 @@
/* The first kit's parts list. */
.hm-kit { padding: 18px; border-radius: 16px; border: 1px solid var(--border, rgba(255, 255, 255, .08)); background: var(--bg-secondary, #101828); }
.hm-sec .hm-parts { columns: 2 260px; column-gap: 28px; }
--.hm-parts li { break-inside: avoid; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 4px; padding: 7px 0; border-bottom: 1px solid var(--border, rgba(255, 255, 255, .08)); font-size: 14.5px; }
++.hm-parts li { break-inside: avoid; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 4px; padding: 7px 0; border-bottom: 1px solid var(--border, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); font-size: 14.5px; }
.hm-parts li b { color: var(--hm-accent-text); }
.hm-parts small { display: block; color: var(--text-secondary, #96a7c2); font-size: 13px; }
.hm-kit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
@@@ -83,7 +83,7 @@
/* Questions, answered on the page. */
.hm-faq { display: grid; gap: 12px 28px; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); }
--.hm-qa { padding: 4px 0 14px; border-bottom: 1px solid var(--border, rgba(255, 255, 255, .08)); }
++.hm-qa { padding: 4px 0 14px; border-bottom: 1px solid var(--border, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); }
.hm-qa h3 { margin: 0 0 6px; font-size: 16px; }
.hm-qa p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-secondary, #96a7c2); }
@@@ -117,7 +117,7 @@
.pick-row { display: flex; gap: 8px; overflow-x: auto; margin: 10px -16px 0; padding: 2px 16px 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.pick-row::-webkit-scrollbar { display: none; }
.pick-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
-- .pick-row label { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--border, rgba(255, 255, 255, .08)); color: var(--text-secondary, #96a7c2); font-size: .9rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
++ .pick-row label { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--border, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); color: var(--text-secondary, #96a7c2); font-size: .9rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
.pick-row input:checked + label { color: var(--text-primary, #e6edf7); border-color: var(--accent, #3b82f6); background: color-mix(in srgb, var(--accent, #3b82f6) 12%, transparent); }
.pick-row input:focus-visible + label { outline: 2px solid var(--accent, #3b82f6); outline-offset: 2px; }
.pick-pane { display: none; }
@@@ -138,6 +138,6 @@
@media (min-width: 641px) {
.hm-fold-block { border: 0; background: none; margin-top: 40px; }
.hm-fold-block > summary { display: block; min-height: 0; padding: 0; border: 0; background: none; }
-- .hm-fold-block > summary h2 { margin: 0 0 6px; font-size: 1.15rem; border-bottom: 1px solid var(--border, rgba(255, 255, 255, .08)); padding-bottom: .2em; }
++ .hm-fold-block > summary h2 { margin: 0 0 6px; font-size: 1.15rem; border-bottom: 1px solid var(--border, color-mix(in srgb, var(--text-primary, #fff) 8%, transparent)); padding-bottom: .2em; }
.hm-fold-block > summary span { display: none; }
}