office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
12 lines (11 loc) • 699 B
TypeScript
import { IColor } from '../../utilities/color/colors';
import { IThemeSlotRule } from './IThemeSlotRule';
import { IThemeRules } from './IThemeRules';
export declare class ThemeGenerator {
static setSlot(rule: IThemeSlotRule, color: string | IColor, isInverted?: boolean, isCustomization?: boolean, overwriteCustomColor?: boolean): void;
static insureSlots(slotRules: IThemeRules, isInverted: boolean): void;
static getThemeAsJson(slotRules: IThemeRules): any;
static getThemeAsSass(slotRules: IThemeRules): any;
static getThemeForPowerShell(slotRules: IThemeRules): any;
private static _setSlot(rule, color, isInverted, isCustomization, overwriteCustomColor?);
}