Skip to content

Commit

Permalink
feat: poppins-Regular
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored and AbigailDeng committed Aug 2, 2024
1 parent 923af60 commit fae2f91
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions components/Header/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
display: flex;
align-items: center;
height: 60px;
.ant-menu-title-content {
.font-bold {
font-weight: 400;
}
}
}
}
.header-drawer-container {
Expand Down
2 changes: 1 addition & 1 deletion components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default function Header({ menu, baseConfig }: Props) {
antdTheme.darkAlgorithm,
]),
token: {
fontFamily: "Poppins-Regular",
fontFamily: "inherit",
},
}}
>
Expand Down
3 changes: 2 additions & 1 deletion components/blocks/highlight-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export function HighlightLink({
{
active: isIntersecting,
},
className
className,
"leading-[1.75rem]"
)}
>
<Link href={`#${anchor}`}>{title}</Link>
Expand Down
4 changes: 2 additions & 2 deletions components/blocks/ordered.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export interface Ordered extends Item {

export function Ordered(props: Ordered) {
return (
<li>
{props.ordered.elements.map((i) => (
<li className="leading-[1.75rem]">
{props.ordered.elements.map(i => (
<Element key={key()} {...i} />
))}
</li>
Expand Down

0 comments on commit fae2f91

Please sign in to comment.