Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the API for platform-provided modern theming
Model-driven and canvas apps
context.fluentDesignLanguage
Fluent v9 theme tokens provided by the platform.
Type: Theme
Fluent v9 typography tokens provided by the platform.
Type: TypographyStyles
Fluent v9 BrandVariants based on which Fluent v9 theme was generated.
Type: BrandVariants
Indicates whether the current theme is dark or not.
Type: boolean
const fluentDesignLanguage = props.context.fluentDesignLanguage;
return (
<FluentProvider theme={props.theme}>
<Label weight="semibold">{"Theming provided by the control."}</Label>
</FluentProvider>
);
Use modern themes in canvas apps (preview)
Power Apps component framework API reference
Power Apps component framework overview