Add minimal theme support, and "perm" as an example