Web: Client: Data Import: text color has been changed to a constant

This commit is contained in:
Elyor Djalilov 2024-07-11 13:53:59 +05:00
parent 3a3d48abf3
commit b2130588c0

View File

@ -33,6 +33,10 @@ import { LayoutProps } from "../types";
const DescriptionWrapper = styled.div`
max-width: 700px;
.data-import-description {
color: ${(props) => props.theme.client.settings.migration.descriptionColor};
}
.data-import-counter {
margin-top: 19px;
margin-bottom: 9px;
@ -47,7 +51,6 @@ const DescriptionWrapper = styled.div`
const StepLayout = (props: LayoutProps) => {
const {
t,
theme,
step,
totalSteps,
title,
@ -59,11 +62,7 @@ const StepLayout = (props: LayoutProps) => {
return (
<>
<DescriptionWrapper>
<Text
className="data-import-description"
lineHeight="20px"
color={theme.isBase ? "#657077" : "#ADADAD"}
>
<Text className="data-import-description" lineHeight="20px">
{t("Settings:AboutDataImport", {
productName: PRODUCT_NAME,
organizationName,