Documentation
    Preparing search index...

    Function valueIsThemeStyleColorProp

    • Checks if the given value is a ThemeStyleColorProp based on the given Theme.

      Parameters

      Returns value is
          | "primary"
          | "primaryContrast"
          | "primaryAccent"
          | "primaryMuted"
          | "primaryBackground"
          | "secondary"
          | "secondaryContrast"
          | "secondaryAccent"
          | "secondaryMuted"
          | "secondaryBackground"
          | "tertiary"
          | "tertiaryAccent"
          | "tertiaryMuted"
          | "tertiaryBackground"
          | "background"
          | "backgroundAccent"
          | "backgroundMuted"
          | "backgroundDisabled"
          | "backgroundHover"
          | "foreground"
          | "foregroundAccent"
          | "foregroundMuted"
          | "foregroundDisabled"
          | "foregroundInverted"
          | "surface"
          | "border"
          | "borderAccent"
          | "borderMuted"
          | "error"
          | "errorAccent"
          | "errorMuted"
          | "errorBackground"
          | "warning"
          | "warningAccent"
          | "warningMuted"
          | "warningBackground"
          | "success"
          | "successAccent"
          | "successMuted"
          | "successBackground"
          | "info"
          | "infoAccent"
          | "infoMuted"
          | "infoBackground"
          | "custom"
          | "customAccent"
          | "customMuted"
          | "customBackground"