useTheme

Gets data from the current theme context.

Example

Change the color mode of the in this site's header to see the theme data change.

Could not load examples for Primer component library: product

API

Loading data for useTheme...