11import React from "react" ;
22import styled , { css } from "styled-components" ;
33import Arrow from "../../assets/svgs/dropdown/arrow.svg" ;
4- import { borderBox , button , svg , small , h1 } from "../../styles/common-style" ;
4+ import {
5+ borderBox ,
6+ button ,
7+ svg ,
8+ small ,
9+ h1 ,
10+ hoverShortTransitionTiming ,
11+ } from "../../styles/common-style" ;
512
613const Container = styled . button `
714 ${ borderBox }
@@ -10,16 +17,30 @@ const Container = styled.button`
1017 display : flex;
1118 align-items : center;
1219 padding : 0px ;
20+
21+ : hover {
22+ small {
23+ color : ${ ( { theme } ) => theme . klerosUIComponentsSecondaryBlue } ;
24+ }
25+ h1 {
26+ color : ${ ( { theme } ) => theme . klerosUIComponentsSecondaryBlue } ;
27+ }
28+ svg {
29+ fill : ${ ( { theme } ) => theme . klerosUIComponentsSecondaryBlue } ;
30+ }
31+ }
1332` ;
1433
1534const StyledSmallText = styled . small `
1635 ${ small }
36+ ${ hoverShortTransitionTiming }
1737 font-weight : 600 ;
1838 color : ${ ( { theme } ) => theme . klerosUIComponentsPrimaryBlue } ;
1939` ;
2040
2141const StyledBigText = styled . h1 `
2242 ${ h1 }
43+ ${ hoverShortTransitionTiming }
2344 font-weight : 600 ;
2445 color : ${ ( { theme } ) => theme . klerosUIComponentsPrimaryBlue } ;
2546` ;
@@ -28,6 +49,7 @@ const StyledArrow = styled(({ ignoredIsOpen, ignoredSmall, ...props }) => (
2849 < Arrow { ...props } />
2950) ) `
3051 ${ svg }
52+ ${ hoverShortTransitionTiming }
3153 width: ${ ( { ignoredSmall : small } ) => ( small ? "8" : "16" ) } px;
3254 height: ${ ( { ignoredSmall : small } ) => ( small ? "8" : "16" ) } px;
3355 fill: ${ ( { theme } ) => theme . klerosUIComponentsPrimaryBlue } ;
0 commit comments