@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
56 lines • 1.47 kB
TypeScript
/**
* Derived from original SPO Palette-Pal
*/
export interface IFPSThemeParams {
name: string;
themeJson: IFPSThemePalette;
}
export interface IFPSThemePalette {
palette: IFPSPalette;
}
export interface ICustomPalette {
themeJson: string;
palette: IFPSPalette;
name: string;
valid: boolean;
}
/**
* Derived from docs here
* https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-json-schema
*
*
*/
export interface IFPSPalette {
themePrimary: string;
themeLighterAlt: string;
themeLighter: string;
themeLight: string;
themeTertiary: string;
themeSecondary: string;
themeDarkAlt: string;
themeDark: string;
themeDarker: string;
neutralLighterAlt: string;
neutralLighter: string;
neutralLight: string;
neutralQuaternaryAlt: string;
neutralQuaternary: string;
neutralTertiaryAlt: string;
neutralTertiary: string;
neutralSecondaryAlt: string;
neutralSecondary: string;
neutralPrimaryAlt?: string;
neutralPrimary: string;
neutralDark: string;
black: string;
white: string;
primaryBackground: string;
primaryText: string;
error: string;
bodyBackground?: string;
bodyText?: string;
disabledBackground?: string;
disabledText?: string;
accent?: string;
}
//# sourceMappingURL=IFPSThemeParams.d.ts.map