diff --git a/website/public/fonts/protracker/license.txt b/website/public/fonts/protracker/license.txt new file mode 100644 index 00000000..7c555087 --- /dev/null +++ b/website/public/fonts/protracker/license.txt @@ -0,0 +1,4 @@ +The FontStruction “Protracker3 Font” +(https://fontstruct.com/fontstructions/show/1952645) by “pznfbg” is licensed +under a Creative Commons Attribution Share Alike license +(http://creativecommons.org/licenses/by-sa/3.0/). diff --git a/website/public/fonts/protracker/protracker3-font.ttf b/website/public/fonts/protracker/protracker3-font.ttf new file mode 100644 index 00000000..661ead4a Binary files /dev/null and b/website/public/fonts/protracker/protracker3-font.ttf differ diff --git a/website/public/fonts/protracker/readme.txt b/website/public/fonts/protracker/readme.txt new file mode 100644 index 00000000..9078a43f --- /dev/null +++ b/website/public/fonts/protracker/readme.txt @@ -0,0 +1,16 @@ +The font file in this archive was created using Fontstruct the free, online +font-building tool. +This font was created by “pznfbg”. +This font has a homepage where this archive and other versions may be found: +https://fontstruct.com/fontstructions/show/1952645 + +Try Fontstruct at https://fontstruct.com +It’s easy and it’s fun. + +Fontstruct is copyright ©2021-2023 Rob Meek + +LEGAL NOTICE: +In using this font you must comply with the licensing terms described in the +file “license.txt” included with this archive. +If you redistribute the font file in this archive, it must be accompanied by all +the other files from this archive, including this one. diff --git a/website/src/repl/Footer.jsx b/website/src/repl/Footer.jsx index 77a3efbc..afacc42b 100644 --- a/website/src/repl/Footer.jsx +++ b/website/src/repl/Footer.jsx @@ -375,6 +375,7 @@ const fontFamilyOptions = { 'we-come-in-peace': 'we-come-in-peace', FiraCode: 'FiraCode', 'FiraCode-SemiBold': 'FiraCode SemiBold', + 'protracker3': 'protracker3', }; function SettingsTab({ scheduler }) { diff --git a/website/src/styles/index.css b/website/src/styles/index.css index 2a54b708..1477e189 100644 --- a/website/src/styles/index.css +++ b/website/src/styles/index.css @@ -26,6 +26,10 @@ font-family: 'FiraCode-SemiBold'; src: url('/fonts/FiraCode/FiraCode-SemiBold.ttf'); } +@font-face { + font-family: 'protracker3'; + src: url('/fonts/protracker/protracker3-font.ttf'); +} .prose > h1:not(:first-child) { margin-top: 30px;