Skip to content
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

allow to define theme colors and modify them #1287

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

rafalBujok
Copy link

@rafalBujok rafalBujok commented Aug 30, 2023

It is an extended PR, it also contains #1270

themeColors array is 12 hex code strings in power point order
example of use:

    let newPptx = new pptxgen();
    newPptx.theme = {
      headFontFace: 'Helvetica Neue',
      bodyFontFace: 'Helvetica Neue',
      themeColors: ['000000', '000000', '000000', '000000', '000000', '000000', '000000', '000000', '000000', '000000', '000000', '000000'],
    };

fixing an issue #1243 created by @prescience-data but simplier implementation
also propobly fix for issue #604

@rafalBujok rafalBujok changed the title allow to define theme colors allow to define theme colors and modify theme Aug 30, 2023
@rafalBujok rafalBujok changed the title allow to define theme colors and modify theme allow to define theme colors and modify them Aug 30, 2023
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.

2 participants