Skip to content

Design: Variants gallery with four colour variations of the theme - #542

Merged
h-a-n-a-s-h-i merged 1 commit into
storytold:mainfrom
NikitkaRa:theme-variants
Oct 14, 2026
Merged

h-a-n-a-s-h-i merged 1 commit into
storytold:mainfrom
NikitkaRa:theme-variants

Conversation

@NikitkaRa

Copy link
Copy Markdown
Contributor

Summary

  • PowerPoint's Design tab shows the current theme in four variants; ours had only the Colors and Fonts menus in the Variants group
  • 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 drifts
  • design.variant {index} applies one to the master (one undo step); design.variants reports them and which is applied
  • Design tab: a Variants gallery before Colors and Fonts, highlighting the applied one
  • parity-checklist: Theme variants row Done (summary regenerated); effect schemes and background styles stay their own P2 row

Test 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 trip
  • cargo xtask ci passes

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>
@h-a-n-a-s-h-i
h-a-n-a-s-h-i merged commit 8587be6 into storytold:main Oct 14, 2026
@echelon

echelon commented Oct 14, 2026

Copy link
Copy Markdown
Member

Thank you for this contribution, @NikitkaRa! It has landed on main and will ship in the next DeckCraft release.

If you haven't already, please come join us on Discord: https://discord.gg/artcraft

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.

3 participants