Remove hardcoded warning color, add yellow and pink to ALF palette (#9911)

This commit is contained in:
Samuel Newman
2026-02-20 16:17:11 +00:00
committed by GitHub
parent 80c0aa35e2
commit 3fae42c077
6 changed files with 13 additions and 22 deletions
@@ -38,7 +38,6 @@ import {
REPLY_LINE_WIDTH,
} from '#/screens/PostThread/const'
import {atoms as a, useTheme} from '#/alf'
import {colors} from '#/components/Admonition'
import {Button} from '#/components/Button'
import {DebugFieldDisplay} from '#/components/DebugFieldDisplay'
import {CalendarClock_Stroke2_Corner0_Rounded as CalendarClockIcon} from '#/components/icons/CalendarClock'
@@ -647,8 +646,6 @@ function BackdatedPostIndicator({post}: {post: AppBskyFeedDefs.PostView}) {
if (!isBackdated) return null
const orange = colors.warning
return (
<>
<Button
@@ -675,7 +672,7 @@ function BackdatedPostIndicator({post}: {post: AppBskyFeedDefs.PostView}) {
paddingVertical: 3,
},
]}>
<CalendarClockIcon fill={orange} size="sm" aria-hidden />
<CalendarClockIcon fill={t.palette.yellow} size="sm" aria-hidden />
<Text
style={[
a.text_xs,