1- import { Button , ButtonGroup , Link , ListItemButton , Paper , Typography } from '../../base' ;
1+ import { Button , ButtonGroup , Link , ListItemButton , Typography } from '../../base' ;
22import { styled } from '../../theme' ;
33import { Theme } from './types' ;
44
5- export const StyledActionWrapper = styled ( Paper ) ( ( ) => ( {
5+ export const StyledActionWrapper = styled ( 'div' ) ( ( { theme } ) => ( {
66 boxShadow : '0px 2px 4px rgba(0, 0, 0, 0.2)' ,
77 justifyContent : 'center' ,
88 width : '100%' ,
@@ -12,7 +12,8 @@ export const StyledActionWrapper = styled(Paper)(() => ({
1212 flexDirection : 'column' ,
1313 gap : '1rem' ,
1414 padding : '0.6rem' ,
15- alignItems : 'center'
15+ alignItems : 'center' ,
16+ backgroundColor : theme . palette . background . default
1617} ) ) ;
1718
1819interface ActionButtonProps {
@@ -139,7 +140,8 @@ export const ContentDetailsPoints = styled(Typography)(() => ({
139140 fontFamily : 'inherit'
140141} ) ) ;
141142
142- export const MetricsSection = styled ( 'div' ) ( ( ) => ( {
143+ export const MetricsSection = styled ( 'div' ) ( ( { theme } ) => ( {
144+ backgroundColor : theme . palette . background . default ,
143145 padding : '1.1rem' ,
144146 marginTop : '0.5rem' ,
145147 display : 'flex' ,
@@ -152,7 +154,8 @@ export const MetricsSection = styled('div')(() => ({
152154 }
153155} ) ) ;
154156
155- export const MetricsContainer = styled ( 'div' ) ( ( ) => ( {
157+ export const MetricsContainer = styled ( 'div' ) ( ( { theme } ) => ( {
158+ backgroundColor : theme . palette . background . default ,
156159 display : 'flex' ,
157160 flexDirection : 'column' ,
158161 justifyContent : 'center' ,
@@ -236,13 +239,14 @@ export const AdditionalContainer = styled('div')(({ theme }) => ({
236239 borderRadius : '0.4rem'
237240} ) ) ;
238241
239- export const DesignCardContainer = styled ( 'div' ) ( ( ) => ( {
242+ export const DesignCardContainer = styled ( 'div' ) ( ( { theme } ) => ( {
240243 display : 'flex' ,
241244 flexWrap : 'wrap' ,
242245 flex : '0 0 75%' ,
243246 gap : '2rem' ,
244247 justifyContent : 'space-around' ,
245- height : 'fit-content'
248+ height : 'fit-content' ,
249+ backgroundColor : theme . palette . background . default
246250} ) ) ;
247251
248252export const CopyShareIconWrapper = styled ( ContentHeading ) ( ( ) => ( {
@@ -251,15 +255,6 @@ export const CopyShareIconWrapper = styled(ContentHeading)(() => ({
251255 width : 'fit-content'
252256} ) ) ;
253257
254- export const VisibilityChip = styled ( 'div' ) ( ( ) => ( {
255- borderRadius : '0.5rem' ,
256- border : '1px solid gray' ,
257- padding : '0.2rem 0.5rem' ,
258- textTransform : 'capitalize' ,
259- color : '#1a1a1acc' ,
260- width : 'fit-content'
261- } ) ) ;
262-
263258export const RedirectLink = styled ( Link ) ( ( { theme } ) => ( {
264259 color : theme . palette . background . brand ?. default ,
265260 textDecoration : 'none' ,
0 commit comments