Skip to content

Add colocated slide stylesheets - #10

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
colocated-slide-styles
Sep 4, 2026
Merged

Add colocated slide stylesheets#10
samuel-williams-shopify merged 1 commit into
mainfrom
colocated-slide-styles

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

  • discover global slides/style.css, nested directory style.css, and matching slide sidecar CSS
  • automatically scope directory and slide styles with @scope and identify rendered slides with data-slide-path
  • serve scoped CSS and adjacent images/fonts under /_slides/ while keeping Markdown private
  • load the same ordered stylesheets in display, presenter, recorder, playback, and export views
  • document the scoped-fragment convention and its stylesheet-level restrictions

Testing

  • bundle exec sus (153 tests, 212 assertions)

@samuel-williams-shopify
samuel-williams-shopify force-pushed the colocated-slide-styles branch 6 times, most recently from 61c8c02 to a5372bd Compare September 4, 2026 09:01
Assisted-By: devx/eb377015-8099-4dd4-ae2e-835d6d6a6387
@samuel-williams-shopify
samuel-williams-shopify merged commit 06f2acc into main Sep 4, 2026
22 of 28 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the colocated-slide-styles branch September 4, 2026 09:26
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