How can I force the light theme on PDF Export

Washington Luís Freitas Júnior
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2024

Hi, I wanted to force the PDF export function to always export the pdf as light theme, I tried to use the PDF Stylesheet function via code but it doesn't change the html theme. Whenever I'm using the dark theme, the PDF will be generated as dark and I would like for it to be generated as light theme.

2 answers

3 votes
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 16, 2024

Hi @Washington Luís Freitas Júnior 

If the customized CSS doesn't solve the issue, try PDF Scroll Exporter by K15t. It's highly customizable every which way, no coding required, and offers templates, so you can mix and match.

Not a free app (but you can try it for free), but a go-to solution for custom PDF exports.

2 votes
Dan Breyen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 16, 2024

Hi @Washington Luís Freitas Júnior welcome to the community!  I totally agree with you on this issue.  I want to use the Dark Mode in the GUI, but I totally agree the PDFs that are generated from Confluence should not be using the Theme. 

I opened a support ticket for this issue, but Atlassian Support was not able to recreate the issue. You could try contacting Atlassian Support.

Maybe you'll have better luck.  If they can reproduce it, let me know the Jira ticket so I can replicate it.

I've since turned off Dark Mode for Confluence for just this reason.

Hope that helps.

Christian Zürcher
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2024

Hi @Dan Breyen . I managed to reproduce it and a ticket was created: https://jira.atlassian.com/browse/CONFCLOUD-79919

Like Max Clendenning likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events