Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
use getSansRegularItalic
Browse files Browse the repository at this point in the history
  • Loading branch information
thekp committed Aug 7, 2019
1 parent 4305ffe commit b7830da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/psammead-caption/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import {
import { getLongPrimer } from '@bbc/gel-foundations/typography';
import { C_METAL } from '@bbc/psammead-styles/colours';
import { scriptPropType } from '@bbc/gel-foundations/prop-types';
import { getSansItalic } from '@bbc/psammead-styles/font-styles';
import { getSansRegularItalic } from '@bbc/psammead-styles/font-styles';

const Caption = styled.figcaption`
${props => (props.script ? getLongPrimer(props.script) : '')};
color: ${C_METAL};
${({ service }) => getSansItalic(service)}
${({ service }) => getSansRegularItalic(service)}
padding: ${GEL_SPACING} ${GEL_MARGIN_BELOW_400PX} 0;
width: 100%;
@media (min-width: ${GEL_GROUP_2_SCREEN_WIDTH_MIN}) and (max-width: ${GEL_GROUP_3_SCREEN_WIDTH_MAX}) {
Expand Down

0 comments on commit b7830da

Please sign in to comment.