createTheme

abstract fun createTheme(context: Context, isNightTheme: Boolean): Theme

Creates a theme for the given UI mode

Parameters

context

the application context

isNightTheme

whether the theme should use dark or light colors