Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions apps/website/pages/foundations/typography.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import Head from "next/head";
import TypographyPage from "screens/foundations/typography/TypographyPage";

const Typography = () => (
<>
<Head>
<title>Typography — Halstack Design System</title>
</Head>
<TypographyPage />
</>
);

export default Typography;
13 changes: 0 additions & 13 deletions apps/website/pages/principles/iconography.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions apps/website/pages/principles/typography/index.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions apps/website/pages/principles/typography/usage.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions apps/website/screens/common/pagesList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,16 @@ const utilitiesLinks: LinkDetails[] = [

const principlesLinks: LinkDetails[] = [
{ label: "Data visualization", path: "/principles/data-visualization" },
{ label: "Iconography", path: "/principles/iconography" },
{ label: "Layout", path: "/principles/layout" },
{ label: "Localization", path: "/principles/localization" },
{ label: "Typography", path: "/principles/typography" },
];

const foundationsLinks: LinkDetails[] = [
{ label: "Color", path: "/foundations/color" },
{ label: "Height", path: "/foundations/height" },
{ label: "Iconography", path: "/foundations/iconography" },
{ label: "Spacing", path: "/foundations/spacing" },
{ label: "Typography", path: "/foundations/typography" },
];

const componentsLinks = componentsList as LinkDetails[];
Expand Down
7 changes: 4 additions & 3 deletions apps/website/screens/foundations/color/ColorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import secondaryColor from "./images/secondary_color.png";
import tertiaryColor from "./images/tertiary_color.png";
import semanticColors from "./images/semantic_colors.png";
import PageHeading from "@/common/PageHeading";
import Link from "next/link";

const sections = [
{
Expand All @@ -31,9 +32,9 @@ const sections = [
<DxcParagraph>
The color system <strong>ensures optimal contrast ratios for readability and accessibility</strong>, aligning
with{" "}
<DxcLink href="https://www.w3.org/WAI/perspective-videos/contrast/" newWindow>
WCAG 2.1
</DxcLink>
<Link href="https://www.w3.org/WAI/perspective-videos/contrast/" passHref legacyBehavior>
<DxcLink newWindow>WCAG 2.1</DxcLink>
</Link>
standards. Token naming follows a semantic structure to promote clarity in implementation and usage.
</DxcParagraph>
<DxcParagraph>
Expand Down
2 changes: 1 addition & 1 deletion apps/website/screens/foundations/height/HeightPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default function HeightPage() {
<DxcFlex direction="column" gap="4rem">
<PageHeading>
<DxcFlex direction="column" gap="var(--spacing-gap-xl)">
<DxcHeading level={1} text="Color" />
<DxcHeading level={1} text="Height" />
</DxcFlex>
</PageHeading>
<QuickNavContainerLayout>
Expand Down
Loading