Class StiThemesHelper

Hierarchy

  • StiThemesHelper

Index

Methods

Static applyTheme

  • applyTheme(themeName: string, accentName: string, appName: string): void
  • Parameters

    • themeName: string
    • accentName: string
    • appName: string

    Returns void

Static checkThemeInCss

  • checkThemeInCss(appName: string): object
  • Parameters

    • appName: string

    Returns object

    • date: string
    • themeName: string
    • version: string

Static getAccentTheme

  • getAccentTheme(themeType: object, themeValue: number): string
  • Parameters

    • themeType: object
    • themeValue: number

    Returns string

Static getImage

  • getImage(obj: any, path: string[]): any
  • Parameters

    • obj: any
    • path: string[]

    Returns any

Static getImageSource

  • getImageSource(sourceObject: any, options: any, name: string): object
  • Parameters

    • sourceObject: any
    • options: any
    • name: string

    Returns object

    • data: string
    • scale: number

Static getThemeName

  • getThemeName(themeType: object, themeValue: number): string
  • Parameters

    • themeType: object
    • themeValue: number

    Returns string

Static setImageSource

  • setImageSource(sourceObject: any, htmlImage: any, options: any, name: string, transform: boolean): void
  • Parameters

    • sourceObject: any
    • htmlImage: any
    • options: any
    • name: string
    • transform: boolean

    Returns void

Generated using TypeDoc