Skip to content

Commit

Permalink
feat: update colors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstefanequilobe committed Nov 21, 2022
1 parent 5880c1d commit 17d98a1
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/components/blocks/APIPagination.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useEffect } from 'react';
import styled, { withTheme } from 'styled-components';
import styled, { withTheme, css } from 'styled-components';
import { useSelector, useDispatch } from 'react-redux';
import { useLocation } from 'react-router-dom';
import { ArrowDownIcon, ThreeDotsIcon } from '..';
Expand Down Expand Up @@ -38,12 +38,16 @@ export const ControlsContainer = styled('div')`
props.isNextButton &&
`transform-origin: center;
transform: rotate(270deg);`};
:hover {
color: ${props =>
!props.isDisabled &&
(props.isNextButton || props.isBackButton) &&
props.theme.colors.default.secondaryDark};
}
${props =>
!props.isDisabled &&
(props.isNextButton || props.isBackButton) &&
css`
:hover {
color: ${props => props.theme.colors.default.secondaryDark};
border: 1px solid ${props => props.theme.colors.default.secondaryDark};
}
`}
`;

export const PagesContainer = styled(ControlsContainer)`
Expand Down

0 comments on commit 17d98a1

Please sign in to comment.