From 81b339daa9bbac5f0c228bd6ba0c08eb06da5779 Mon Sep 17 00:00:00 2001 From: "dave.snider@gmail.com" Date: Thu, 11 Jan 2018 09:49:35 -0800 Subject: [PATCH] K6 back to open sans font stack (#292) Makes the K6 EUI theme use Open Sans. The other themes remain unaffected. --- src-docs/src/index.html | 1 + src/global_styling/variables/_typography.scss | 4 ++-- src/themes/k6/k6_globals.scss | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src-docs/src/index.html b/src-docs/src/index.html index 2221e62eb46..fa82097e65f 100644 --- a/src-docs/src/index.html +++ b/src-docs/src/index.html @@ -4,6 +4,7 @@ +
diff --git a/src/global_styling/variables/_typography.scss b/src/global_styling/variables/_typography.scss index dfed3f0a741..45369f2e461 100644 --- a/src/global_styling/variables/_typography.scss +++ b/src/global_styling/variables/_typography.scss @@ -18,8 +18,8 @@ // Families -$euiFontFamily: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; -$euiCodeFontFamily: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; +$euiFontFamily: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; +$euiCodeFontFamily: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace !default; // Font sizes diff --git a/src/themes/k6/k6_globals.scss b/src/themes/k6/k6_globals.scss index 7f221a1a1dd..5b6b9df09d7 100644 --- a/src/themes/k6/k6_globals.scss +++ b/src/themes/k6/k6_globals.scss @@ -1,5 +1,8 @@ -$euiFontSize: 14px; +// Font families +$euiFontFamily: 'Open Sans', Helvetica, Arial, sans-serif; +// Font Sizes +$euiFontSize: 14px; $euiFontSizeXS: 12px; $euiFontSizeS: 14px; $euiFontSizeM: 16px;