Client: use colors from theme

This commit is contained in:
Viktor Fomin 2024-06-14 12:43:33 +05:00
parent 4188050574
commit bc6edf1aae
5 changed files with 7 additions and 5 deletions

View File

@ -302,7 +302,6 @@ const Badges = ({
{/* {isForm && (
<BadgeWrapper isTile={isTile}>
<HelpButton
color="#F2675A"
place="bottom"
size={isViewTable ? 12 : 16}
className="bagde_alert icons-group"

View File

@ -174,7 +174,9 @@ const EditingWrapper = styled.div`
}
`};
${({ isDisabled }) => isDisabled && "background-color: #fff"}
${({ isDisabled }) =>
isDisabled &&
`background-color: ${(props) => props.theme.filesEditingWrapper.disabledBackground}`}
}
.edit-button {

View File

@ -80,7 +80,7 @@ const StyledBody = styled.div`
margin-right: 8px;
`}
border: 1px solid #eceef1;
border: ${(props) => props.theme.filesPanels.embedding.border};
border-radius: 16px;
line-height: 20px;
padding: 3px 15px;

View File

@ -854,7 +854,7 @@ const StyledModalRowContainer = styled.div`
margin-right: 8px;
`}
border: 1px solid #eceef1;
border: ${(props) => props.theme.filesPanels.embedding.border};
border-radius: 16px;
line-height: 30px;
padding: 4px 15px;

View File

@ -75,7 +75,8 @@ const StyledComponent = styled.div`
`}
border-radius: 8px;
cursor: pointer;
background: ${(props) => (props.theme.isBase ? "#eceef1" : "#474747")}
background: ${(props) =>
props.theme.client.settings.common.appearance.themeAddBackground}
url(${PlusThemeSvgUrl}) no-repeat center;
}