diff --git a/src/alf/atoms.ts b/src/alf/atoms.ts index 434420a972..fe8cf9a789 100644 --- a/src/alf/atoms.ts +++ b/src/alf/atoms.ts @@ -1,4 +1,4 @@ -import {Platform, StyleSheet, ViewStyle} from 'react-native' +import {Platform, StyleProp, StyleSheet, ViewStyle} from 'react-native' import * as tokens from '#/alf/tokens' import {native, web} from '#/alf/util/platform' @@ -887,6 +887,9 @@ export const atoms = { user_select_all: { userSelect: 'all', }, + outline_inset_1: { + outlineOffset: '-1px', + } as StyleProp, /* * Text decoration diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index 1a9ce20054..de3a8190d2 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -185,7 +185,14 @@ function NavItem({count, href, icon, iconFilled, label}: NavItemProps) { return (