add theme to layout.