diff --git a/packages/core/src/other/components/Avatar/Avatar.tsx b/packages/core/src/other/components/Avatar/Avatar.tsx index 04151b1d..cbd1e042 100644 --- a/packages/core/src/other/components/Avatar/Avatar.tsx +++ b/packages/core/src/other/components/Avatar/Avatar.tsx @@ -30,24 +30,24 @@ const Avatar: FC = props => { const nameLength = `${user?.firstName}${user?.middleName}${user?.lastName}` .length; const avatarColors = [ - colors.BannerFirst, - colors.BannerSecond, - colors.BannerThird, - colors.BannerFourth, - colors.BannerFifth, - colors.BannerSixth, - colors.BannerSeventh, + colors.AdditionalFirst, + colors.AdditionalSecond, + colors.AdditionalThird, + colors.AdditionalFourth, + colors.AdditionalFifth, + colors.AdditionalSixth, + colors.AdditionalSeventh, ]; return avatarColors[nameLength % avatarColors.length]; }, [ user, - colors.BannerFirst, - colors.BannerSecond, - colors.BannerThird, - colors.BannerFourth, - colors.BannerFifth, - colors.BannerSixth, - colors.BannerSeventh, + colors.AdditionalFirst, + colors.AdditionalSecond, + colors.AdditionalThird, + colors.AdditionalFourth, + colors.AdditionalFifth, + colors.AdditionalSixth, + colors.AdditionalSeventh, ]); const [styles] = useStyles(stylesCreate, size, border); diff --git a/packages/core/src/other/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap b/packages/core/src/other/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap index ba01f4c1..b4bceb6c 100644 --- a/packages/core/src/other/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +++ b/packages/core/src/other/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap @@ -604,7 +604,7 @@ exports[`Avatar render avatar without firstName 1`] = ` "width": 40, }, { - "backgroundColor": "#FA9247", + "backgroundColor": "#FE8027", }, undefined, { @@ -647,7 +647,7 @@ exports[`Avatar render avatar without firstName and lastName 1`] = ` "width": 40, }, { - "backgroundColor": "#FAB742", + "backgroundColor": "#FABC42", }, undefined, { diff --git a/src/widgets/Chart/ui/RenderSectionItem.tsx b/src/widgets/Chart/ui/RenderSectionItem.tsx index 0058d573..1d7386c4 100644 --- a/src/widgets/Chart/ui/RenderSectionItem.tsx +++ b/src/widgets/Chart/ui/RenderSectionItem.tsx @@ -28,14 +28,14 @@ const RenderSectionItem = ({period, state, transition, index}: IProps) => { } if (index === current && index === next) { - return {backgroundColor: colors.BgAccentHard}; + return {backgroundColor: colors.AdditionalSixthHard}; } return { backgroundColor: interpolateColor( transition.value, index === next ? [0, 1] : [1, 0], - [colors.BgAccent, colors.BgAccentHard], + [colors.BgAccent, colors.AdditionalSixthHard], ), }; });