From 875caab173b1700bdd5c9e909df533019c3eca9e Mon Sep 17 00:00:00 2001 From: Markus Poerschke Date: Fri, 6 Jul 2018 04:55:25 +0200 Subject: [PATCH] improvement: prevent loading resources from third party CDN (via #4598) Remove usage of Google Fonts to avoid any data protection issue. Using a CDN will leak data to a third party that can be simply avoided by using system fonts instead. Furthermore the usage of CDNs can cause legal issues in EU countries. --- dev-helpers/index.html | 1 - dist/index.html | 1 - src/style/_type.scss | 6 +++--- test/e2e/helpers/index.html | 1 - 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dev-helpers/index.html b/dev-helpers/index.html index e5df4e0f..fc1327a2 100644 --- a/dev-helpers/index.html +++ b/dev-helpers/index.html @@ -5,7 +5,6 @@ Swagger UI - diff --git a/dist/index.html b/dist/index.html index ebebce1e..145b6e17 100644 --- a/dist/index.html +++ b/dist/index.html @@ -4,7 +4,6 @@ Swagger UI - diff --git a/src/style/_type.scss b/src/style/_type.scss index cf66896f..eed8829a 100644 --- a/src/style/_type.scss +++ b/src/style/_type.scss @@ -1,13 +1,13 @@ @mixin text_body($color: $text-body-default-font-color) { - font-family: 'Open Sans', sans-serif; + font-family: sans-serif; color: $color; } @mixin text_code($color: $text-code-default-font-color) { - font-family: 'Source Code Pro', monospace; + font-family: monospace; font-weight: 600; color: $color; @@ -15,7 +15,7 @@ @mixin text_headline($color: $text-headline-default-font-color) { - font-family: 'Titillium Web', sans-serif; + font-family: sans-serif; color: $color; } diff --git a/test/e2e/helpers/index.html b/test/e2e/helpers/index.html index 7ecfdfab..13107e21 100644 --- a/test/e2e/helpers/index.html +++ b/test/e2e/helpers/index.html @@ -5,7 +5,6 @@ Swagger UI -