Skip to content

Commit f26d711

Browse files
committed
4427 - replace text-gray-500 with text-content-neutral-secondary
1 parent d8a7e37 commit f26d711

95 files changed

Lines changed: 206 additions & 150 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

client/src/components/EmptyList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const EmptyList = ({button, className, icon, message, title}: EmptyListProps) =>
1616

1717
<h3 className="mt-2 text-sm font-semibold">{title}</h3>
1818

19-
{message && <p className="mt-1 text-sm text-gray-500">{message}</p>}
19+
{message && <p className="mt-1 text-sm text-content-neutral-secondary">{message}</p>}
2020

2121
{button && <div className="mt-6">{button}</div>}
2222
</div>

client/src/ee/pages/automation/api-platform/api-clients/components/ApiClientTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const ApiClientTable = ({apiClients}: ApiClientTableProps) => {
148148
<TableRow className="border-b-border/50" key={headerGroup.id}>
149149
{headerGroup.headers.map((header) => (
150150
<TableHead
151-
className="sticky top-0 z-10 bg-white p-3 text-left text-xs font-medium uppercase tracking-wide text-gray-500"
151+
className="sticky top-0 z-10 bg-white p-3 text-left text-xs font-medium uppercase tracking-wide text-content-neutral-secondary"
152152
key={header.id}
153153
>
154154
{!header.isPlaceholder &&

client/src/ee/pages/automation/api-platform/api-collections/components/ApiCollectionEndpointListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const ApiCollectionEndpointListItem = ({
163163
<div className="flex items-center justify-end gap-x-6">
164164
{apiCollectionEndpoint?.lastExecutionDate ? (
165165
<Tooltip>
166-
<TooltipTrigger className="flex items-center justify-end text-sm text-gray-500">
166+
<TooltipTrigger className="flex items-center justify-end text-sm text-content-neutral-secondary">
167167
<span className="text-xs">
168168
{`Executed at ${apiCollectionEndpoint.lastExecutionDate?.toLocaleDateString()} ${apiCollectionEndpoint.lastExecutionDate?.toLocaleTimeString()}`}
169169
</span>

client/src/ee/pages/automation/api-platform/api-collections/components/ApiCollectionListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const ApiCollectionListItem = ({apiCollection, tags}: ApiCollectionListItemProps
169169
<Switch checked={apiCollection.enabled} onCheckedChange={handleOnCheckedChange} />
170170

171171
<Tooltip>
172-
<TooltipTrigger className="flex items-center text-sm text-gray-500">
172+
<TooltipTrigger className="flex items-center text-sm text-content-neutral-secondary">
173173
{apiCollection.lastModifiedDate ? (
174174
<span className="text-xs">
175175
{`Modified at ${apiCollection.lastModifiedDate?.toLocaleDateString()} ${apiCollection.lastModifiedDate?.toLocaleTimeString()}`}

client/src/ee/pages/embedded/app-events/components/AppEventListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const AppEventListItem = ({appEvent}: AppEventListItemProps) => {
6161
<div className="flex justify-end gap-x-6">
6262
{appEvent.createdDate && (
6363
<Tooltip>
64-
<TooltipTrigger className="flex items-center text-sm text-gray-500">
64+
<TooltipTrigger className="flex items-center text-sm text-content-neutral-secondary">
6565
<span>
6666
{`${appEvent.createdDate?.toLocaleDateString()} ${appEvent.createdDate?.toLocaleTimeString()}`}
6767
</span>

client/src/ee/pages/embedded/automation-workflows/components/connected-user-project-list/ConnectedUserProjectListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const ConnectedUserProjectListItem = ({connectedUserProject}: ConnectedUserProje
4747
<div className="flex items-center"></div>
4848

4949
<Tooltip>
50-
<TooltipTrigger className="flex items-center text-sm text-gray-500">
50+
<TooltipTrigger className="flex items-center text-sm text-content-neutral-secondary">
5151
{lastExecutionDate ? (
5252
<span className="text-xs">
5353
{`Executed at ${lastExecutionDate?.toLocaleDateString()} ${lastExecutionDate?.toLocaleTimeString()}`}

client/src/ee/pages/embedded/automation-workflows/components/connected-user-project-workflow-list/ConnectedUserProjectWorkflowListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const ConnectedUserProjectWorkflowListItem = ({
1919
<div className="ml-6 flex space-x-1"></div>
2020
</div>
2121

22-
<div className="flex items-center gap-x-4 text-gray-500">
22+
<div className="flex items-center gap-x-4 text-content-neutral-secondary">
2323
<Tooltip>
2424
<TooltipTrigger asChild>
2525
<Badge

client/src/ee/pages/embedded/connected-users/ConnectedUsers.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ const IntegrationLabel = ({integration}: {integration: Integration}) => (
9494
<div className="flex items-center">
9595
<span className="mr-1">{integration.componentName}</span>
9696

97-
<span className="text-xs text-gray-500">{integration?.tags?.map((tag) => tag.name).join(', ')}</span>
97+
<span className="text-xs text-content-neutral-secondary">
98+
{integration?.tags?.map((tag) => tag.name).join(', ')}
99+
</span>
98100
</div>
99101
);
100102

client/src/ee/pages/embedded/connected-users/components/ConnectedUserTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const ConnectedUserTable = ({connectedUsers}: ConnectedUserTableProps) => {
190190
<TableRow className="border-b-border/50" key={headerGroup.id}>
191191
{headerGroup.headers.map((header) => (
192192
<TableHead
193-
className="sticky top-0 z-10 bg-white p-3 text-left text-xs font-medium uppercase tracking-wide text-gray-500"
193+
className="sticky top-0 z-10 bg-white p-3 text-left text-xs font-medium uppercase tracking-wide text-content-neutral-secondary"
194194
key={header.id}
195195
>
196196
{!header.isPlaceholder &&

client/src/ee/pages/embedded/connected-users/components/connected-user-sheet/ConnectedUserSheetPanelIntegrationListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const ConnectedUserSheetPanelIntegrationListItem = ({
137137
</div>
138138

139139
<Tooltip>
140-
<TooltipTrigger className="flex items-center text-sm text-gray-500">
140+
<TooltipTrigger className="flex items-center text-sm text-content-neutral-secondary">
141141
{integrationInstance && integrationInstance.lastExecutionDate ? (
142142
<span className="text-xs">
143143
{`Executed at ${integrationInstance.lastExecutionDate?.toLocaleDateString()} ${integrationInstance.lastExecutionDate?.toLocaleTimeString()}`}

0 commit comments

Comments
 (0)