SUFFIX

Color mode aware styles are registered using _light and _dark suffixes.

When this strategy is used, using ExampleStyle.toModifier() will apply the example class to the target element, as well as either example_light or example_dark, depending on the current color mode.

This is the fallback strategy for browsers that do not support the CSS @scope rule.

Properties

Link copied to clipboard
Link copied to clipboard