         barStyle = theme.appearence.barStyle
         barTintColor = theme.focusedBackground
         items?.forEach { $0.titleView?.applyTheme() }
+        applyThemeFromRuntimeAttributes()
     }
 
     open override func insertSubview(_ view: UIView, at index: Int) {

        backgroundColor = #colorLiteral(red: 0.497693181, green: 0.494099319, blue: 0.5004472733, alpha: 0.1021854048)
        textColor = theme.bodyText
        tintColor = theme.tintColor
    }
}


    override func addArrangedSubview(_ view: UIView) {
        super.addArrangedSubview(view)
        view.applyTheme()
        applyThemeFromRuntimeAttributes()
    }
}
