Custom Fonts
Using fonts
- Variable fonts currently are not supported in s&box. If you'd like to use custom fonts, they must be static.
- Nesting folders in the root is not currently possible, so you must store all folders in the
/fonts
root directory.
In order to use your font, you will need to set font-family
in your CSS to the name of your font. Deviating from standard CSS syntax, only should only enter one font family at a time, as fallback font families are unavailable.
Uploading fonts
For your players to download your fonts you may need to configure your Resource Files manually.
Open the Project Settings > Resource Files, and add a wildcard fonts/*
.
After you've added that wildcard, you should see your font highlighted in a brighter color on the right side.
