Skip to content

Commit 0a0080e

Browse files
authored
ref: replace headerFontSize with fontSize.xl (#104448)
1 parent fac2c69 commit 0a0080e

File tree

19 files changed

+19
-20
lines changed

19 files changed

+19
-20
lines changed

static/app/components/charts/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const HeaderValue = styled('div')`
7474
position: absolute;
7575
top: 40px;
7676
z-index: 1;
77-
font-size: ${p => p.theme.headerFontSize};
77+
font-size: ${p => p.theme.fontSize.xl};
7878
`;
7979

8080
export const ChartContainer = styled('div')`

static/app/components/modals/inviteMembersModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const modalCss = css`
137137

138138
const Heading = styled('h1')`
139139
font-weight: ${p => p.theme.fontWeight.normal};
140-
font-size: ${p => p.theme.headerFontSize};
140+
font-size: ${p => p.theme.fontSize.xl};
141141
margin-top: 0;
142142
margin-bottom: ${space(0.75)};
143143
`;

static/app/components/tours/startTour.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const TextContainer = styled('div')`
8585

8686
const Header = styled('div')`
8787
color: ${p => p.theme.tokens.content.primary};
88-
font-size: ${p => p.theme.headerFontSize};
88+
font-size: ${p => p.theme.fontSize.xl};
8989
font-weight: ${p => p.theme.fontWeight.bold};
9090
`;
9191

static/app/components/versionHoverCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const StyledVersion = styled(Version)`
245245

246246
const CountSince = styled('div')`
247247
color: ${p => p.theme.headingColor};
248-
font-size: ${p => p.theme.headerFontSize};
248+
font-size: ${p => p.theme.fontSize.xl};
249249
`;
250250

251251
const AvatarListContainer = styled('div')`

static/app/utils/theme/theme.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,6 @@ const commonTheme = {
629629
* @deprecated use fontSize instead
630630
*/
631631
codeFontSize: '13px' as const,
632-
headerFontSize: '22px' as const,
633632

634633
text: {
635634
family: "'Rubik', 'Avenir Next', sans-serif",

static/app/views/insights/browser/webVitals/components/webVitalMetersWithIssues.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ const MeterHeader = styled('div')`
325325
const MeterValueText = styled('div')`
326326
display: flex;
327327
align-items: center;
328-
font-size: ${p => p.theme.headerFontSize};
328+
font-size: ${p => p.theme.fontSize.xl};
329329
font-weight: ${p => p.theme.fontWeight.bold};
330330
color: ${p => p.theme.textColor};
331331
flex: 1;
@@ -341,7 +341,7 @@ const MeterValueText = styled('div')`
341341

342342
const NoValueContainer = styled('span')`
343343
color: ${p => p.theme.subText};
344-
font-size: ${p => p.theme.headerFontSize};
344+
font-size: ${p => p.theme.fontSize.xl};
345345
`;
346346

347347
function NoValue() {

static/app/views/insights/mobile/screens/components/vitalCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const MeterValueText = styled('div')`
7474
display: flex;
7575
justify-content: center;
7676
align-items: center;
77-
font-size: ${p => p.theme.headerFontSize};
77+
font-size: ${p => p.theme.fontSize.xl};
7878
color: ${p => p.theme.textColor};
7979
flex: 1;
8080
text-align: center;

static/app/views/issueDetails/reprocessingProgress.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const Header = styled('div')`
7474
`;
7575

7676
const Title = styled('h3')`
77-
font-size: ${p => p.theme.headerFontSize};
77+
font-size: ${p => p.theme.fontSize.xl};
7878
font-weight: ${p => p.theme.fontWeight.bold};
7979
margin-bottom: 0;
8080
`;

static/app/views/performance/newTraceDetails/traceDrawer/details/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ const HighlightsDurationWrapper = styled(FlexBox)`
694694
`;
695695

696696
const HighlightDuration = styled('div')`
697-
font-size: ${p => p.theme.headerFontSize};
697+
font-size: ${p => p.theme.fontSize.xl};
698698
font-weight: 400;
699699
`;
700700

static/app/views/sharedGroupDetails/sharedGroupHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const Title = styled('h3')`
8989
${p => p.theme.overflowEllipsis};
9090
9191
@media (min-width: ${props => props.theme.breakpoints.sm}) {
92-
font-size: ${p => p.theme.headerFontSize};
92+
font-size: ${p => p.theme.fontSize.xl};
9393
}
9494
`;
9595

0 commit comments

Comments
 (0)