{
  "metadata": {
    "toolPackage": "@microsoft/api-extractor",
    "toolVersion": "7.19.4",
    "schemaVersion": 1004,
    "oldestForwardsCompatibleVersion": 1001,
    "tsdocConfig": {
      "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
      "noStandardTags": true,
      "tagDefinitions": [
        {
          "tagName": "@alpha",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@beta",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@defaultValue",
          "syntaxKind": "block"
        },
        {
          "tagName": "@decorator",
          "syntaxKind": "block",
          "allowMultiple": true
        },
        {
          "tagName": "@deprecated",
          "syntaxKind": "block"
        },
        {
          "tagName": "@eventProperty",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@example",
          "syntaxKind": "block",
          "allowMultiple": true
        },
        {
          "tagName": "@experimental",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@inheritDoc",
          "syntaxKind": "inline"
        },
        {
          "tagName": "@internal",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@label",
          "syntaxKind": "inline"
        },
        {
          "tagName": "@link",
          "syntaxKind": "inline",
          "allowMultiple": true
        },
        {
          "tagName": "@override",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@packageDocumentation",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@param",
          "syntaxKind": "block",
          "allowMultiple": true
        },
        {
          "tagName": "@privateRemarks",
          "syntaxKind": "block"
        },
        {
          "tagName": "@public",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@readonly",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@remarks",
          "syntaxKind": "block"
        },
        {
          "tagName": "@returns",
          "syntaxKind": "block"
        },
        {
          "tagName": "@sealed",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@see",
          "syntaxKind": "block"
        },
        {
          "tagName": "@throws",
          "syntaxKind": "block",
          "allowMultiple": true
        },
        {
          "tagName": "@typeParam",
          "syntaxKind": "block",
          "allowMultiple": true
        },
        {
          "tagName": "@virtual",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@betaDocumentation",
          "syntaxKind": "modifier"
        },
        {
          "tagName": "@internalRemarks",
          "syntaxKind": "block"
        },
        {
          "tagName": "@preapproved",
          "syntaxKind": "modifier"
        }
      ],
      "supportForTags": {
        "@alpha": true,
        "@beta": true,
        "@defaultValue": true,
        "@decorator": true,
        "@deprecated": true,
        "@eventProperty": true,
        "@example": true,
        "@experimental": true,
        "@inheritDoc": true,
        "@internal": true,
        "@label": true,
        "@link": true,
        "@override": true,
        "@packageDocumentation": true,
        "@param": true,
        "@privateRemarks": true,
        "@public": true,
        "@readonly": true,
        "@remarks": true,
        "@returns": true,
        "@sealed": true,
        "@see": true,
        "@throws": true,
        "@typeParam": true,
        "@virtual": true,
        "@betaDocumentation": true,
        "@internalRemarks": true,
        "@preapproved": true
      }
    }
  },
  "kind": "Package",
  "canonicalReference": "@pongo-ui/react-theme-generator!",
  "docComment": "",
  "name": "@pongo-ui/react-theme-generator",
  "members": [
    {
      "kind": "EntryPoint",
      "canonicalReference": "@pongo-ui/react-theme-generator!",
      "name": "",
      "members": [
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!calculateContrastRatio:function(1)",
          "docComment": "/**\n * Calculates the contrast ratio of two different hex colors.\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function calculateContrastRatio(hexColor: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": ", secondHexColor: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "number"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 5,
            "endIndex": 6
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "hexColor",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            },
            {
              "parameterName": "secondHexColor",
              "parameterTypeTokenRange": {
                "startIndex": 3,
                "endIndex": 4
              }
            }
          ],
          "name": "calculateContrastRatio"
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!calculateLuminance:function(1)",
          "docComment": "/**\n * Calculates the luminance of a given Hex color.\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function calculateLuminance(hexColor: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "number"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 3,
            "endIndex": 4
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "hexColor",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            }
          ],
          "name": "calculateLuminance"
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!calculateShadow:function(1)",
          "docComment": "/**\n * Calculates a corresponding rgb color (EX: rgb(0, 0, 0, 0.5)) based on the given canvas color and transparency value.\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function calculateShadow(foregroundColor: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": ", opacity: "
            },
            {
              "kind": "Content",
              "text": "number"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 5,
            "endIndex": 6
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "foregroundColor",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            },
            {
              "parameterName": "opacity",
              "parameterTypeTokenRange": {
                "startIndex": 3,
                "endIndex": 4
              }
            }
          ],
          "name": "calculateShadow"
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!calculateTransparentColor:function(1)",
          "docComment": "/**\n * Calculates a corresponding hex color (EX: #fffff) based on the given background color and transparency value.\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function calculateTransparentColor(foregroundColor: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": ", backgroundColor: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": ", opacity: "
            },
            {
              "kind": "Content",
              "text": "number"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 7,
            "endIndex": 8
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "foregroundColor",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            },
            {
              "parameterName": "backgroundColor",
              "parameterTypeTokenRange": {
                "startIndex": 3,
                "endIndex": 4
              }
            },
            {
              "parameterName": "opacity",
              "parameterTypeTokenRange": {
                "startIndex": 5,
                "endIndex": 6
              }
            }
          ],
          "name": "calculateTransparentColor"
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!colorHexToRGB:function(1)",
          "docComment": "/**\n * Converts a given hex color (EX: #fffff) to RGB (EX: rgb(255,255,255))\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function colorHexToRGB(hexColor: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "{\n    r: number;\n    g: number;\n    b: number;\n} | undefined"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 3,
            "endIndex": 4
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "hexColor",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            }
          ],
          "name": "colorHexToRGB"
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!colorRGBToHex:function(1)",
          "docComment": "/**\n * Converts a given RGB color (EX: rgb(255,255,255)) to its corresponding Hex value (EX: #fffff).\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function colorRGBToHex(red: "
            },
            {
              "kind": "Content",
              "text": "number"
            },
            {
              "kind": "Content",
              "text": ", green: "
            },
            {
              "kind": "Content",
              "text": "number"
            },
            {
              "kind": "Content",
              "text": ", blue: "
            },
            {
              "kind": "Content",
              "text": "number"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "string | undefined"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 7,
            "endIndex": 8
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "red",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            },
            {
              "parameterName": "green",
              "parameterTypeTokenRange": {
                "startIndex": 3,
                "endIndex": 4
              }
            },
            {
              "parameterName": "blue",
              "parameterTypeTokenRange": {
                "startIndex": 5,
                "endIndex": 6
              }
            }
          ],
          "name": "colorRGBToHex"
        },
        {
          "kind": "TypeAlias",
          "canonicalReference": "@pongo-ui/react-theme-generator!ColorSet:type",
          "docComment": "/**\n * The subset collection of semantic colors and their different states. Example: brand, brandPressed, brandHover, ...\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare type ColorSet<T extends "
            },
            {
              "kind": "Content",
              "text": "string | number"
            },
            {
              "kind": "Content",
              "text": "> = "
            },
            {
              "kind": "Content",
              "text": "{\n    [key in "
            },
            {
              "kind": "Reference",
              "text": "ColorSetKey",
              "canonicalReference": "@pongo-ui/react-theme-generator!~ColorSetKey:type"
            },
            {
              "kind": "Content",
              "text": "<T> | 'elevate' | 'hoverShadow']: string;\n}"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "releaseTag": "Public",
          "name": "ColorSet",
          "typeParameters": [
            {
              "typeParameterName": "T",
              "constraintTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              },
              "defaultTypeTokenRange": {
                "startIndex": 0,
                "endIndex": 0
              }
            }
          ],
          "typeTokenRange": {
            "startIndex": 3,
            "endIndex": 6
          }
        },
        {
          "kind": "Variable",
          "canonicalReference": "@pongo-ui/react-theme-generator!createSemanticColor:var",
          "docComment": "/**\n * Generates a set of semantic color values that correspond with the given colors.\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "createSemanticColor: "
            },
            {
              "kind": "Content",
              "text": "<T extends string | number>(semanticColors: "
            },
            {
              "kind": "Reference",
              "text": "SemanticColors",
              "canonicalReference": "@pongo-ui/react-theme-generator!SemanticColors:type"
            },
            {
              "kind": "Content",
              "text": "<T>, canvasColor: string) => "
            },
            {
              "kind": "Reference",
              "text": "ColorSet",
              "canonicalReference": "@pongo-ui/react-theme-generator!ColorSet:type"
            },
            {
              "kind": "Content",
              "text": "<T>"
            }
          ],
          "releaseTag": "Public",
          "name": "createSemanticColor",
          "variableTypeTokenRange": {
            "startIndex": 1,
            "endIndex": 6
          }
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!formatHex:function(1)",
          "docComment": "/**\n * Formats a given hex value\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function formatHex(value: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 3,
            "endIndex": 4
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "value",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            }
          ],
          "name": "formatHex"
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!invertColor:function(1)",
          "docComment": "/**\n * Inverts the given hex color. Example: #ffffff becomes #000000\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function invertColor(hexColor: "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "string"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 3,
            "endIndex": 4
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "hexColor",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            }
          ],
          "name": "invertColor"
        },
        {
          "kind": "TypeAlias",
          "canonicalReference": "@pongo-ui/react-theme-generator!SemanticColors:type",
          "docComment": "/**\n * The collection of SemanticColors (brand, secondary, success, ...).\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare type SemanticColors<T extends "
            },
            {
              "kind": "Content",
              "text": "string | number"
            },
            {
              "kind": "Content",
              "text": "> = "
            },
            {
              "kind": "Content",
              "text": "{\n    [key in "
            },
            {
              "kind": "Reference",
              "text": "SemanticColorKey",
              "canonicalReference": "@pongo-ui/react-theme-generator!~SemanticColorKey:type"
            },
            {
              "kind": "Content",
              "text": "<T>]: string;\n}"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "releaseTag": "Public",
          "name": "SemanticColors",
          "typeParameters": [
            {
              "typeParameterName": "T",
              "constraintTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              },
              "defaultTypeTokenRange": {
                "startIndex": 0,
                "endIndex": 0
              }
            }
          ],
          "typeTokenRange": {
            "startIndex": 3,
            "endIndex": 6
          }
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!themeGenerator:function(1)",
          "docComment": "",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function themeGenerator<T extends "
            },
            {
              "kind": "Content",
              "text": "string | number"
            },
            {
              "kind": "Content",
              "text": ">(props: "
            },
            {
              "kind": "Reference",
              "text": "ThemeGeneratorProps",
              "canonicalReference": "@pongo-ui/react-theme-generator!ThemeGeneratorProps:type"
            },
            {
              "kind": "Content",
              "text": "<T>"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Content",
              "text": "{\n    textColor: string;\n    canvasColor: string;\n} & "
            },
            {
              "kind": "Reference",
              "text": "ColorSet",
              "canonicalReference": "@pongo-ui/react-theme-generator!ColorSet:type"
            },
            {
              "kind": "Content",
              "text": "<T>"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 6,
            "endIndex": 9
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "props",
              "parameterTypeTokenRange": {
                "startIndex": 3,
                "endIndex": 5
              }
            }
          ],
          "typeParameters": [
            {
              "typeParameterName": "T",
              "constraintTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              },
              "defaultTypeTokenRange": {
                "startIndex": 0,
                "endIndex": 0
              }
            }
          ],
          "name": "themeGenerator"
        },
        {
          "kind": "TypeAlias",
          "canonicalReference": "@pongo-ui/react-theme-generator!ThemeGeneratorProps:type",
          "docComment": "",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare type ThemeGeneratorProps<T extends "
            },
            {
              "kind": "Content",
              "text": "string | number"
            },
            {
              "kind": "Content",
              "text": "> = "
            },
            {
              "kind": "Content",
              "text": "{\n    canvasColor: string;\n    semanticColors: "
            },
            {
              "kind": "Reference",
              "text": "SemanticColors",
              "canonicalReference": "@pongo-ui/react-theme-generator!SemanticColors:type"
            },
            {
              "kind": "Content",
              "text": "<T>;\n}"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "releaseTag": "Public",
          "name": "ThemeGeneratorProps",
          "typeParameters": [
            {
              "typeParameterName": "T",
              "constraintTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              },
              "defaultTypeTokenRange": {
                "startIndex": 0,
                "endIndex": 0
              }
            }
          ],
          "typeTokenRange": {
            "startIndex": 3,
            "endIndex": 6
          }
        },
        {
          "kind": "Function",
          "canonicalReference": "@pongo-ui/react-theme-generator!tokenGenerator:function(1)",
          "docComment": "/**\n * Generates a set of Tokens (A map of CSS variable names) based on the provided Theme object.\n */\n",
          "excerptTokens": [
            {
              "kind": "Content",
              "text": "export declare function tokenGenerator<TTheme>(theme: "
            },
            {
              "kind": "Content",
              "text": "TTheme"
            },
            {
              "kind": "Content",
              "text": "): "
            },
            {
              "kind": "Reference",
              "text": "Record",
              "canonicalReference": "!Record:type"
            },
            {
              "kind": "Content",
              "text": "<keyof TTheme, string>"
            },
            {
              "kind": "Content",
              "text": ";"
            }
          ],
          "returnTypeTokenRange": {
            "startIndex": 3,
            "endIndex": 5
          },
          "releaseTag": "Public",
          "overloadIndex": 1,
          "parameters": [
            {
              "parameterName": "theme",
              "parameterTypeTokenRange": {
                "startIndex": 1,
                "endIndex": 2
              }
            }
          ],
          "typeParameters": [
            {
              "typeParameterName": "TTheme",
              "constraintTokenRange": {
                "startIndex": 0,
                "endIndex": 0
              },
              "defaultTypeTokenRange": {
                "startIndex": 0,
                "endIndex": 0
              }
            }
          ],
          "name": "tokenGenerator"
        }
      ]
    }
  ]
}
