Repository navigation
Done
Labels
enhancementNew feature or request
Description
Summary & Motivation
Introduce a modern, institutional iOS-inspired Frosted Glass Theme as the new default visual style for NewsAlerts, featuring subtle bar-level adjustable glass intensity (strictly bounded — never full transparency), refined rounded geometry across surfaces, edges, controls, badges, and icons, and one-click switching back to the classic Standard dark theme with persistent saved state.
Proposed Solution
- Theme System (
ui.theme:"glass"|"standard", default"glass"):- New iOS Glass default theme built on pure CSS custom properties (
body.theme-glass) over a rich deep ambient gradient backdrop, layered frosted surfaces (backdrop-filter: blur(...) saturate(...)), delicate specular hairline borders, and unified rounded geometry across panes, topbar controls, filter pills, inputs, icon buttons, modals, popovers, drawers, and floating tape pills. - Full toggle back to Standard (
body.theme-standard) preserving the existing classic flat institutional look.
- New iOS Glass default theme built on pure CSS custom properties (
- Adjustable Glass Intensity (
ui.glass_intensity:0–100, default65):- Slider control in Settings (with live preview and cancel rollback) adjusting blur depth, frosted translucency, and specular sheen within strict readability bounds (never fully transparent so high-density prices, tickers, and alerts remain crystal clear).
- Persistence & Sibling Window Parity:
- Persisted atomically in
config.jsonunderui.themeandui.glass_intensity(backwards-compatible via_merge(DEFAULT_CONFIG, loaded)). - Applied via shared helper in
web/js/util.jsso bothweb/index.htmland detached pop-outweb/tape.htmlstay synchronized on startup and live on config updates.
- Persisted atomically in
Technical & UI Specifications
- In-App CSS Glass Only (Zero Native OS Transparency Hacks): Keep opaque
pywebviewwindows (background_color="#0b0e14") to guarantee cross-platform stability across Windows Edge WebView2, macOS Safari WebKit, and Linux WebKit2GTK. - 60fps High-Density Table Safety: Restrict
backdrop-filterto static structural surfaces/overlays (~8–12composited layers); never applybackdrop-filterto individual<tr>/<td>table rows. - Compatibility: Verify
Bright tape colors(body.bright) compatibility under both Glass and Standard themes across3840x2160down to640x520viewports. - Versioning & Docs: Planned as
v2.17.0(MINOR) withdocs/SPEC.md(spec-sync), release notes, and wiki updates once approved.
Alternatives Considered
- Native OS Acrylic/Mica/Vibrancy (
transparent=Trueinpywebview): rejected due to cross-platform fragility (Win32 focus/resize lag, Linux X11/Wayland compositor incompatibility, and uncontrolled desktop wallpaper bleed hurting trader legibility).
Additional Context
Planning phase only — awaiting @mlgitdev approval on effort, risk assessment, and design decisions before creating a worktree or writing code.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
github-actions commentedon Dec 4, 2026
✅ Issue Validation Passed
feat(ui))This issue is well-structured and ready for work according to the Issue-First Protocol.
mlgitdev commentedon Dec 4, 2026
Approved by
@mlgitdevwith finalized scope for NewsAlerts v3.0.0 (MAJOR):3.0.0: Major visual milestone (100% backwards-compatible with existingconfig.json).iOS Glass(ui.theme = "glass",ui.glass_intensity = 65) enabled by default for both new and upgrading users, switchable anytime toStandard, persisted atomically.#btn-glass-theme): Shows only compact icon + percentage level (65%, orStdin Standard mode) in the topbar so it takes minimal space; hovering, scrolling over it, or clicking pops up a floating frosted glass popover (#glass-popover) containing theiOS Glass/Standardtoggle and the0%–100%Glass Intensity bar (with strict readability floor — never full transparency).web/index.htmland detachedweb/tape.html.mlgitdev commentedon Dec 4, 2026
Opened Pull Request: #97 (commit
f34144259c7638dcbf5489cf5317e332d2fd26d0) resolving #96 for NewsAlerts v3.0.0.Implementation Summary
ui.theme = "glass",ui.glass_intensity = 65): Unified rounded surfaces/icons, specular hairline borders, strict readability floor (surface alpha >= 0.60), zero per-rowbackdrop-filter, and instant switch back to classic Standard mode.#btn-glass-theme) & Hover Popover (#glass-popover): Shows compact droplet icon + percentage (65%/Std); hover, wheel-scroll (±5%), focus, or click opens the fixed floating frosted slider popover.config.json, Settings live preview + Cancel rollback, and live sync to detachedweb/tape.htmlvia sharedApp.applyTheme.VERSIONto3.0.0, updateddocs/SPEC.md(spec-sync),docs/releases/v3.0.0.md,docs/RELEASES.md, anddocs/wiki/.Verification
tests/test_theme.py+ full suite: 124/124 passed.ui-qa-passacross1920x1080,1600x900,820x900,640x520, and/tape.html(1280x720): 0 overlaps, 0 console errors, reload persistence & Cancel rollback verified.v3.0.0build &verify-packagesgate passed (NewsAlerts.exe, 15.1 MB).