From 47cf2b860be26c031bb3db1256eaebde3c8dd747 Mon Sep 17 00:00:00 2001 From: Malcolm Date: Sat, 1 Dec 2018 12:58:04 +0100 Subject: [PATCH] feat(breaking): remove google font import --- README.md | 9 ++++++++- index.html | 1 + scss/base/variables.scss | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76f8742..d40a66d 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,14 @@ TODO: npm での使用方法を書く NES.css only provides components. You will need to define your own layout. -The default font is Press Start 2P which only supports English characters. When you're using this framework with any language except English, please use another font. +The default font is [Press Start 2P](https://fonts.google.com/specimen/Press+Start+2P?selection.family=Press+Start+2P) which only supports English characters. When you're using this framework with any language except English, please use another font. Please follow the [instructions](https://developers.google.com/fonts/docs/getting_started) from Google Fonts about how to include them, or simply include it as below: + +```html + + + + +``` ### Recommended Fonts diff --git a/index.html b/index.html index 9759660..c56f610 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,7 @@ NES.css - NES-style CSS Framework + diff --git a/scss/base/variables.scss b/scss/base/variables.scss index 82ca31a..5e0db88 100644 --- a/scss/base/variables.scss +++ b/scss/base/variables.scss @@ -1,5 +1,4 @@ // Font -@import url("https://fonts.googleapis.com/css?family=Press+Start+2P"); $font-family: "Press Start 2P" !default; $font-size: 16px !default;