Skip to content

Commit

Permalink
🎨 Fonts integrated
Browse files Browse the repository at this point in the history
  • Loading branch information
truekasun committed Sep 20, 2024
1 parent d31a171 commit 3932159
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
32 changes: 32 additions & 0 deletions themes/lifeitself/assets/built/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2140,6 +2140,38 @@ production stylesheet in assets/built/screen.css using: npm run dev
/* Lib - Local component imports
/* ---------------------------------------------------------- */

/* Fonts */

@font-face {
font-family: "Restora";

src: url("/assets/fonts/Restora.ttf");

font-style: normal;

font-display: swap;
}

@font-face {
font-family: "Restora";

src: url("/assets/fonts/RestoraBold.ttf");

font-style: bold;

font-display: swap;
}

@font-face {
font-family: "Restora";

src: url("/assets/fonts/RestoraExtraLight.otf");

font-style: light;

font-display: swap;
}

/* Base components */

/* Ghost components */
Expand Down
22 changes: 22 additions & 0 deletions themes/lifeitself/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,28 @@ production stylesheet in assets/built/screen.css using: npm run dev
/* Lib - Local component imports
/* ---------------------------------------------------------- */

/* Fonts */


@font-face {
font-family: "Restora";
src: url("/assets/fonts/Restora.ttf");
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Restora";
src: url("/assets/fonts/RestoraBold.ttf");
font-style: bold;
font-display: swap;
}
@font-face {
font-family: "Restora";
src: url("/assets/fonts/RestoraExtraLight.otf");
font-style: light;
font-display: swap;
}

/* Base components */
@import "vars.css";
@import "components/global.css";
Expand Down
Binary file added themes/lifeitself/assets/fonts/Restora.ttf
Binary file not shown.
Binary file added themes/lifeitself/assets/fonts/RestoraBold.ttf
Binary file not shown.
Binary file not shown.

0 comments on commit 3932159

Please sign in to comment.