Skip to content

Commit c2e8b4d

Browse files
fix(PDYE-1136): color boton activo (#692)
Co-authored-by: Javiera Munita <javiera.munita@eclass.cl>
1 parent 4fcb1de commit c2e8b4d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/organisms/Calendar/Dropdown/CalendarDropdown/Components/GoToCalendar.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export const GoToCalendar = ({
1717
onlyToCalendar,
1818
onClick,
1919
}: IGoToCalendar): JSX.Element => {
20+
const activeBg = vars('colors-main-deepSkyBlue') ?? '#0189FF'
21+
2022
return (
2123
<NewTooltip label={text ?? 'Calendario'} m="2px 0 0 0" isDisabled={tooltipDisabled}>
2224
<MenuButton
@@ -29,6 +31,12 @@ export const GoToCalendar = ({
2931
padding="0 !important"
3032
margin="0 !important"
3133
position="relative"
34+
_active={{
35+
bg: activeBg,
36+
'&:hover': {
37+
bg: activeBg,
38+
},
39+
}}
3240
_hover={{
3341
bg: 'rgba(96, 121, 142, 0.8)',
3442
}}

0 commit comments

Comments
 (0)