fix: use nerd fonts to have font icons

This commit is contained in:
Alexis Fourmaux 2025-05-13 17:55:04 +02:00
parent b39e61b474
commit a918ba2cc0
25 changed files with 27 additions and 27 deletions

View file

@ -1,87 +1,87 @@
@font-face { @font-face {
font-family: "Ubuntu"; font-family: "Ubuntu Nerd Font";
src: url("fonts/Ubuntu/Ubuntu-B.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuNerdFont-Bold.ttf") format(truetype);
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Ubuntu"; font-family: "Ubuntu Nerd Font";
src: url("fonts/Ubuntu/Ubuntu-BI.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuNerdFont-BoldItalic.ttf") format(truetype);
font-weight: 700; font-weight: 700;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: "Ubuntu"; font-family: "Ubuntu Nerd Font";
src: url("fonts/Ubuntu/Ubuntu-R.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuNerdFont-Regular.ttf") format(truetype);
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Ubuntu"; font-family: "Ubuntu Nerd Font";
src: url("fonts/Ubuntu/Ubuntu-RI.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuNerdFont-RegularItalic.ttf") format(truetype);
font-weight: 400; font-weight: 400;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: "Ubuntu"; font-family: "Ubuntu Nerd Font";
src: url("fonts/Ubuntu/Ubuntu-M.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuNerdFont-Meduium.ttf") format(truetype);
font-weight: 500; font-weight: 500;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Ubuntu"; font-family: "Ubuntu Nerd Font";
src: url("fonts/Ubuntu/Ubuntu-MI.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuNerdFont-MediumItalic.ttf") format(truetype);
font-weight: 500; font-weight: 500;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: "Ubuntu"; font-family: "Ubuntu Nerd Font";
src: url("fonts/Ubuntu/Ubuntu-L.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuNerdFont-Light.ttf") format(truetype);
font-weight: 300; font-weight: 300;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Ubuntu"; font-family: "Ubuntu Nerd Font";
src: url("fonts/Ubuntu/Ubuntu-LI.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuNerdFont-LightItalic.ttf") format(truetype);
font-weight: 300; font-weight: 300;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: "Ubuntu Mono"; font-family: "Ubuntu Mono Nerd Font";
src: url("fonts/Ubuntu/UbuntuMono-B.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuMonoNerdFont-Bold.ttf") format(truetype);
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Ubuntu Mono"; font-family: "Ubuntu Mono Nerd Font";
src: url("fonts/Ubuntu/UbuntuMono-BI.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuMonoNerdFont-BoldItalic.ttf") format(truetype);
font-weight: 700; font-weight: 700;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: "Ubuntu Mono"; font-family: "Ubuntu Mono Nerd Font";
src: url("fonts/Ubuntu/UbuntuMono-R.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuMonoNerdFont-Regular.ttf") format(truetype);
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: "Ubuntu Mono"; font-family: "Ubuntu Mono Nerd Font";
src: url("fonts/Ubuntu/UbuntuMono-RI.ttf") format(truetype); src: url("fonts/UbuntuNerdFont/UbuntuMonoNerdFont-RegularItalic.ttf") format(truetype);
font-weight: 400; font-weight: 400;
font-style: italic; font-style: italic;
} }
$text-font: "Ubuntu", Helvetica, sans-serif; $text-font: "Ubuntu Nerd Font", Helvetica, sans-serif;
$title-font: "Ubuntu", Helvetica, sans-serif; $title-font: "Ubuntu Nerd Font", Helvetica, sans-serif;
$mono-font: "Ubuntu Mono", monospace; $mono-font: "Ubuntu Mono Nerd Font", monospace;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.