-
Notifications
You must be signed in to change notification settings - Fork 3.5k
/export ignores theme.export.pageBg in HTML export #2565
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinginprogressIssue is being worked onIssue is being worked on
Description
What happened?
When exporting a session with /export, the generated HTML does not use the theme’s export.pageBg value. From the code, export.cardBg and export.infoBg also appear to be ignored.
The export code reads these theme values, but the final HTML backgrounds are still derived from userMessageBg instead of using the explicit export colors.
Steps to reproduce
- Create or modify a theme with a clearly distinct
export.pageBg value:{ "export": { "pageBg": "#ff00ff" } } - Start pi with that theme active.
- Run /export.
- Open the exported HTML file.
Expected behavior
The exported HTML page background should use theme.export.pageBg exactly, rather than a derived color.
Version
0.62.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginprogressIssue is being worked onIssue is being worked on