how to set a 'Teams' Theme and 'strong' scheme on v8 ThemeProvider

Ryan Weaver 1 Reputation point
2021-02-04T20:55:37.66+00:00

I am using ThemeProvider in my app by importing ThemeProvider from '@fluentui/react-theme-provider';

I want to be able to set the app theme to be 'Teams' Theme and the Scheme to be 'strong', like you can see in the documentation here:

https://fabricweb.z5.web.core.windows.net/oufr/8.0.0-beta.2/#/examples/themeprovider#Variants
64181-103558796-2c8c3300-4e83-11eb-87b9-9e96387611a5-1.png

In those examples you can select a Theme and a Scheme. But I don't see in the code for those how the Theme and Scheme are being set.
Can the documentation be updated to show how to set the Theme and the Scheme for the ThemeProvider?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
994 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.