Skip to content

Commit

Permalink
Allow setting chart axis color in theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBernskiold committed Nov 12, 2024
1 parent b7d584a commit 24794b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Branding/SlideTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public function applyToSlide(BaseSlide $slide): void
$slide->chartBackgroundColor($this->chartBackgroundColor);
}

if($this->chartAxisColor && $slide->chartAxisColor === null) {
$slide->chartAxisColor($this->chartAxisColor);
}

if ($this->textColor && ! $slide->textColor) {
$slide->textColor($this->textColor);
}
Expand Down

0 comments on commit 24794b2

Please sign in to comment.