Skip to content
Snippets Groups Projects

embedded notebooks: implement light & dark mode support

Created by: novoselrok

Embedded web app now reads the theme from URL params, or uses the default system theme. PR also moves notebook end spacing to the SearchNotebookPage.

To force an embedded web app theme, a theme URL parameter has to be appended to the iframe URL. For example: ?theme=light for light mode, ?theme=dark for dark mode. If there isn't a theme parameter present, we will use the system theme.

Test plan

  • Create a notebook
  • Get embedding url, append ?theme=light and embed it inside an iframe
  • Verify that the notebook renders in light mode
  • Do the same for dark mode and ?theme=dark
  • Verify that notebook renders in default system theme if no theme parameter is present

Merge request reports

Approval is optional

Merged by avatar (Jul 30, 2025 9:44pm UTC)

Merge details

  • Changes merged into main with fc9cda2b.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading