Fun: Make each tab have its own color theme

This commit is contained in:
James Magahern
2021-02-11 17:54:22 -08:00
parent f32c90f2e3
commit 8a39176414
3 changed files with 26 additions and 0 deletions

View File

@@ -51,6 +51,10 @@ class TitlebarView: UIView
titleLabelView.attributedText = NSAttributedString(string: appName, attributes: titleAttributes)
}
}
func setColorTheme(_ colorTheme: [UIColor]) {
backgroundView.colors = colorTheme
}
override func layoutSubviews() {
super.layoutSubviews()