Skip to content

Commit c2507cc

Browse files
fix(PDYE-1435): focus recursos y eventos (#748)
Co-authored-by: Javiera Munita <javiera.munita@eclass.cl>
1 parent 4af1a82 commit c2507cc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/organisms/Events/TypeBox/LargeBox.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ export const LargeBox: FC<ItemsEventsProps> = ({
3131
borderRadius={vars('radii-big')}
3232
_active={cssActive}
3333
_hover={cssActive}
34-
_focus={cssActive}
34+
_focusVisible={{
35+
boxShadow: `0 0 0 3px ${vars('colors-alert-deepSkyBlue')}`,
36+
}}
3537
>
3638
<Ripples>
3739
<Flex cursor="pointer" w="fit-content" display={isMobile ? 'block' : 'flex'}>

src/organisms/Events/TypeBox/SmallBox.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ export const SmallBox: FC<ItemsEventsProps> = ({
2727
transition="box-shadow .3s"
2828
_active={cssActive}
2929
_hover={cssActive}
30-
_focus={cssActive}
30+
_focusVisible={{
31+
boxShadow: `0 0 0 3px ${vars('colors-alert-deepSkyBlue')}`,
32+
}}
3133
width="286px"
3234
height="247px"
3335
borderRadius={vars('radii-big')}

src/organisms/Resources/Resources.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ export const Resources: FC<ResourcesProps> = ({
6161
transition="box-shadow 0.3s"
6262
_active={cssActive}
6363
_hover={cssActive}
64-
_focus={cssActive}
64+
_focusVisible={{
65+
boxShadow: `0 0 0 3px ${vars('colors-alert-deepSkyBlue')}`,
66+
}}
6567
cursor="pointer"
6668
borderRadius={vars('radii-big')}
6769
border={vars('borders-light')}

0 commit comments

Comments
 (0)