epicyon/fonts
Bob Mottram 4b9aec2f18 Extra font 2020-05-27 22:28:57 +01:00
..
Absortile-Bold.ttf Extra font 2020-05-27 22:28:57 +01:00
Absortile.ttf Extra font 2020-05-27 22:28:57 +01:00
Edition.ttf
GeneralFailureRegular.ttf
LICENSES Extra font 2020-05-27 22:28:57 +01:00
LcdSolid.ttf
MarginaliaRegular.ttf Extra font 2020-05-27 22:17:14 +01:00
README.md
RailModel.ttf
SundownerRegular.ttf
Warenhaus-Standard.ttf fonts 2020-05-25 12:22:49 +01:00
bedstead-condensed.otf
bedstead-extended.otf
bedstead-extracondensed.otf
bedstead-semicondensed.otf
bedstead-ultracondensed.otf
bedstead.otf

README.md

Epicyon Custom Fonts

Add any fonts that you may want to use within themes to this directory. They can be in ttf, woff or woff2 format.

Within your CSS include the font with:

@font-face {
  font-family: 'Your Font Name';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('./fonts/yourfont.woff2') format('woff2'),
    url('./fonts/yourfont.woff') format('woff'),
    url('./fonts/yourfont.ttf') format('truetype');
}

Then you can reference it later with:

font-family: 'Your Font Name', serif;