Skip to content

The open alternative to Salesforce, designed for AI.

Use primary text color for settings table identifying columns (#25939)

Thomas des Francsb55b91488431
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistTableRow.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistTableRow.tsx
index bf42aea781c..e5daa5609cb 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistTableRow.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsBlocklistTableRow.tsx
@@ -1,3 +1,4 @@
+import { themeCssVariables } from 'twenty-ui/theme-constants';
import { type BlocklistItem } from '@/accounts/types/BlocklistItem';
import { TableCell } from '@/ui/layout/table/components/TableCell';
import { TableRow } from '@/ui/layout/table/components/TableRow';
@@ -21,7 +22,7 @@ export const SettingsAccountsBlocklistTableRow = ({
gridAutoColumns="200px 1fr 20px"
mobileGridAutoColumns="120px 1fr 20px"
>
- <TableCell>
+ <TableCell color={themeCssVariables.font.color.primary}>
<OverflowingTextWithTooltip text={blocklistItem.handle} />
</TableCell>
<TableCell>
diff --git a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobsTable.tsx b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobsTable.tsx
index 3caad321733..14641aa02e6 100644
--- a/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobsTable.tsx
+++ b/packages/twenty-front/src/modules/settings/admin-panel/health-status/components/SettingsAdminQueueJobsTable.tsx
@@ -312,6 +312,7 @@ export const SettingsAdminQueueJobsTable = ({
<Checkbox checked={isSelected} />
</TableCell>
<TableCell
+ color={themeCssVariables.font.color.primary}
title={job.name}
maxWidth="200px"
overflow="hidden"
diff --git a/packages/twenty-front/src/modules/settings/admin-panel/signing-keys/components/SettingsAdminSigningKeysTable.tsx b/packages/twenty-front/src/modules/settings/admin-panel/signing-keys/components/SettingsAdminSigningKeysTable.tsx
index 4057fb526cb..9edb9bd0ae8 100644
--- a/packages/twenty-front/src/modules/settings/admin-panel/signing-keys/components/SettingsAdminSigningKeysTable.tsx
+++ b/packages/twenty-front/src/modules/settings/admin-panel/signing-keys/components/SettingsAdminSigningKeysTable.tsx
@@ -112,7 +112,11 @@ export const SettingsAdminSigningKeysTable = () => {
key={signingKey.id}
gridTemplateColumns={SIGNING_KEYS_GRID_TEMPLATE_COLUMNS}
>
- <TableCell overflow="hidden" gap={themeCssVariables.spacing[1]}>
+ <TableCell
+ color={themeCssVariables.font.color.primary}
+ overflow="hidden"
+ gap={themeCssVariables.spacing[1]}
+ >
<OverflowingTextWithTooltip
text={signingKey.id}
tooltipContent={t`Created on ${beautifyExactDateTime(signingKey.createdAt)}`}
diff --git a/packages/twenty-front/src/modules/settings/legal/components/SettingsDpaAgreementRow.tsx b/packages/twenty-front/src/modules/settings/legal/components/SettingsDpaAgreementRow.tsx
index bb30345b2eb..04d4d164621 100644
--- a/packages/twenty-front/src/modules/settings/legal/components/SettingsDpaAgreementRow.tsx
+++ b/packages/twenty-front/src/modules/settings/legal/components/SettingsDpaAgreementRow.tsx
@@ -1,3 +1,4 @@
+import { themeCssVariables } from 'twenty-ui/theme-constants';
import { styled } from '@linaria/react';
import { useLingui } from '@lingui/react/macro';
import { Button } from 'twenty-ui/input';
@@ -34,7 +35,12 @@ export const SettingsDpaAgreementRow = ({
return (
<TableRow gridAutoColumns={DPA_AGREEMENT_ROW_GRID_COLUMNS}>
- <TableCell whiteSpace="nowrap" overflow="hidden" textOverflow="ellipsis">
+ <TableCell
+ color={themeCssVariables.font.color.primary}
+ whiteSpace="nowrap"
+ overflow="hidden"
+ textOverflow="ellipsis"
+ >
<StyledEllipsisLabel>{label}</StyledEllipsisLabel>
</TableCell>
<TableCell>{agreement.templateVersion}</TableCell>
diff --git a/packages/twenty-front/src/modules/settings/translations/components/SidePanelSettingsMetadataTranslationsPage.tsx b/packages/twenty-front/src/modules/settings/translations/components/SidePanelSettingsMetadataTranslationsPage.tsx
index 95540a19311..54b926c11a2 100644
--- a/packages/twenty-front/src/modules/settings/translations/components/SidePanelSettingsMetadataTranslationsPage.tsx
+++ b/packages/twenty-front/src/modules/settings/translations/components/SidePanelSettingsMetadataTranslationsPage.tsx
@@ -127,7 +127,9 @@ export const SidePanelSettingsMetadataTranslationsPage = () => {
key={`${property}:${locale}`}
gridAutoColumns={TRANSLATIONS_ROW_GRID_TEMPLATE_COLUMNS}
>
- <TableCell>{localeLabel}</TableCell>
+ <TableCell color={themeCssVariables.font.color.primary}>
+ {localeLabel}
+ </TableCell>
<TableCell>
<MetadataTranslationValueCell
row={row}
diff --git a/packages/twenty-front/src/modules/settings/unsubscribe-topics/components/SettingsWorkspaceUnsubscribeTopicSection.tsx b/packages/twenty-front/src/modules/settings/unsubscribe-topics/components/SettingsWorkspaceUnsubscribeTopicSection.tsx
index 6f6e7a525fd..830add06dff 100644
--- a/packages/twenty-front/src/modules/settings/unsubscribe-topics/components/SettingsWorkspaceUnsubscribeTopicSection.tsx
+++ b/packages/twenty-front/src/modules/settings/unsubscribe-topics/components/SettingsWorkspaceUnsubscribeTopicSection.tsx
@@ -1,3 +1,5 @@
+import { themeCssVariables } from 'twenty-ui/theme-constants';
+import { styled } from '@linaria/react';
import { useLingui } from '@lingui/react/macro';
import { useUnsubscribeTopics } from '@/activities/emails/hooks/useUnsubscribeTopics';
@@ -10,6 +12,10 @@ import {
import { Status } from 'twenty-ui/data-display';
import { useNavigateSettings } from '~/hooks/useNavigateSettings';
+const StyledTopicName = styled.span`
+ color: ${themeCssVariables.font.color.primary};
+`;
+
type UnsubscribeTopic = UnsubscribeTopicsQuery['unsubscribeTopics'][number];
export const SettingsWorkspaceUnsubscribeTopicSection = () => {
@@ -28,7 +34,9 @@ export const SettingsWorkspaceUnsubscribeTopicSection = () => {
columns={[
{
label: t`Topic`,
- Cell: ({ item }) => <>{item.name ?? t`Untitled topic`}</>,
+ Cell: ({ item }) => (
+ <StyledTopicName>{item.name ?? t`Untitled topic`}</StyledTopicName>
+ ),
},
{
label: t`Visibility`,
diff --git a/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribersList.tsx b/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribersList.tsx
index 67d44d84870..8d89748f7d1 100644
--- a/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribersList.tsx
+++ b/packages/twenty-front/src/modules/settings/unsubscribers/components/SettingsUnsubscribersList.tsx
@@ -23,6 +23,10 @@ import {
} from '~/generated-metadata/graphql';
import { formatToHumanReadableDate } from '~/utils/date-utils';
+const StyledEmailAddress = styled.span`
+ color: ${themeCssVariables.font.color.primary};
+`;
+
type MessageSuppression =
MessageSuppressionsQuery['messageSuppressions']['records'][number];
@@ -145,7 +149,9 @@ export const SettingsUnsubscribersList = () => {
columns={[
{
label: t`Email address`,
- Cell: ({ item }) => <>{item.emailAddress}</>,
+ Cell: ({ item }) => (
+ <StyledEmailAddress>{item.emailAddress}</StyledEmailAddress>
+ ),
},
{
label: t`Scope`,
diff --git a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims.tsx b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims.tsx
index 40fe7d67d48..04f9d038e56 100644
--- a/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims.tsx
+++ b/packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminApplicationRegistrationClaims.tsx
@@ -1,3 +1,4 @@
+import { themeCssVariables } from 'twenty-ui/theme-constants';
import { useApolloAdminClient } from '@/settings/admin-panel/apollo/hooks/useApolloAdminClient';
import { Table } from '@/ui/layout/table/components/Table';
import { TableBody } from '@/ui/layout/table/components/TableBody';
@@ -49,7 +50,10 @@ export const SettingsAdminApplicationRegistrationClaims = ({
key={claim.workspaceId}
gridAutoColumns={CLAIMS_TABLE_GRID}
>
- <TableCell overflow="hidden">
+ <TableCell
+ color={themeCssVariables.font.color.primary}
+ overflow="hidden"
+ >
{claim.workspaceDisplayName ?? claim.workspaceId}
</TableCell>
<TableCell>
diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolParameterTable.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolParameterTable.tsx
index 03b866dff67..abc7f14b70b 100644
--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsToolParameterTable.tsx
+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsToolParameterTable.tsx
@@ -130,6 +130,7 @@ export const SettingsToolParameterTable = ({
gridTemplateColumns={PARAMETER_TABLE_GRID}
>
<TableCell
+ color={themeCssVariables.font.color.primary}
overflow="hidden"
textOverflow="ellipsis"
whiteSpace="nowrap"
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationConnectionsSection.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationConnectionsSection.tsx
index 5bc313ef8f4..3fd2c47c17f 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationConnectionsSection.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationConnectionsSection.tsx
@@ -113,6 +113,7 @@ export const SettingsApplicationConnectionsSection = ({
)}
>
<TableCell
+ color={themeCssVariables.font.color.primary}
clickable
minWidth="0"
overflow="hidden"
diff --git a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectIndexTable.tsx b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectIndexTable.tsx
index 095ab6851a8..ba61f4eac89 100644
--- a/packages/twenty-front/src/pages/settings/data-model/SettingsObjectIndexTable.tsx
+++ b/packages/twenty-front/src/pages/settings/data-model/SettingsObjectIndexTable.tsx
@@ -105,7 +105,9 @@ export const SettingsObjectIndexTable = ({
gridTemplateColumns={OBJECT_INDEX_TABLE_GRID_TEMPLATE_COLUMNS}
key={item.id}
>
- <TableCell>{item.indexFields}</TableCell>
+ <TableCell color={themeCssVariables.font.color.primary}>
+ {item.indexFields}
+ </TableCell>
<TableCell>
{item.isUnique ? <IconSquareKey size={14} /> : ''}
</TableCell>
diff --git a/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab.tsx b/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab.tsx
index 565f2883a17..4f44d07bb4d 100644
--- a/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab.tsx
+++ b/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersInviteTab.tsx
@@ -171,7 +171,11 @@ export const SettingsWorkspaceMembersInviteTab = () => {
mobileGridAutoColumns="2fr 1fr 1fr 72px"
key={workspaceInvitation.id}
>
- <TableCell minWidth="0" overflow="hidden">
+ <TableCell
+ color={themeCssVariables.font.color.primary}
+ minWidth="0"
+ overflow="hidden"
+ >
<StyledIconWrapper>
<IconMail
size={theme.icon.size.md}
diff --git a/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab.tsx b/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab.tsx
index 83102de7fc2..2ec25b5eb7c 100644
--- a/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab.tsx
+++ b/packages/twenty-front/src/pages/settings/members/tabs/SettingsWorkspaceMembersTeamTab.tsx
@@ -246,7 +246,7 @@ export const SettingsWorkspaceMembersTeamTab = () => {
});
}}
>
- <TableCell>
+ <TableCell color={themeCssVariables.font.color.primary}>
<StyledIconWrapper>
<Avatar
src={getAbsoluteImageUrl(workspaceMember.avatarUrl)}