diff --git a/src/components/form/form_label/_form_label.scss b/src/components/form/form_label/_form_label.scss index aa9cea522d0..da76437271f 100644 --- a/src/components/form/form_label/_form_label.scss +++ b/src/components/form/form_label/_form_label.scss @@ -5,7 +5,7 @@ font-size: $euiFontSizeXS; margin-bottom: $euiSizeS; transition: all $euiAnimSpeedFast $euiAnimSlightResistance; - font-weight: $euiFontWeightMedium; + font-weight: $euiFontWeightSemiBold; &.euiFormLabel-isInvalid { color: $euiColorDanger; /* 1 */ diff --git a/src/global_styling/reset/_reset.scss b/src/global_styling/reset/_reset.scss index 7199d8713e8..c08fbb1e313 100644 --- a/src/global_styling/reset/_reset.scss +++ b/src/global_styling/reset/_reset.scss @@ -10,12 +10,6 @@ box-sizing: border-box; } -/** - * 1. Inheriting the font will allow some browser defaults to take effect, e.g. Chrome applies - * `font: 11px system-ui` to the button element. We can't hardcode the font-family here because - * that will disrupt components which rely upon a different inherited font-family, e.g. code - * blocks. - */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -32,13 +26,15 @@ time, mark, audio, video { margin: 0; padding: 0; border: none; - font: inherit; /* 1 */ - font-family: inherit; /* 1 */ vertical-align: baseline; } +code, pre { + font-family: $euiCodeFontFamily; +} + input, textarea, select, button { - font-family: inherit; /* 1 */ + font-family: $euiFontFamily; } em {