Skip to content

fix: make themeVariables typesafe #3831

fix: make themeVariables typesafe

fix: make themeVariables typesafe #3831

Triggered via pull request July 9, 2024 07:03
Status Failure
Total duration 1m 19s
Artifacts

build-docs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
build-docs
Process completed with exit code 3.
build-docs
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined'.
build-docs
Argument of type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined' is not assignable to parameter of type '{ fontFamily: string; fontSize: string; textColor: string; errorBkgColor: string; errorTextColor: string; lineColor: string; } & FlowChartStyleOptions'.
build-docs
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined'.
build-docs
Type 'Theme' is not assignable to type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; }'.
build-docs
Argument of type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined' is not assignable to parameter of type '{ fontFamily: string; fontSize: string; textColor: string; errorBkgColor: string; errorTextColor: string; lineColor: string; } & FlowChartStyleOptions'.
build-docs
Type '{} | null' is not assignable to type 'undefined'.
build-docs
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined'.
build-docs
Type '{} | null' is not assignable to type 'undefined'.