epicyon/fonts
Bob Mottram 3f58731c7b Modern theme font 2020-10-26 16:52:56 +00:00
..
Absortile-Bold.woff2
Absortile.woff2
CheGuevaraTextSans-Regular.woff2
Domestic_Manners.woff2
Edition.woff2
ElectrumADFExp-Regular.otf
GeneralFailureRegular.woff2
JetBrainsMono-Regular.woff2
Judges.woff
LICENSES
LcdSolid.woff2
LinBiolinum_Kah.woff2
LinBiolinum_RBah.woff2
LinBiolinum_RIah.woff2
LinBiolinum_Rah.woff2
MarginaliaRegular.woff2
NimbusSanL-italic.otf
NimbusSanL.otf
Octavius.woff2
README.md
RailModel.woff2
SubZER0.woff2
SundownerRegular.woff2
Warenhaus-Standard.woff2
bedstead-condensed.otf
bedstead-extended.otf
bedstead-extracondensed.otf
bedstead-semicondensed.otf
bedstead-ultracondensed.otf
bedstead.otf
bgrove.woff
bgrove.woff2
bgroveb.woff2
solidaric-italic.woff2
solidaric.woff2

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;