Skip to content

Commit b4b9303

Browse files
sandranymarkgabriellshdougfabris
authored
fix(ux): Room header encrypted key icon - very low contrast (#36058)
Co-authored-by: gabriellsh <40830821+gabriellsh@users.noreply.github.com> Co-authored-by: Douglas Fabris <devfabris@gmail.com>
1 parent dbf125c commit b4b9303

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { IRoom } from '@rocket.chat/core-typings';
2-
import colors from '@rocket.chat/fuselage-tokens/colors.json';
32
import { HeaderState } from '@rocket.chat/ui-client';
43
import { useSetting } from '@rocket.chat/ui-contexts';
54
import { memo } from 'react';
@@ -8,7 +7,7 @@ import { useTranslation } from 'react-i18next';
87
const Encrypted = ({ room }: { room: IRoom }) => {
98
const { t } = useTranslation();
109
const e2eEnabled = useSetting('E2E_Enable');
11-
return e2eEnabled && room?.encrypted ? <HeaderState title={t('Encrypted')} icon='key' color={colors.g500} /> : null;
10+
return e2eEnabled && room?.encrypted ? <HeaderState title={t('Encrypted')} icon='key' color='status-font-on-success' /> : null;
1211
};
1312

1413
export default memo(Encrypted);

0 commit comments

Comments
 (0)