Skip to content

Ships the default HTML stylesheet as a linked asset, not inline - #158

Merged
breezykermo merged 1 commit into
mainfrom
fix/default-css
Jul 21, 2026
Merged

Ships the default HTML stylesheet as a linked asset, not inline#158
breezykermo merged 1 commit into
mainfrom
fix/default-css

Conversation

@breezykermo

Copy link
Copy Markdown
Contributor

The built-in default stylesheet was inlined as a <style> block in every page. It now flows through the normal asset path: AssetConfig gains an embedded default that AssetResolver writes to the output dir (rheo-default.css) when no user CSS resolves, so it is copied and linked like any stylesheet. Asset hrefs are now depth-relative, so nested pages resolve root assets. Removes the now-dead inline-style helpers.

The built-in default stylesheet was inlined as a <style> block in every page.
It now flows through the normal asset path: AssetConfig gains an embedded
default that AssetResolver writes to the output dir (rheo-default.css) when no
user CSS resolves, so it is copied and linked like any stylesheet. Asset <link>
hrefs are now depth-relative, so nested pages resolve root assets. Removes the
now-dead inline-style helpers.
@breezykermo
breezykermo merged commit 9f33acb into main Jul 21, 2026
2 checks passed
@breezykermo
breezykermo deleted the fix/default-css branch July 21, 2026 12:59
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