Skip to content

feat: Fission theme, empty-state splash, footer hint contrast#36

Merged
fissible merged 2 commits intomainfrom
feat/fission-theme-and-splash
Apr 4, 2026
Merged

feat: Fission theme, empty-state splash, footer hint contrast#36
fissible merged 2 commits intomainfrom
feat/fission-theme-and-splash

Conversation

@fissible
Copy link
Copy Markdown
Owner

@fissible fissible commented Apr 3, 2026

Summary

  • Fission theme (src/themes/fission.sh) — dark void background with electric sky-blue accents (#00afff/color 39), deep steel-blue header/footer bars, and white primary text. Inspired by fissible.dev. Named "Fission" to celebrate the ShellQL v1.0 launch.
  • Empty-state splash — when no tab is open, the content area now renders a centered three-line splash ("ShellQL" in accent color, "SQLite Workbench" in key color, "Select a table to begin" dimmed) instead of a bare background fill. All strings are ASCII-only to avoid the stale-cell ghosting caused by multi-byte chars in shellframe_fb_print.
  • Footer hint contrast — adds SHQL_THEME_FOOTER_HINT_COLOR to the theme API. _shql_TABLE_footer_render now uses this variable (falling back to SHELLFRAME_GRAY) so themes can control footer text legibility. Fission sets it to color 117 (#87d7ff, light sky blue), cascade to color 183 (pale purple). Fixes unreadable dark-gray text on Fission's steel-blue footer.

Test plan

  • SHQL_THEME=fission SHELLFRAME_DIR=../shellframe bash bin/shql tests/fixtures/demo.sqlite — verify dark bg, blue header/footer, readable hint text
  • Open app without selecting a table — verify splash renders centered in content area
  • Select a table — verify splash is cleanly overwritten by grid (no ghosting)
  • SHQL_THEME=cascade — verify footer hint text is pale purple and readable
  • SHQL_THEME=basic — verify footer hint falls back to default gray (no regression)
  • Terminal with < 256 colors — verify Fission falls back to basic theme gracefully

🤖 Generated with Claude Code

fissible and others added 2 commits April 3, 2026 13:50
… fix

- Add src/themes/fission.sh — dark void background with electric sky-blue
  accents (#00afff), inspired by fissible.dev. Named "Fission" to celebrate
  the ShellQL v1.0 launch.
- Render a centered ASCII splash ("ShellQL / SQLite Workbench / Select a
  table to begin") in the browser empty state instead of a bare fill.
  All strings are ASCII-only to avoid stale-cell ghosting from multi-byte chars.
- Add SHQL_THEME_FOOTER_HINT_COLOR to fission and cascade themes; footer
  render now falls back to SHELLFRAME_GRAY only when the theme omits it.
  Fixes unreadable grey-on-steel-blue footer text in the Fission theme.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When _SHQL_QUERY_CTX_EDITOR_ACTIVE_<ctx>=1 the user is composing SQL;
key events must reach the editor unchanged. Guard the export-open branch
so [x] only triggers export when the editor is in button/results mode.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fissible fissible merged commit fe498df into main Apr 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant