Skip to content

Commit 853d5c9

Browse files
committed
text improvements to the error config sheet
1 parent eb4c5fb commit 853d5c9

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

apps/webapp/app/components/errors/ConfigureErrorAlerts.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export function ConfigureErrorAlerts({
187187
<>
188188
<Select
189189
name={slackChannel.name}
190-
placeholder="Select a Slack channel"
190+
placeholder={<span className="text-text-dimmed">Select a Slack channel</span>}
191191
heading="Filter channels…"
192192
defaultValue={selectedSlackChannelValue}
193193
dropdownIcon
@@ -202,13 +202,21 @@ export function ConfigureErrorAlerts({
202202
text={(value) => {
203203
const channel = slack.channels.find((s) => value === `${s.id}/${s.name}`);
204204
if (!channel) return;
205-
return <SlackChannelTitle {...channel} />;
205+
return (
206+
<span className="text-text-bright">
207+
<SlackChannelTitle {...channel} />
208+
</span>
209+
);
206210
}}
207211
>
208212
{(matches) => (
209213
<>
210214
{matches?.map((channel) => (
211-
<SelectItem key={channel.id} value={`${channel.id}/${channel.name}`}>
215+
<SelectItem
216+
key={channel.id}
217+
value={`${channel.id}/${channel.name}`}
218+
className="text-text-bright"
219+
>
212220
<SlackChannelTitle {...channel} />
213221
</SelectItem>
214222
))}
@@ -240,7 +248,7 @@ export function ConfigureErrorAlerts({
240248
</>
241249
) : slack.status === "NOT_CONFIGURED" ? (
242250
connectToSlackHref ? (
243-
<LinkButton variant="tertiary/large" to={connectToSlackHref} fullWidth>
251+
<LinkButton variant="tertiary/medium" to={connectToSlackHref} fullWidth>
244252
<span className="flex items-center gap-2 text-text-bright">
245253
<SlackIcon className="size-5" /> Connect to Slack
246254
</span>

0 commit comments

Comments
 (0)