1.1.0 • Published 4 years ago

spfx-js-theme v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Purpose of Package

This package provides a typing for the Microsoft SharePoint Online theme object passed to webparts via window.__themeState__

This package was derived from the more comprehensive and excellent package spfx-uifabric-themes by Stefan Bauer.

This package is intended to be a simplified version of that package that simply provides a typing for the __themeState__ object

Installation

npm install --save spfx-js-theme

How to Use

import { ITheme } from 'spfx-js-theme'

const theme: ITheme = window.__themeState__.theme;

Thank you for checking out this package and enjoy!

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago