diff --git a/packages/client/src/pages/Home/InfoPanel/Body/styles/gallery.js b/packages/client/src/pages/Home/InfoPanel/Body/styles/gallery.js index 4b73e711c5..8d1390fda9 100644 --- a/packages/client/src/pages/Home/InfoPanel/Body/styles/gallery.js +++ b/packages/client/src/pages/Home/InfoPanel/Body/styles/gallery.js @@ -1,11 +1,14 @@ import styled from "styled-components"; +import { Base } from "@docspace/components/themes"; + const StyledGalleryThumbnail = styled.div` box-sizing: border-box; width: 100%; height: 346px; overflow: hidden; - border: 1px solid #d0d5da; + border: ${(props) => + `solid 1px ${props.theme.infoPanel.gallery.borderColor}`}; border-radius: 6px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); @@ -15,4 +18,6 @@ const StyledGalleryThumbnail = styled.div` } `; +StyledGalleryThumbnail.defaultProps = { theme: Base }; + export { StyledGalleryThumbnail };