Contextual themes apply partial style overrides to individual parts of a page's content.
For applying light/dark mode to an entire application, see global theming.
Localized theming contexts override critical color roles with accessible values based on the current surface color. These local overrides automatically adjust the default appearance of many Bolt components and styles in order to adapt to the local context.