Style collection import CTA
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-22 21:03:41 +01:00
parent c1dfbaa51e
commit d76b26b7ad

View File

@@ -937,7 +937,11 @@ export default function MobileEventTasksPage() {
} }
iconAfter={ iconAfter={
<XStack space="$1.5" alignItems="center"> <XStack space="$1.5" alignItems="center">
<Pressable <Button
size="$2"
backgroundColor={withAlpha(primary, 0.12)}
borderWidth={1}
borderColor={withAlpha(primary, 0.35)}
onPress={() => { onPress={() => {
if (!canAddTasks) { if (!canAddTasks) {
toast.error(limitReachedMessage); toast.error(limitReachedMessage);
@@ -946,10 +950,10 @@ export default function MobileEventTasksPage() {
importCollection(collection.id); importCollection(collection.id);
}} }}
> >
<Text fontSize={12} fontWeight="600" color={canAddTasks ? primary : muted}> <Text fontSize="$xs" fontWeight="700" color={canAddTasks ? primary : muted}>
{t('events.tasks.import', 'Import')} {t('events.tasks.import', 'Import')}
</Text> </Text>
</Pressable> </Button>
<ChevronRight size={14} color={subtle} /> <ChevronRight size={14} color={subtle} />
</XStack> </XStack>
} }