Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/DualCurrencyInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ function DescriptionInput({
</View>
<BottomSheetTextInput
placeholder="Sats for Satoshi"
className="text-foreground placeholder:text-muted-foreground/30 border-transparent bg-transparent text-center my-16 p-3 border text-2xl leading-[1.25] font-semibold2"
className="text-foreground placeholder:text-muted-foreground/30 border-transparent bg-transparent text-center my-16 p-3 border text-2xl leading-[1.25] font-semibold2 caret-primary"
selectionColor={"hsl(47 100% 50%)"} // translates to primary
value={input}
onChangeText={setInput}
onSubmitEditing={save}
Expand Down
3 changes: 2 additions & 1 deletion components/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ function Input({
<TextInput
ref={ref}
className={cn(
"web:flex min-h-10 native:min-h-12 web:w-full rounded-2xl border border-input bg-background px-3 web:py-2 text-base lg:text-sm native:text-lg native:leading-[1.25] text-foreground placeholder:text-muted-foreground/30 web:ring-offset-background file:border-0 file:bg-transparent file:font-medium2 web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2",
"web:flex min-h-10 native:min-h-12 web:w-full rounded-2xl border border-input bg-background px-3 web:py-2 text-base lg:text-sm native:text-lg native:leading-[1.25] text-foreground placeholder:text-muted-foreground/30 web:ring-offset-background file:border-0 file:bg-transparent file:font-medium2 web:focus-visible:outline-none web:focus-visible:ring-2 web:focus-visible:ring-ring web:focus-visible:ring-offset-2 caret-primary",
props.editable === false && "opacity-50 web:cursor-not-allowed",
className,
)}
selectionColor={"hsl(47 100% 50%)"} // translates to primary
placeholderClassName={cn("text-muted-foreground", placeholderClassName)}
{...props}
/>
Expand Down
2 changes: 1 addition & 1 deletion components/ui/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function SwitchWeb({
<SwitchPrimitives.Root
className={cn(
"peer flex-row h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed",
props.checked ? "bg-amber-300" : "bg-input",
props.checked ? "bg-primary" : "bg-input",
props.disabled && "opacity-50",
className,
)}
Expand Down
Loading