Style configureStyle(Style style) { style ..colorProfile = colorProfile ..hasDarkBackground = hasDarkBackground; return style; }