How bubbletint usage modes work
masterBubbletint provides three ways to manage and access color palettes (tints):
- Global Registry: A singleton approach where you initialize a default registry and set a global tint. This is useful for applications where you want to change the theme globally without passing state through every component.
- Custom Registry: An instance-based approach where you create a specific
Registrycontaining a subset of tints. This allows for better encapsulation and is ideal if different parts of your application need different sets of available themes. - Specific Tints: The simplest approach where you bypass registries entirely and use the exported
Tintstructs directly for static styling.