Skip to content

Commit 4d11f72

Browse files
committed
Fix other small styling code issues
1 parent ab7be18 commit 4d11f72

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

src/app/download/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default async function DownloadPage({ params }: DownloadPageProps) {
8080
target="_self"
8181
href={`https://github.com/httptoolkit/httptoolkit-desktop/releases/download/${currentDownloadData?.releasePath}`}
8282
>
83-
<Text fontSize="l" as="span" color="cinnarbarRed" fontWeight="medium">
83+
<Text fontSize="l" as="span" color="cinnabarRed" fontWeight="medium">
8484
Click here
8585
</Text>
8686
</Link>.

src/app/will-it-cors/components/steps/components/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,15 +545,15 @@ export const ServerAllowsCorsRequest = ({
545545
</Text>
546546
{uselessSetCookie && (
547547
<Text fontSize="l">
548-
<Text fontSize="l" color="cinnarbarRed" as="span" fontStyle="italic">
548+
<Text fontSize="l" color="cinnabarRed" as="span" fontStyle="italic">
549549
This response sets a cookie that won&apos;t be used
550550
</Text>
551551
. Set-Cookie headers in responses are ignored, unless the initial request includes browser credentials.
552552
</Text>
553553
)}
554554
{!varyOnOrigin && someHeaderValues(responseHeaders, (v: string) => v.toLowerCase() === sourceOrigin) && (
555555
<Text fontSize="l">
556-
<Text fontSize="l" color="cinnarbarRed" as="span" fontStyle="italic">
556+
<Text fontSize="l" color="cinnabarRed" as="span" fontStyle="italic">
557557
This result may be cached incorrectly
558558
</Text>
559559
. Your response headers reference the page origin from the request, but they don&apos;t include `Origin` in a{' '}

src/components/layout/documentation/documentation.styles.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export const StyledDocumentationLayoutMobileHeading = styled(Heading)`
7575

7676
export const StyledDocumentationLayoutDesktopHeading = styled.h1`
7777
font-size: ${fontSizes.heading.desktop.l};
78-
color: ${textGradientMixin};
7978
${textGradientMixin};
8079
line-height: 1.2;
8180
margin-bottom: 24px;

src/components/layout/footer/components/footer-column-block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const FooterColumnBlock = ({ column }: { column: FooterColumn }) => {
1414
$displayOnMobile={displayOnMobile}
1515
$displayOnDesktop={displayOnDesktop}
1616
>
17-
<Text as="label" fontSize="m" color="cinnarbarRed" fontWeight="bold">
17+
<Text as="label" fontSize="m" color="cinnabarRed" fontWeight="bold">
1818
{column.title}
1919
</Text>
2020
<StyledMenuItems role="list" $displayOnMobile={displayOnMobile} $displayOnDesktop={displayOnDesktop}>

src/components/modules/input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
2323
</StyledInputBorder>
2424
</Stack>
2525
{errorMessage && (
26-
<Text fontSize="s" color="cinnarbarRed">
26+
<Text fontSize="s" color="cinnabarRed">
2727
{errorMessage}
2828
</Text>
2929
)}

src/components/sections/cta/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const CTA = ({
5050
<SquareIcon $size={isHero ? 'xLarge' : 'medium'} $variant={isHero ? 'primary' : 'secondary'} icon={icon} />
5151
)}
5252
{subHeading && (
53-
<Text as="label" color="cinnarbarRed" fontSize={labelSize} fontWeight="bold">
53+
<Text as="label" color="cinnabarRed" fontSize={labelSize} fontWeight="bold">
5454
{subHeading?.text} {SubHeadingIcon && <SubHeadingIcon weight="fill" />}
5555
</Text>
5656
)}

src/styles/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const textOrangeGradientMixin = css`
2626
export const textColors = {
2727
lightGrey: 'var(--text-light-grey)',
2828
darkGrey: 'var(--text-dark-grey)',
29-
cinnarbarRed: 'var(--text-cinnabar-red)',
29+
cinnabarRed: 'var(--text-cinnabar-red)',
3030
white: 'var(--text-white)',
3131
alwaysWhite: 'var(--text-always-white)',
3232
alwaysLightGrey: 'var(--text-always-light-grey)',

0 commit comments

Comments
 (0)