chore: remove some of the deprecated theme.colors.* (#34056)

This commit is contained in:
Maxime Beauchemin
2025-07-04 11:39:03 -07:00
committed by GitHub
parent d6ed819fe2
commit 5d6a979cd0
79 changed files with 595 additions and 948 deletions

View File

@@ -202,10 +202,8 @@ export default function PopKPI(props: PopKPIProps) {
comparisonColorScheme === ColorSchemeEnum.Red);
// Set background and text colors based on the conditions
bgColor = useSuccess
? theme.colors.success.light2
: theme.colors.error.light2;
txtColor = useSuccess ? theme.colorSuccess : theme.colorError;
bgColor = useSuccess ? theme.colorSuccessBg : theme.colorErrorBg;
txtColor = useSuccess ? theme.colorSuccessText : theme.colorErrorText;
}
return {