⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
feat(mobile): align the app with the web design system
Andrej603c1da1240d
diff --git a/apps/mobile/src/components/icons.tsx b/apps/mobile/src/components/icons.tsxindex e54cb289d..980bfcd1a 100644--- a/apps/mobile/src/components/icons.tsx+++ b/apps/mobile/src/components/icons.tsx@@ -7,11 +7,7 @@ import {Briefcase,Building2,Calendar,- ChevronDown,- ChevronsUp,- ChevronUp,Circle,- CircleAlert,CircleCheck,CircleDashed,CircleDot,@@ -71,6 +67,7 @@ import {Watch,Zap,} from "lucide-react-native";+import Svg, { Circle as SvgCircle, G, Path } from "react-native-svg";import { useColors } from "@/theme";@@ -196,7 +193,13 @@ export function ProjectIcon({return <Icon size={size} color={color ?? c.muted} strokeWidth={2} />;}-/** Priority glyphs and colors from the web app: chevrons in warning/info tones, an alert for urgent. */+const PRIORITY_MARKS: Record<string, number> = {+ low: 1,+ medium: 2,+ high: 3,+ urgent: 3,+};+export function PriorityIcon({priority,size = 14,@@ -205,30 +208,32 @@ export function PriorityIcon({size?: number;}) {const c = useColors();- switch (priority) {- case "urgent":- return <CircleAlert size={size} color={c.danger} strokeWidth={2} />;- case "high":- return <ChevronsUp size={size} color={c.warningFg} strokeWidth={2} />;- case "medium":- return (- <ChevronUp- size={size}- color={c.warningFg}- strokeWidth={2}- opacity={0.8}- />- );- case "low":- return (- <ChevronDown- size={size}- color={c.infoFg}- strokeWidth={2}- opacity={0.85}- />- );- default:- return <Minus size={size} color={c.muted} strokeWidth={2} />;- }+ const filled = (priority && PRIORITY_MARKS[priority]) || 0;+ if (!filled) return <Minus size={size} color={c.muted} strokeWidth={2} />;+ const tint =+ priority === "urgent"+ ? c.priorityUrgent+ : priority === "high"+ ? c.priorityHigh+ : priority === "medium"+ ? c.priorityMedium+ : c.priorityLow;+ return (+ <Svg width={size} height={size} viewBox="0 0 14 14">+ {[3, 7, 11].map((x, i) => {+ const color = i < filled ? tint : c.priorityEmpty;+ return (+ <G key={x}>+ <Path+ d={`M${x} 2.5v5.5`}+ stroke={color}+ strokeWidth={1.7}+ strokeLinecap="round"+ />+ <SvgCircle cx={x} cy={11} r={1} fill={color} />+ </G>+ );+ })}+ </Svg>+ );}diff --git a/apps/mobile/src/components/rows.tsx b/apps/mobile/src/components/rows.tsxindex 00f9492c4..c988d7231 100644--- a/apps/mobile/src/components/rows.tsx+++ b/apps/mobile/src/components/rows.tsx@@ -10,7 +10,7 @@ import {} from "@/lib/format";import { useColors } from "@/theme";-import { StatusIcon } from "./icons";+import { PriorityIcon, StatusIcon } from "./icons";import { Txt } from "./text";import { LabelTag, Touch } from "./ui";@@ -26,6 +26,7 @@ export function TaskRow({dueDate,status,statusIcon,+ priority,onPress,last,compact,@@ -39,6 +40,7 @@ export function TaskRow({status?: string;/** The column's own icon name, when it has one. */statusIcon?: string | null;+ priority?: string | null;onPress?: () => void;last?: boolean;/** One-line title, used inside grouped cards. */@@ -84,6 +86,9 @@ export function TaskRow({rowGap: 2,}}>+ {priority && priority !== "no-priority" ? (+ <PriorityIcon priority={priority} size={12} />+ ) : null}{ticket ? (<Txt variant="mono" tone="muted">{ticket}diff --git a/apps/mobile/src/components/sheet.tsx b/apps/mobile/src/components/sheet.tsxindex ea251381d..2a3767299 100644--- a/apps/mobile/src/components/sheet.tsx+++ b/apps/mobile/src/components/sheet.tsx@@ -1,5 +1,5 @@import { useTranslation } from "react-i18next";-import { Check, Search } from "lucide-react-native";+import { Search } from "lucide-react-native";import { useEffect, useState, type ReactNode } from "react";import {Animated,@@ -16,7 +16,7 @@ import { useSafeAreaInsets } from "react-native-safe-area-context";import { font, radius, useColors } from "@/theme";import { Txt } from "./text";-import { Button, Checkbox, Touch } from "./ui";+import { Button, Checkbox, SelectionSlot, Touch } from "./ui";/*** Bottom sheet: dimmed scrim, rounded top, grab handle. Every picker and form pop-up in the app@@ -98,6 +98,8 @@ export function Sheet({backgroundColor: c.surface,borderTopLeftRadius: radius.sheet,borderTopRightRadius: radius.sheet,+ borderTopWidth: 1,+ borderColor: c.hairline,paddingBottom: Math.max(insets.bottom, 12),transform: [{@@ -107,11 +109,7 @@ export function Sheet({}),},],- shadowColor: "#000",- shadowOpacity: 0.12,- shadowRadius: 16,- shadowOffset: { width: 0, height: -8 },- elevation: 16,+ boxShadow: "0 -8px 32px #0000001F",}}><View@@ -120,8 +118,8 @@ export function Sheet({<Viewstyle={{width: 36,- height: 4,- borderRadius: 2,+ height: 5,+ borderRadius: 3,backgroundColor: c.fillStrong,}}/>@@ -236,22 +234,25 @@ function OptionList<T>({{shown.map((o) => {const active = selected !== undefined && o.value === selected;return (- <Touch+ <Pressablekey={String(o.value)}onPress={() => {onSelect(o.value);onClose();}}- style={{+ accessibilityRole="button"+ accessibilityState={{ selected: active }}+ style={({ pressed }) => ({flexDirection: "row",alignItems: "center",gap: 12,minHeight: o.hint ? 56 : 48,paddingHorizontal: 12,- borderRadius: 10,- backgroundColor: active ? c.fill : "transparent",- }}+ borderRadius: radius.lg,+ backgroundColor: pressed ? c.fill : "transparent",+ })}>+ <SelectionSlot selected={active} />{o.leading}<View style={{ flex: 1 }}><Txt@@ -267,10 +268,7 @@ function OptionList<T>({</Txt>) : null}</View>- {active ? (- <Check size={18} color={c.ink} strokeWidth={2.5} />- ) : null}- </Touch>+ </Pressable>);})}{shown.length === 0 ? (@@ -380,8 +378,11 @@ export function SearchField({gap: 10,height: 44,paddingHorizontal: 12,- borderRadius: 10,- backgroundColor: c.input,+ borderRadius: radius.lg,+ borderWidth: 1,+ borderColor: c.fillStrong,+ backgroundColor: c.surface,+ boxShadow: c.raised,}}><Search size={16} color={c.faint} strokeWidth={2} />diff --git a/apps/mobile/src/components/toast.tsx b/apps/mobile/src/components/toast.tsxindex 31b604024..de07398a1 100644--- a/apps/mobile/src/components/toast.tsx+++ b/apps/mobile/src/components/toast.tsx@@ -1,4 +1,4 @@-import { CircleAlert } from "lucide-react-native";+import { CircleAlert, CircleCheck } from "lucide-react-native";import {createContext,useCallback,@@ -10,7 +10,6 @@ import {} from "react";import { Animated, View } from "react-native";import { useSafeAreaInsets } from "react-native-safe-area-context";-import Svg, { Circle, Path } from "react-native-svg";import { useColors } from "@/theme";@@ -88,33 +87,21 @@ export function ToastProvider({ children }: { children: ReactNode }) {style={{flexDirection: "row",alignItems: "center",- gap: 12,+ gap: 10,minHeight: 48,paddingHorizontal: 14,paddingVertical: 12,borderRadius: 12,backgroundColor: c.toast,- shadowColor: "#000",- shadowOpacity: 0.2,- shadowRadius: 12,- shadowOffset: { width: 0, height: 8 },- elevation: 6,+ borderWidth: 1,+ borderColor: c.hairline,+ boxShadow: c.overlay,}}>{toast.kind === "success" ? (- <Svg width={16} height={16} viewBox="0 0 24 24">- <Circle cx={12} cy={12} r={10} fill="#10B981" />- <Path- d="m8 12 3 3 5-6"- fill="none"- stroke="#FFFFFF"- strokeWidth={2.5}- strokeLinecap="round"- strokeLinejoin="round"- />- </Svg>+ <CircleCheck size={18} color={c.successFg} strokeWidth={2} />) : toast.kind === "error" ? (- <CircleAlert size={16} color="#F87171" strokeWidth={2} />+ <CircleAlert size={18} color={c.dangerRing} strokeWidth={2} />) : null}<Txt variant="bodySm" color={c.onToast} style={{ flex: 1 }}>{toast.message}diff --git a/apps/mobile/src/components/ui.tsx b/apps/mobile/src/components/ui.tsxindex e59383b14..5d55abfb5 100644--- a/apps/mobile/src/components/ui.tsx+++ b/apps/mobile/src/components/ui.tsx@@ -1,4 +1,4 @@-import { forwardRef, type ReactNode } from "react";+import { forwardRef, useState, type ReactNode } from "react";import {ActivityIndicator,Pressable,@@ -65,51 +65,54 @@ export function Button({grow?: boolean;}) {const c = useColors();- const height = size === "lg" ? 48 : size === "md" ? 40 : 32;+ const height = size === "lg" ? 44 : size === "md" ? 36 : 30;const inactive = disabled || loading;+ const filled = kind === "primary" || kind === "danger";+ const outlined = kind === "secondary" || kind === "dangerOutline";const bg =kind === "primary"- ? inactive- ? c.fill- : c.primary+ ? c.primary: kind === "danger"? c.dangerRing- : kind === "secondary" || kind === "dangerOutline"+ : outlined? c.surface: "transparent";const fg =kind === "primary"- ? inactive- ? c.placeholder- : c.onPrimary+ ? c.onPrimary: kind === "danger"? "#FFFFFF": kind === "dangerOutline"? c.danger: c.ink;- const border =- kind === "secondary"- ? c.fillStrong- : kind === "dangerOutline"- ? c.dangerBorder- : "transparent";+ const border = filled ? bg : outlined ? c.fillStrong : "transparent";return (- <Touch+ <PressableonPress={onPress}disabled={inactive}- style={[+ accessibilityRole="button"+ style={({ pressed }) => [{height,- borderRadius: size === "sm" ? 8 : size === "md" ? 10 : radius.lg,+ borderRadius: size === "sm" ? radius.md : radius.lg,backgroundColor: bg,borderWidth: border === "transparent" ? 0 : 1,borderColor: border,- paddingHorizontal: size === "sm" ? 12 : 16,+ boxShadow: filled ? c.raisedPrimary : outlined ? c.raised : undefined,+ paddingHorizontal: size === "sm" ? 10 : size === "md" ? 12 : 16,flexDirection: "row",alignItems: "center",justifyContent: "center",gap: 6,+ opacity: inactive ? 0.64 : 1,},+ pressed+ ? {+ transform: [{ scale: 0.97 }],+ backgroundColor:+ kind === "ghost" || kind === "secondary" ? c.fill : bg,+ }+ : null,grow ? { flex: 1 } : null,style,]}@@ -118,7 +121,7 @@ export function Button({<Txt variant={size === "sm" ? "meta" : "body"} weight="medium" color={fg}>{label}</Txt>- </Touch>+ </Pressable>);}@@ -174,7 +177,7 @@ export function Group({style={[{backgroundColor: c.surface,- borderRadius: radius.lg,+ borderRadius: radius.xl,borderWidth: 1,borderColor: c.hairline,overflow: "hidden",@@ -322,10 +325,10 @@ export function Chip({flexDirection: "row",alignItems: "center",gap: 6,- height: 32,+ height: 30,paddingHorizontal: 10,paddingLeft: leading ? 8 : 10,- borderRadius: 8,+ borderRadius: radius.md,backgroundColor: selected ? c.primary : c.surface,borderWidth: selected ? 0 : 1,borderStyle: dashed ? "dashed" : "solid",@@ -362,14 +365,15 @@ export function Switch({accessibilityState={{ checked: value, disabled }}hitSlop={8}style={{- width: 40,- height: 24,+ width: 38,+ height: 22,borderRadius: 999,- padding: 2,+ padding: 1,justifyContent: "center",alignItems: value ? "flex-end" : "flex-start",backgroundColor: value ? c.primary : c.fillStrong,- opacity: disabled ? 0.5 : 1,+ boxShadow: value ? c.raisedPrimary : undefined,+ opacity: disabled ? 0.64 : 1,}}><View@@ -377,7 +381,8 @@ export function Switch({width: 20,height: 20,borderRadius: 10,- backgroundColor: value ? c.onPrimary : "#FFFFFF",+ backgroundColor: "#FFFFFF",+ boxShadow: "0 1px 2px #0000001F, 0 0 0 0.5px #0000000A",}}/></Touch>@@ -406,9 +411,9 @@ export function Segmented<T extends string>({style={[{flexDirection: "row",- padding: 3,+ padding: 2,gap: 2,- borderRadius: 10,+ borderRadius: radius.lg,backgroundColor: c.fill,},style,@@ -424,24 +429,18 @@ export function Segmented<T extends string>({accessibilityState={{ selected: active }}style={{flex: o.icon && !o.label ? undefined : 1,- height: 32,- minWidth: 32,- paddingHorizontal: 8,- borderRadius: 7,+ height: 34,+ minWidth: 34,+ paddingHorizontal: 9,+ borderRadius: radius.md,alignItems: "center",justifyContent: "center",flexDirection: "row",gap: 6,backgroundColor: active ? c.card : "transparent",- ...(active- ? {- shadowColor: "#000",- shadowOpacity: 0.08,- shadowRadius: 2,- shadowOffset: { width: 0, height: 1 },- elevation: 1,- }- : null),+ boxShadow: active+ ? "0 1px 2px #0000000F, 0 0 0 1px #0000000A"+ : undefined,}}>{o.icon?.(active)}@@ -495,8 +494,9 @@ export const TextField = forwardRef<ref,) {const c = useColors();+ const [focused, setFocused] = useState(false);return (- <View style={{ gap: 6 }}>+ <View style={{ gap: 8 }}>{label || aside ? (<View style={{ flexDirection: "row", justifyContent: "space-between" }}>{label ? (@@ -518,12 +518,13 @@ export const TextField = forwardRef<flexDirection: "row",alignItems: multiline ? "flex-start" : "center",gap: 10,- minHeight: 46,- paddingHorizontal: 14,- borderRadius: 10,+ minHeight: 44,+ paddingHorizontal: 12,+ borderRadius: radius.lg,borderWidth: 1,- borderColor: error ? c.dangerRing : c.fillStrong,+ borderColor: error ? c.dangerBorder : focused ? c.ring : c.fillStrong,backgroundColor: c.surface,+ boxShadow: focused ? `0 0 0 3px ${c.ringSoft}` : c.raised,}}>{leading}@@ -533,6 +534,14 @@ export const TextField = forwardRef<selectionColor={c.ink}cursorColor={c.ink}multiline={multiline}+ onFocus={(e) => {+ setFocused(true);+ onFocus?.(e);+ }}+ onBlur={(e) => {+ setFocused(false);+ onBlur?.(e);+ }}{...rest}style={[{@@ -541,7 +550,7 @@ export const TextField = forwardRef<fontFamily: mono ? font.mono : font.regular,fontSize: mono ? 14 : 15,paddingVertical: multiline ? 12 : 0,- minHeight: multiline ? 84 : 44,+ minHeight: multiline ? 84 : 42,textAlignVertical: multiline ? "top" : "center",},style,@@ -565,11 +574,34 @@ export const TextField = forwardRef<export function CountBadge({count,inverse,+ tone,}: {count: number;inverse?: boolean;+ tone?: "info";}) {const c = useColors();+ if (tone === "info")+ return (+ <View+ style={{+ minWidth: 16,+ height: 16,+ paddingHorizontal: 4,+ borderRadius: 999,+ alignItems: "center",+ justifyContent: "center",+ backgroundColor: c.info,+ }}+ >+ <Txt+ style={{ fontFamily: font.semibold, fontSize: 10, lineHeight: 12 }}+ color="#FFFFFF"+ >+ {count > 99 ? "99+" : count}+ </Txt>+ </View>+ );return (<Viewstyle={{@@ -594,48 +626,74 @@ export function CountBadge({export function Checkbox({checked,+ indeterminate,+ disabled,onPress,}: {checked: boolean;+ indeterminate?: boolean;+ disabled?: boolean;onPress?: () => void;}) {const c = useColors();+ const on = checked || indeterminate;return (- <Touch+ <PressableonPress={onPress}- hitSlop={10}+ disabled={disabled}+ hitSlop={13}accessibilityRole="checkbox"- accessibilityState={{ checked }}+ accessibilityState={{+ checked: indeterminate ? "mixed" : checked,+ disabled,+ }}style={{width: 18,height: 18,- borderRadius: 5,+ borderRadius: radius.xs,alignItems: "center",justifyContent: "center",- backgroundColor: checked ? c.primary : "transparent",- borderWidth: checked ? 0 : 1.5,- borderColor: c.placeholder,+ backgroundColor: on ? c.primary : c.surface,+ borderWidth: 1,+ borderColor: on ? c.primary : c.fillStrong,+ boxShadow: on ? c.raisedPrimary : c.raised,+ opacity: disabled ? 0.64 : 1,}}>- {checked ? <CheckGlyph color={c.onPrimary} /> : null}- </Touch>+ {on ? (+ <CheckGlyph+ color={c.onPrimary}+ size={14}+ weight={3}+ indeterminate={indeterminate}+ />+ ) : null}+ </Pressable>);}export function CheckGlyph({color,- size = 12,+ size = 18,+ weight = 2,+ indeterminate,}: {color: string;size?: number;+ weight?: number;+ indeterminate?: boolean;}) {return (<Svg width={size} height={size} viewBox="0 0 24 24"><Path- d="m5 12 5 5 9-10"+ d={+ indeterminate+ ? "M5.252 12h13.496"+ : "M5.252 12.7 10.2 18.63 18.748 5.37"+ }fill="none"stroke={color}- strokeWidth={3}+ strokeWidth={weight}strokeLinecap="round"strokeLinejoin="round"/>@@ -643,6 +701,15 @@ export function CheckGlyph({);}+export function SelectionSlot({ selected }: { selected: boolean }) {+ const c = useColors();+ return (+ <View style={{ width: 18, alignItems: "center" }}>+ {selected ? <CheckGlyph color={c.ink} /> : null}+ </View>+ );+}+export function Radio({ selected }: { selected: boolean }) {const c = useColors();return (@@ -651,10 +718,25 @@ export function Radio({ selected }: { selected: boolean }) {width: 18,height: 18,borderRadius: 9,- borderWidth: selected ? 5 : 1.5,- borderColor: selected ? c.primary : c.placeholder,+ alignItems: "center",+ justifyContent: "center",+ backgroundColor: selected ? c.primary : c.surface,+ borderWidth: 1,+ borderColor: selected ? c.primary : c.fillStrong,+ boxShadow: selected ? c.raisedPrimary : c.raised,}}- />+ >+ {selected ? (+ <View+ style={{+ width: 8,+ height: 8,+ borderRadius: 4,+ backgroundColor: c.onPrimary,+ }}+ />+ ) : null}+ </View>);}diff --git a/apps/mobile/src/features/home/bottom-nav.tsx b/apps/mobile/src/features/home/bottom-nav.tsxindex 3b251459d..dc4040774 100644--- a/apps/mobile/src/features/home/bottom-nav.tsx+++ b/apps/mobile/src/features/home/bottom-nav.tsx@@ -1,7 +1,6 @@-import { Activity, House, Inbox } from "lucide-react-native";+import { Activity, CircleCheck, House, Inbox } from "lucide-react-native";import { useTranslation } from "react-i18next";import { View } from "react-native";-import Svg, { Circle, Path } from "react-native-svg";import { useBottomInset } from "@/components/screen";import { Txt } from "@/components/text";@@ -10,40 +9,7 @@ import { useColors } from "@/theme";export type HomeTab = "home" | "tasks" | "inbox" | "activity";-function TasksIcon({- active,- color,- ink,- check,-}: {- active: boolean;- color: string;- ink: string;- check: string;-}) {- return (- <Svg width={20} height={20} viewBox="0 0 24 24">- <Circle- cx={12}- cy={12}- r={9}- fill={active ? ink : "none"}- stroke={active ? ink : color}- strokeWidth={2}- />- <Path- d="m8.5 12 2.5 2.5 4.5-5"- fill="none"- stroke={active ? check : color}- strokeWidth={2}- strokeLinecap="round"- strokeLinejoin="round"- />- </Svg>- );-}--/** Slim ink-on-white bar: the active tab is ink with a filled icon, the rest gray. No pill indicator. */+/** Slim bar of outline icons: the active tab is ink, the rest gray. No pill indicator. */export function BottomNav({tab,onChange,@@ -74,7 +40,7 @@ export function BottomNav({<View style={{ flexDirection: "row", height: 60, paddingHorizontal: 8 }}>{items.map((item) => {const active = item.key === tab;- const color = active ? c.ink : c.faint;+ const color = active ? c.ink : c.placeholder;return (<Touchkey={item.key}@@ -95,32 +61,13 @@ export function BottomNav({><View>{item.key === "home" ? (- <House- size={20}- color={color}- fill={active ? c.ink : "none"}- strokeWidth={active ? 1.5 : 2}- />+ <House size={22} color={color} strokeWidth={2} />) : item.key === "tasks" ? (- <TasksIcon- active={active}- color={color}- ink={c.ink}- check={c.surface}- />+ <CircleCheck size={22} color={color} strokeWidth={2} />) : item.key === "inbox" ? (- <Inbox- size={20}- color={color}- strokeWidth={2}- fill={active ? c.fill : "none"}- />+ <Inbox size={22} color={color} strokeWidth={2} />) : (- <Activity- size={20}- color={color}- strokeWidth={active ? 2.5 : 2}- />+ <Activity size={22} color={color} strokeWidth={2} />)}{item.key === "inbox" && unread > 0 ? (<View@@ -133,14 +80,14 @@ export function BottomNav({borderRadius: 999,}}>- <CountBadge count={unread} />+ <CountBadge count={unread} tone="info" /></View>) : null}</View><Txtvariant="micro"- weight={active ? "semibold" : "medium"}- color={color}+ weight="medium"+ color={active ? c.ink : c.faint}>{item.label}</Txt>diff --git a/apps/mobile/src/features/home/home-tab.tsx b/apps/mobile/src/features/home/home-tab.tsxindex a1e219696..d15c9712b 100644--- a/apps/mobile/src/features/home/home-tab.tsx+++ b/apps/mobile/src/features/home/home-tab.tsx@@ -253,6 +253,7 @@ export function HomeTabView({dueDate={task.dueDate}status={task.status}statusIcon={task.statusIcon}+ priority={task.priority}last={i === upNext.length - 1}onPress={() =>router.push({diff --git a/apps/mobile/src/features/home/my-tasks-tab.tsx b/apps/mobile/src/features/home/my-tasks-tab.tsxindex e844be0c9..cb207c266 100644--- a/apps/mobile/src/features/home/my-tasks-tab.tsx+++ b/apps/mobile/src/features/home/my-tasks-tab.tsx@@ -157,6 +157,7 @@ export function MyTasksTab({ workspaceId }: { workspaceId: string }) {dueDate={task.dueDate}status={task.status}statusIcon={task.statusIcon}+ priority={task.priority}onPress={() =>router.push({pathname: "/task/[taskId]",diff --git a/apps/mobile/src/features/home/workspace-sheet.tsx b/apps/mobile/src/features/home/workspace-sheet.tsxindex eaba5dec7..5e394e1c3 100644--- a/apps/mobile/src/features/home/workspace-sheet.tsx+++ b/apps/mobile/src/features/home/workspace-sheet.tsx@@ -1,13 +1,13 @@import { useQuery } from "@tanstack/react-query";import { router } from "expo-router";-import { Check, Mail, Plus, Settings, Tag, Users } from "lucide-react-native";+import { Mail, Plus, Settings, Tag, Users } from "lucide-react-native";import type { ReactNode } from "react";import { useTranslation } from "react-i18next";import { View } from "react-native";import { Sheet } from "@/components/sheet";import { Txt } from "@/components/text";-import { CountBadge, Divider, Touch } from "@/components/ui";+import { CountBadge, Divider, SelectionSlot, Touch } from "@/components/ui";import { api } from "@/lib/api/endpoints";import type { Workspace } from "@/lib/api/types";import { selectWorkspace, useWorkspaces } from "@/lib/hooks";@@ -96,9 +96,10 @@ export function WorkspaceSheet({minHeight: 56,paddingHorizontal: 12,borderRadius: 10,- backgroundColor: active ? c.fill : "transparent",}}+ accessibilityState={{ selected: active }}>+ <SelectionSlot selected={active} /><View style={{ flex: 1, gap: 2 }}><Txt variant="body" weight={active ? "semibold" : "medium"}>{w.name}@@ -109,9 +110,6 @@ export function WorkspaceSheet({</Txt>) : null}</View>- {active ? (- <Check size={18} color={c.ink} strokeWidth={2.5} />- ) : null}</Touch>);})}diff --git a/apps/mobile/src/theme/tokens.ts b/apps/mobile/src/theme/tokens.tsindex 1c0a1af80..87cabe884 100644--- a/apps/mobile/src/theme/tokens.ts+++ b/apps/mobile/src/theme/tokens.ts@@ -42,6 +42,16 @@ export type Palette = {link: string;toast: string;onToast: string;+ ring: string;+ ringSoft: string;+ raised: string;+ raisedPrimary: string;+ overlay: string;+ priorityLow: string;+ priorityMedium: string;+ priorityHigh: string;+ priorityUrgent: string;+ priorityEmpty: string;};export const light: Palette = {@@ -77,8 +87,18 @@ export const light: Palette = {mentionBorder: "#2B7FFF40",mentionText: "#1447E6",link: "#1447E6",- toast: "#262626",- onToast: "#FAFAFA",+ toast: "#FFFFFF",+ onToast: "#262626",+ ring: "#A1A1A1",+ ringSoft: "#A1A1A13D",+ raised: "0 1px 2px #0000000D, inset 0 -1px 0 #0000000A",+ raisedPrimary: "0 1px 2px #2626263D, inset 0 1px 0 #FFFFFF29",+ overlay: "0 8px 24px #0000000F, 0 2px 6px #0000000A",+ priorityLow: "#2563EB",+ priorityMedium: "#D97706",+ priorityHigh: "#EA580C",+ priorityUrgent: "#DC2626",+ priorityEmpty: "#00000021",};export const dark: Palette = {@@ -114,8 +134,18 @@ export const dark: Palette = {mentionBorder: "#2B7FFF59",mentionText: "#51A2FF",link: "#51A2FF",- toast: "#F5F5F5",- onToast: "#262626",+ toast: "#1C1C1C",+ onToast: "#F5F5F5",+ ring: "#737373",+ ringSoft: "#7373733D",+ raised: "inset 0 1px 0 #FFFFFF0A",+ raisedPrimary: "0 1px 2px #00000066, inset 0 1px 0 #FFFFFF",+ overlay: "0 8px 24px #00000066",+ priorityLow: "#60A5FA",+ priorityMedium: "#FBBF24",+ priorityHigh: "#FB923C",+ priorityUrgent: "#E5484D",+ priorityEmpty: "#FFFFFF24",};export const font = {@@ -128,9 +158,10 @@ export const font = {} as const;export const radius = {+ xs: 4,sm: 6,- md: 10,- lg: 12,+ md: 8,+ lg: 10,xl: 14,sheet: 20,full: 999,