RootTheme
type alias in meocord/interface Since 4.1.0
type RootTheme = [ReservedTaken] extends [never]
? UncheckedRootTheme
: { 'MeoCord reserves these theme roles; rename yours': ReservedTaken }The app's theme, as @MeoCord({ theme }) takes it.
Every token the app added is required, since MeoCord has no default for it, and MeoCord's own roles are optional.
When the app has added a role MeoCord reserves (ReservedThemeRole), it is instead a type naming each one, so
the root theme fails to compile with the roles to rename.