Base class for theme-dependent resources.
The type of resource returned.
Resolves the resource for the given context.