How to have different color schemes for template?

Hello. “Elsewhere in lib.typ” sounds strange if the template function is the only thing that user will use. The whole point of the template function is to include all the styling that is applied once.

If there are some styling wrapper functions, then you either have to provide an explicit argument for colors dictionary or use state.