254 shaares
33 results
tagged
microsoft
This sample uses Office UI Fabric icons and theme classes to provide a better visualization for Yes/No fields while respecting theme colors.
The icons and theme colors are conditionally applied based on the field's value. By using the ms-fontColor classes, the icon works well in both light and dark themes (as well as custom themes). In addition, regardless of value, the ms-fontSize-l class is applied to make the icon large enough to stand on its own.
The icons and theme colors are conditionally applied based on the field's value. By using the ms-fontColor classes, the icon works well in both light and dark themes (as well as custom themes). In addition, regardless of value, the ms-fontSize-l class is applied to make the icon large enough to stand on its own.