Skip to content

Commit

Permalink
chore(components): radiocard background color always white
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Feb 28, 2025
1 parent 3f954c0 commit 7363725
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions packages/components/src/components/RadioCard/RadioCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@ import { ReactNode } from 'react';

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

import {
Elevation,
borders,
mapElevationToBackground,
mapElevationToBorder,
palette,
spacingsPx,
} from '@trezor/theme';
import { Elevation, borders, mapElevationToBorder, palette, spacingsPx } from '@trezor/theme';

import {
FrameProps,
Expand Down Expand Up @@ -45,7 +38,7 @@ const Wrapper = styled.div<
padding: ${spacingsPx.md};
outline: ${borders.widths.small} solid ${mapElevationToBorder};
outline-offset: -${borders.widths.small};
background-color: ${mapElevationToBackground};
background: ${({ theme }) => theme.backgroundSurfaceElevation1};
${({ onClick }) => onClick && 'cursor: pointer;'}
Expand Down

0 comments on commit 7363725

Please sign in to comment.