Skip to content

Commit b41006a

Browse files
committed
refactor: remove useFocusVisible.ts
1 parent afdec9e commit b41006a

3 files changed

Lines changed: 2 additions & 39 deletions

File tree

src/components/RadioButton/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { ColorValue, GestureResponderEvent } from 'react-native';
33
import { tokens } from '../../theme/tokens';
44
import type { InternalTheme } from '../../types';
55

6-
const { stateOpacity } = tokens.md.ref;
6+
const stateOpacity = tokens.md.sys.state.opacity;
77

88
export const handlePress = ({
99
onPress,

src/components/__tests__/RadioButton/utils.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { getTheme } from '../../../core/theming';
22
import { tokens } from '../../../theme/tokens';
33
import { getSelectionControlIOSColor } from '../../RadioButton/utils';
44

5-
const { stateOpacity } = tokens.md.ref;
5+
const stateOpacity = tokens.md.sys.state.opacity;
66

77
describe('getSelectionControlIOSColor - checked color', () => {
88
it('should return correct disabled color, for theme version 3', () => {

src/utils/useFocusVisible.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)