MCPcopy Create free account
hub / github.com/adobe/react-spectrum / focusRing

Function focusRing

packages/@react-spectrum/s2/style/index.ts:78–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 * });
77 */
78export const focusRing = () =>
79 ({
80 outlineStyle: {
81 default: 'none',
82 isFocusVisible: 'solid'
83 },
84 outlineColor: {
85 default: 'focus-ring',
86 forcedColors: 'Highlight'
87 },
88 outlineWidth: 2,
89 outlineOffset: 2
90 }) as const;
91
92export interface IconStyle {
93 size?: 'XS' | 'S' | 'M' | 'L' | 'XL';

Callers 15

ResizableFunction · 0.90
StatesFunction · 0.90
Header.tsxFile · 0.90
SideNavItemFunction · 0.90
SideNavLinkFunction · 0.90
IconPicker.tsxFile · 0.90
Tabs.tsxFile · 0.90
PlacementControlItemFunction · 0.90
Link.tsxFile · 0.90
Header.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected