[vlc-commits] [Git][videolan/vlc][master] 2 commits: macosx: Respect user-set accent colour in carousel highlight

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Apr 8 11:31:41 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
098001f7 by Claudio Cambra at 2026-04-08T10:49:45+00:00
macosx: Respect user-set accent colour in carousel highlight

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
85a537d6 by Claudio Cambra at 2026-04-08T10:49:45+00:00
macosx: Respect user-set accent colour in hero view play button

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


2 changed files:

- modules/gui/macosx/library/VLCLibraryCarouselViewItemView.m
- modules/gui/macosx/library/VLCLibraryHeroView.m


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryCarouselViewItemView.m
=====================================
@@ -87,6 +87,7 @@
 
 - (void)setup
 {
+    self.highlightBox.borderColor = NSColor.VLCAccentColor;
     self.titleTextField.font = NSFont.VLCLibrarySubsectionHeaderFont;
     self.detailTextField.font = NSFont.VLCLibrarySubsectionSubheaderFont;
     self.annotationTextField.font = NSFont.VLCLibraryItemAnnotationFont;


=====================================
modules/gui/macosx/library/VLCLibraryHeroView.m
=====================================
@@ -22,6 +22,7 @@
 
 #import "VLCLibraryHeroView.h"
 
+#import "extensions/NSColor+VLCAdditions.h"
 #import "extensions/NSString+Helpers.h"
 #import "extensions/NSView+VLCAdditions.h"
 
@@ -54,6 +55,10 @@
 - (void)awakeFromNib
 {
     self.largeImageView.contentGravity = VLCImageViewContentGravityResizeAspectFill;
+    self.playButton.bezelColor = NSColor.VLCAccentColor;
+    if (@available(macOS 10.14, *)) {
+        self.playButton.contentTintColor = NSColor.VLCAccentColor;
+    }
     self.titleTextField.maximumNumberOfLines = 3;
     self.detailTextField.maximumNumberOfLines = 1;
     [self connectItemUpdaters];



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/26a7db852d93c30445833a3f478843d90e0eb530...85a537d6946235fe9c286e8e7a78b351dce280bb

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/26a7db852d93c30445833a3f478843d90e0eb530...85a537d6946235fe9c286e8e7a78b351dce280bb
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list