Repository navigation
Design: Variants gallery with four colour variations of the theme - #542
Merged
Merged
Conversation
PowerPoint's Design tab shows the current theme in four variants. The Variants group had only the Colors and Fonts menus. theme_variants builds four colour schemes from the theme's built-in colours (as designed, two accent rotations, and a dark variant with light and dark swapped), so switching between variants doesn't drift. design.variant applies one to the master; design.variants reports them and which is applied. The Design tab shows them as a gallery before Colors and Fonts. Co-authored-by: Cursor <cursoragent@cursor.com>
4 tasks done
Member
|
Thank you for this contribution, @NikitkaRa! It has landed on If you haven't already, please come join us on Discord: https://discord.gg/artcraft |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
theme_variants(model): four colour schemes built from the theme's built-in colours — as designed, two accent rotations, and a dark variant (light and dark colours swapped) — so switching between variants never driftsdesign.variant {index}applies one to the master (one undo step);design.variantsreports them and which is appliedTest plan
theme_variants_apply_and_report_the_current_one: four variants, current index reported, accent rotation, dark swap built from the theme rather than the applied variant, back to the original, bad index rejected, PPTX round tripcargo xtask cipasses