parseTheme: parseTheme

View source: R/extensions.R

parseThemeR Documentation

parseTheme

Description

Reads a theme JSON generated by Theme Designer: https://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/theming-designer/ and parses it to an object digestable by ThemeProvider

Usage

parseTheme(path = NULL, json = NULL)

Arguments

path

A path to JSON file containing the theme created in Theme Designer

json

A JSON string containing the theme created in Theme Designer

Value

A list with Fluent theme that can be used in ThemeProvider

See Also

ThemeProvider() for usage of this function


Appsilon/shiny.fluent documentation built on April 20, 2024, 1:03 p.m.