Client: use colors from theme

This commit is contained in:
Viktor Fomin 2024-06-18 10:20:36 +03:00
parent c55d55f65c
commit b425a96d5f
4 changed files with 10 additions and 9 deletions

View File

@ -133,7 +133,7 @@ const AccountsItemTitle = ({
className="ldap-badge"
label={t("Common:LDAP")}
color={globalColors.white}
backgroundColor="#8570BD"
backgroundColor={globalColors.secondPurple}
fontSize={"9px"}
fontWeight={800}
noHover

View File

@ -34,6 +34,7 @@ import { inject, observer } from "mobx-react";
import { decode } from "he";
import { Badge } from "@docspace/shared/components/badge";
import { Tooltip } from "@docspace/shared/components/tooltip";
import { globalColors } from "@docspace/shared/themes";
const GroupsItemTitle = ({
t,
@ -87,8 +88,8 @@ const GroupsItemTitle = ({
id="ldap-badge-info-panel"
className="ldap-badge"
label={t("Common:LDAP")}
color={"#FFFFFF"}
backgroundColor="#8570BD"
color={globalColors.white}
backgroundColor={globalColors.secondPurple}
fontSize={"9px"}
fontWeight={800}
noHover

View File

@ -129,8 +129,8 @@ const Badges = ({
<Badge
className="accounts-badge"
label={t("Common:LDAP")}
color={"#FFFFFF"}
backgroundColor="#8570BD"
color={globalColors.white}
backgroundColor={globalColors.secondPurple}
fontSize={"9px"}
fontWeight={800}
noHover

View File

@ -212,8 +212,8 @@ const MainProfile = (props) => {
<Badge
className="sso-badge"
label={t("Common:LDAP")}
color={"#FFFFFF"}
backgroundColor="#8570BD"
color={globalColors.white}
backgroundColor={globalColors.secondPurple}
fontSize={"9px"}
fontWeight={800}
noHover
@ -286,8 +286,8 @@ const MainProfile = (props) => {
id="ldap-badge-profile"
className="ldap-badge"
label={t("Common:LDAP")}
color={"#FFFFFF"}
backgroundColor="#8570BD"
color={globalColors.white}
backgroundColor={globalColors.secondPurple}
fontSize={"9px"}
fontWeight={800}
noHover