Skip to content

Commit

Permalink
Update Sass fonts to match Emotion (which fixes CI font issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Nov 2, 2023
1 parent ff2c50d commit 1e45fbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/global_styling/variables/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Families
$euiFontFamily: 'Inter UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !default;
$euiCodeFontFamily: 'Roboto Mono', Consolas, Menlo, Courier, monospace !default;
$euiFontFamily: 'Inter', BlinkMacSystemFont, Helvetica, Arial, sans-serif !default;
$euiCodeFontFamily: 'Roboto Mono', Menlo, Courier, monospace !default;

// Careful using ligatures. Code editors like ACE will often error because of width calculations
$euiFontFeatureSettings: 'calt' 1, 'kern' 1, 'liga' 1 !default;
Expand Down
4 changes: 4 additions & 0 deletions upcoming_changelogs/7332.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
- Plain text `EuiComboBox`es now behave more like a normal text field/input. Backspacing will no longer delete the entire value, and selected values can now be double clicked and copied.

**CSS-in-JS conversions**

- Updated `$euiFontFamily` and `$euiCodeFontFamily` to match Emotion fonts

0 comments on commit 1e45fbd

Please sign in to comment.