Skip to content

Commit

Permalink
fix: Harmonize font-family across all components (#442)
Browse files Browse the repository at this point in the history
Updated the global styles to apply the 'PT Serif' font-family across all components. Ensured that there are no component-specific overrides that conflict with the global font style.

Closes #420
  • Loading branch information
andremugabo authored Sep 5, 2024
1 parent b5fe14f commit 0d8badc
Show file tree
Hide file tree
Showing 107 changed files with 3,170 additions and 3,467 deletions.
3 changes: 2 additions & 1 deletion .hintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"axe/parsing": [
"default",
{
"duplicate-id-active": "off"
"duplicate-id-active": "off",
"duplicate-id-aria": "off"
}
]
}
Expand Down
38 changes: 21 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Lexend+Deca:wght@600&family=Open+Sans:wght@300;400;600;700;800&display=swap"
rel="stylesheet"
/>
/> -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
Expand All @@ -30,17 +30,19 @@
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@600&family=Open+Sans:wght@300;400;600;700;800&family=Poppins:wght@300;400&display=swap"
rel="stylesheet"
/>
/> -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=Inria+Serif:ital@1&family=Lexend+Deca:wght@600&family=Open+Sans:wght@300;400;600;700;800&display=swap"
rel="stylesheet"
/>

/> -->

<link href="https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&display=swap" rel="stylesheet">

</head>
<body class="dark:bg-dark-frame-bg">
<div id="tree"></div>
Expand All @@ -55,39 +57,41 @@
<title>DevPulse</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@600&family=Open+Sans:wght@300;400;600;700;800&family=Roboto:wght@100;300;700;900&display=swap"
rel="stylesheet"
/>
/> -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Lexend+Deca:wght@600&family=Open+Sans:wght@300;400;600;700;800&display=swap"
rel="stylesheet"
/>
/> -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=PT+Serif:ital@0;1&display=swap"
rel="stylesheet"
/>
/> -->
<link
rel="shortcut icon"
href="https://res.cloudinary.com/feyton/image/upload/v1657317023/logo_vadrlf.svg"
type="image/x-icon"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@600&family=Open+Sans:wght@300;400;600;700;800&family=Poppins:wght@300;400&display=swap"
rel="stylesheet"
/>
/> -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!-- <link
href="https://fonts.googleapis.com/css2?family=Inria+Serif:ital@1&family=Lexend+Deca:wght@600&family=Open+Sans:wght@300;400;600;700;800&display=swap"
rel="stylesheet"
/>
/> -->
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&display=swap" rel="stylesheet">

</head>
<body>
<div id="tree"></div>
Expand Down
Loading

0 comments on commit 0d8badc

Please sign in to comment.