From 92f6ca0531e64602d4306f99eb9ca6c82ef3ec6e Mon Sep 17 00:00:00 2001 From: Amela Kodzic Date: Thu, 17 Jun 2021 11:50:04 +0200 Subject: [PATCH] use new typography stylemixin --- packages/circuit-ui/components/Popover/Popover.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/circuit-ui/components/Popover/Popover.tsx b/packages/circuit-ui/components/Popover/Popover.tsx index 52434a63f5..896a15b444 100644 --- a/packages/circuit-ui/components/Popover/Popover.tsx +++ b/packages/circuit-ui/components/Popover/Popover.tsx @@ -33,7 +33,7 @@ import { Placement, State, Modifier } from '@popperjs/core'; import { useTheme } from 'emotion-theming'; import styled, { StyleProps } from '../../styles/styled'; -import { listItem, textMega } from '../../styles/style-mixins'; +import { listItem, typography } from '../../styles/style-mixins'; import { useComponents } from '../ComponentsContext'; import useClickHandler from '../../hooks/use-click-handler'; import Hr from '../Hr'; @@ -86,7 +86,7 @@ const itemWrapperStyles = () => css` const PopoverItemWrapper = styled('button')( listItem, itemWrapperStyles, - textMega, + typography('one'), ); const iconStyles = (theme: Theme) => css`