Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
v1.0.5 — fix dark-mode phones rendering dropdowns dark-on-dark
nyblnet4084c4859d47
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 35fffc3d..98098361 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,6 +9,16 @@ below opens files from every earlier version, and unknown fields are preserved.This project's versions roughly follow semantic-ish `0.MINOR.PATCH` while it ispre-1.0.+## [1.0.5] — 2026-07-21++- **Fix: dropdowns unreadable on dark-mode phones.** The app never declared a+ color scheme, so dark-mode Android/iOS rendered NATIVE form controls dark+ (and Chrome-on-Android could force-darken the page) while the ink stayed+ dark — dark-on-dark "blank" dropdowns. The shell now declares+ `color-scheme: only light` (meta + CSS) and form fields carry explicit+ light background/ink. The 1.0.4 iOS `user-select` fix remains as the+ second half of the story.+## [1.0.4] — 2026-07-21- **Fix: dropdowns rendered blank on iOS Safari.** WebKit draws a `<select>`'sdiff --git a/plugins/bento-slides/.claude-plugin/plugin.json b/plugins/bento-slides/.claude-plugin/plugin.jsonindex 2e1fbbee..e7a0ad24 100644--- a/plugins/bento-slides/.claude-plugin/plugin.json+++ b/plugins/bento-slides/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "bento-slides","description": "Author Bento presentations — self-contained .bento.html decks with morph transitions, live charts and speaker notes. Starts from nothing: downloads the latest Bento app automatically.",- "version": "1.0.4",+ "version": "1.0.5","author": {"name": "The Bento/Suite authors","url": "https://bento.page"diff --git a/scripts/postbuild-compress.mjs b/scripts/postbuild-compress.mjsindex 5e31375e..f2642c74 100644--- a/scripts/postbuild-compress.mjs+++ b/scripts/postbuild-compress.mjs@@ -161,6 +161,7 @@ const out = `<!DOCTYPE html><head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <meta name="color-scheme" content="only light" /><meta name="generator" content="bento-slides" />${favicon}${title}diff --git a/slides/index.html b/slides/index.htmlindex fc49e987..323de8bb 100644--- a/slides/index.html+++ b/slides/index.html@@ -3,6 +3,11 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <!-- The editor UI is light-only. Declaring it opts out of Chrome-on-+ Android's auto-darkening (which force-inverts pages and breaks form+ controls) and keeps native <select>/<input> rendering light on+ dark-mode phones. -->+ <meta name="color-scheme" content="only light" /><meta name="generator" content="bento-slides" /><link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='2' y='2' width='28' height='28' rx='6' fill='%2316273E'/%3E%3Crect x='6' y='6' width='6' height='20' rx='2' fill='%235E7699'/%3E%3Crect x='14' y='6' width='12' height='9' rx='2' fill='%23FF9E8A'/%3E%3Crect x='14' y='17' width='12' height='9' rx='2' fill='%23F0EBE0'/%3E%3C/svg%3E" /><title>Bento Slides</title>diff --git a/slides/package.json b/slides/package.jsonindex 27815406..baa72938 100644--- a/slides/package.json+++ b/slides/package.json@@ -1,7 +1,7 @@{"name": "bento-slides","private": true,- "version": "1.0.4",+ "version": "1.0.5","license": "MIT","type": "module","scripts": {diff --git a/slides/src/styles.css b/slides/src/styles.cssindex 9359d053..d412490a 100644--- a/slides/src/styles.css+++ b/slides/src/styles.css@@ -39,6 +39,17 @@ select, option, input, textarea, [contenteditable='true'] {-webkit-user-select: auto;user-select: auto;}+/* The editor chrome is light-only. Without this, dark-mode phones render+ NATIVE form controls dark (and Chrome-on-Android may force-darken the whole+ page) while our ink stays dark — dark-on-dark, i.e. "blank" dropdowns.+ Pair with the color-scheme meta in index.html; the explicit background/color+ below keeps contrast even under a force-dark engine that ignores both. */+:root { color-scheme: only light; }+select, .ed-row input, .ed-row textarea {+ background: #fff;+ color: var(--ink-2, #1e2a3a);+}+option { background: #fff; color: #1e2a3a; }/* ————— topbar ————— */