From ff1da80695d70e2103e422b5b1e768ce6643c40d Mon Sep 17 00:00:00 2001
From: Mishkin Berteig <mishkin.berteig@berteig.com>
Date: Sat, 25 Jul 2020 15:38:06 -0400
Subject: [PATCH] Docs Folder (#84)

* Initial documentation folder with instructions on adding fonts.

* fixed markdown syntax error

* Update adding_fonts.md

Added some links to the referred code lines and fixed some formatting.

Co-authored-by: mntmn <lukas@mnt.mn>
---
 docs/adding_fonts.md | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 docs/adding_fonts.md

diff --git a/docs/adding_fonts.md b/docs/adding_fonts.md
new file mode 100644
index 0000000..dbad889
--- /dev/null
+++ b/docs/adding_fonts.md
@@ -0,0 +1,6 @@
+To add fonts to Spacedeck Open, follow these steps:
+
+1. Find the googleapis link for the font and add it to [./styles/type.scss](https://github.com/spacedeck/spacedeck-open/blob/docs/styles/type.scss#L4) after the `Inter` font that is already there. Here is a good reference to using [Google Font API](https://www.webfx.com/blog/web-design/google-font-api-guide/).
+2. Add the name of the font to the file [./public/javascripts/spacedeck_sections.js](https://github.com/spacedeck/spacedeck-open/blob/docs/public/javascripts/spacedeck_sections.js#L150) in the `fonts` section found around line 150. The order of the list here is the order in which fonts will be displayed in the user interface.
+3. From the root of your install, do `gulp styles` to recompile the SCSS.
+4. Restart your server.
-- 
GitLab