Skip to content

Commit

Permalink
💄 Update Filter styling to use border with bg heavy
Browse files Browse the repository at this point in the history
  • Loading branch information
mariush2 committed Jan 10, 2025
1 parent 374cddb commit ab91092
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/organisms/Filter/Filter.styles.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { colors, elevation, shape, spacings, typography } from 'src/atoms';
import { colors, shape, spacings, typography } from 'src/atoms';
import { Chip } from 'src/molecules/Chip/Chip';

import { motion } from 'framer-motion';
import styled, { css } from 'styled-components';

export const Wrapper = styled.div`
width: 100%;
border: 1px solid ${colors.ui.background__heavy.rgba};
border-radius: ${shape.corners.borderRadius};
overflow: hidden;
`;

export const Container = styled.div`
Expand All @@ -14,10 +17,7 @@ export const Container = styled.div`
align-items: center;
width: 100%;
padding-left: ${spacings.small};
border-bottom: 1px solid ${colors.ui.background__medium.rgba};
border-top-left-radius: ${shape.corners.borderRadius};
border-top-right-radius: ${shape.corners.borderRadius};
transition: border-bottom 200ms;
outline: 1px solid ${colors.ui.background__medium.rgba};
cursor: pointer;
> section {
min-height: 24px;
Expand Down Expand Up @@ -61,7 +61,6 @@ export const Container = styled.div`
padding: 0;
align-self: stretch;
&:hover {
border-top-right-radius: ${shape.corners.borderRadius};
background: ${colors.interactive.primary__hover_alt.rgba};
}
}
Expand Down Expand Up @@ -97,7 +96,6 @@ export const Content = styled(motion.div)<ContentProps>`
border-bottom-left-radius: ${shape.corners.borderRadius};
border-bottom-right-radius: ${shape.corners.borderRadius};
background: ${colors.ui.background__default.rgba};
box-shadow: ${elevation.raised};
overflow: hidden;
> section {
padding: ${spacings.medium};
Expand Down

0 comments on commit ab91092

Please sign in to comment.