Client: use colors from theme
This commit is contained in:
parent
c55d55f65c
commit
b425a96d5f
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user