-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overriding scheme colors? #604
Comments
Hi @igorski89 Thanks for the feedback. I think this would be a very useful feature. You're correct in your assessment, we'll just need some new variables to hold the 6 Scheme and 2 Background colors and a method as you've shown allowing users to override any of the preset values. Please use the |
hey @gitbrent sorry to disturb you. I just had some time to develop this feature, started with a test project, switched to the "dependencies": {
"pptxgenjs": "gitbrent/PptxGenJS#version-3.0"
} but when running my script I get the following exception:
i double-checked and JSZip is installed in Google search didn't helped much, would you be able to help me with some guidance how to setup version-3.0 as a dependency for development and contribution? Thank you very much in advance! |
Hey, any status updates on this one? Would be interested in picking this up if there's nothing in-progress as I'm looking for this functionality myself :) |
Hi @gitbrent !
Thank you very much for all the work you've put into this project!
Lately I've been working on a project using this library and had a quite a pleasant time using it.
One of the tasks I had at hand is to override the default theme colors:
Looking at the current APIs https://gitbrent.github.io/PptxGenJS/docs/shapes-and-schemes.html#powerpoint-scheme-colors it appears to be read-only.
In PowerPoint itself, this is possible to customize through the Slide Master editor.
Having a rather limited knowledge of the pptx format, I poked around and compared the contents of the standard and slightly customized color scheme via saved pptx files and quickly discovered the color scheme is stored inside
ppt/theme/theme1.xml
:I was thinking to prepare a PR with a new API, something in line of
defineSlideMaster
:would something like be ok? And do you prefer a PR against the
master
or theversion-3.0
branch?Looking forward to your feedback!
The text was updated successfully, but these errors were encountered: