Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
--font-family-brand font support
Browse files Browse the repository at this point in the history
  • Loading branch information
benjokoren-ow committed Jul 9, 2024
1 parent e3e3d90 commit be36fad
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion engine
2 changes: 1 addition & 1 deletion src/components/home-page/hero/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}

p {
font-family: 'Madera';
font-family: var(--font-family-brand);
font-weight: 400;
font-size: 24px;
line-height: 40px;
Expand Down
10 changes: 5 additions & 5 deletions src/css/overide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ div[class^="tableOfContents"] {
a {
font-size: 14px;
line-height: 144%;
font-family: Madera,sans-serif;
font-family: var(--font-family-brand);;
color: var(--color-600);


Expand Down Expand Up @@ -181,7 +181,7 @@ div[class^="tableOfContents"] {
letter-spacing: .01em;
position: relative;
border-radius: unset;
font-family: Madera,sans-serif;
font-family: var(--font-family-brand);;
padding: 0 12px;
min-height: 29px;

Expand All @@ -208,7 +208,7 @@ div[class^="tableOfContents"] {
letter-spacing: .01em;
position: relative;
border-radius: unset;
font-family: Madera,sans-serif;
font-family: var(--font-family-brand);;
padding: 0 4px 0 12px;
min-height: 29px;
width: 230px;
Expand Down Expand Up @@ -268,7 +268,7 @@ article footer {

.theme-edit-this-page {
display: flex;
font-family: Madera,sans-serif;
font-family: var(--font-family-brand);;
width: fit-content;
text-transform: none;
font-size: 16px;
Expand Down Expand Up @@ -307,7 +307,7 @@ nav.pagination-nav {
}

.footer {
font-family: Madera,sans-serif;
font-family: var(--font-family-brand);;
width: 100%;
background-color: var(--color-bg);
position: relative;
Expand Down
72 changes: 36 additions & 36 deletions src/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -258,40 +258,40 @@

}

@font-face {
font-family: "Madera";
src: url("/fonts/madera/Madera-UltraLight.woff") format("woff");
font-weight: 200;
font-style: normal
}

@font-face {
font-family: "Madera";
src: url("/fonts/madera/Madera-Light.woff") format("woff");
font-weight: 300;
font-style: normal
}

@font-face {
font-family: "Madera";
src: url("/fonts/madera/Madera-Regular.woff") format("woff");
font-weight: 400;
font-style: normal
}

@font-face {
font-family: "Madera";
src: url("/fonts/madera/Madera-Medium.woff") format("woff");
font-weight: 500;
font-style: normal
}

@font-face {
font-family: "Madera";
src: url("/fonts/madera/Madera-Bold.woff") format("woff");
font-weight: 700;
font-style: normal
}
// @font-face {
// font-family: "Madera";
// src: url("/fonts/madera/Madera-UltraLight.woff") format("woff");
// font-weight: 200;
// font-style: normal
// }

// @font-face {
// font-family: "Madera";
// src: url("/fonts/madera/Madera-Light.woff") format("woff");
// font-weight: 300;
// font-style: normal
// }

// @font-face {
// font-family: "Madera";
// src: url("/fonts/madera/Madera-Regular.woff") format("woff");
// font-weight: 400;
// font-style: normal
// }

// @font-face {
// font-family: "Madera";
// src: url("/fonts/madera/Madera-Medium.woff") format("woff");
// font-weight: 500;
// font-style: normal
// }

// @font-face {
// font-family: "Madera";
// src: url("/fonts/madera/Madera-Bold.woff") format("woff");
// font-weight: 700;
// font-style: normal
// }

*,
*:before,
Expand Down Expand Up @@ -395,7 +395,7 @@ th {

h1,
h2, h3, h4, h5 {
font-family: 'Madera', sans-serif;
font-family: var(--font-family-brand);
color: var(--color-220);
}

Expand Down Expand Up @@ -509,7 +509,7 @@ body, .body {
line-height: 1.5;
color: var(--color-220);
background: var(--light-mode-bg);
font-family: 'Lato', sans-serif;
font-family: var(--font-family-default);
font-size: 16px;
height: auto;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

.api-text {
font-family: Madera;
font-family: var(--font-family-brand);;
font-size: 20px;
font-style: normal;
font-weight: 500;
Expand All @@ -22,4 +22,4 @@
text-transform: lowercase;
}
}
}
}

0 comments on commit be36fad

Please sign in to comment.