Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "theme/Colour"

Index

Functions

map

  • map<T>(property: keyof T, colour: IBaseColour): IBaseColour<ViewStyle>
  • Type parameters

    • T: ViewStyle

    Parameters

    • property: keyof T
    • colour: IBaseColour

    Returns IBaseColour<ViewStyle>

themeColourConvertBackground

  • themeColourConvertBackground(colour: IBaseColour): IBaseColour<IBackgroundStyle>
  • Converts a set of colours into the coresponding background colour mixin

    Parameters

    • colour: IBaseColour

      the colour swatch to use for th background colours

    Returns IBaseColour<IBackgroundStyle>

    the background colour style mixins

themeColourConvertBorder

  • themeColourConvertBorder(colour: IBaseColour): IBaseColour<IBorderStyle>
  • Converts a set of colours into the coresponding border colour mixin

    Parameters

    • colour: IBaseColour

      the colour swatch to use for th border colours

    Returns IBaseColour<IBorderStyle>

    the border colour style mixins

themeColourConvertFont

  • themeColourConvertFont(colour: IBaseColour): IBaseColour<IFontStyle>
  • Converts a set of colours into the coresponding font colour mixin

    Parameters

    • colour: IBaseColour

      the colour swatch to use for th font colours

    Returns IBaseColour<IFontStyle>

    the font colour style mixins