Skip to content

Commit

Permalink
feat(branding): adapt icon circle background
Browse files Browse the repository at this point in the history
  • Loading branch information
maximevast committed Feb 19, 2024
1 parent 142c81e commit ffc8d7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/andive/src/components/svg-icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const IconRoot = styled(({size, circleColor, circle, ...props}) => <SvgRoot size
flex: 0 0 ${getWidth}px;
border-radius: ${props => (props.circle ? '50%' : 0)};
background: ${props => (props.circle ? props.circleColor || palette.darkGrey : 'transparent')};
background: ${props => (props.circle ? props.circleColor || palette.amblea.grey[300] : 'transparent')};
& > * {
position: absolute;
top: calc(50% - ${props => props.size / 2}px);
Expand Down
2 changes: 1 addition & 1 deletion packages/andive/src/constants/palette.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Raw color palette

// ? copied from andive next for compatibility during migration
const amblea = {
export const amblea = {
blue: {
800: '#0c2344',
700: '#1a4b92',
Expand Down

0 comments on commit ffc8d7d

Please sign in to comment.