We need font sizes to be rendered at the same height across multiple platforms so dashboards viewed on different systems will always show all the intended data in a panel. This means we have to go back to a single font across all OS and platforms, unfortunately.
cc @elastic/kibana-design @elastic/kibana-sharing
To be particularly precise: things embedded in dashboards need to have the same font. Purely in a technical sense, the UI itself could rely on system fonts so long as the embedded objects are not. One potential benefit of this would be ensuring the overall UI rendering happens as fast as possible and things like custom fonts are loaded asynchronously at the time of rendering the first object on a dashboard, for example.
That said, we may want to rule that out strictly from an overall design perspective.
Talked this over with @elastic/kibana-design. We're gonna move back to a set font (likely Open Sans, but maybe Roboto) across the board. We'll get this done by 6.2 release (likely in master by monday). Do note though that as we convert dashboard over to EUI designs things like paddings and sizing will change and users will have to account for that. It's part of the tradeoff of this redesign gradually method we're using. Likely, each release will have small changes along the way that will require the user to resize dashboards slightly to account.
To @epixa's query though, we'd want font usage to be uniform across the product, so it isn't likely we'd use one font just in embeddables.
cc @Adrian-J @formgeist
OK. This should be back to normal.
Most helpful comment
Talked this over with @elastic/kibana-design. We're gonna move back to a set font (likely Open Sans, but maybe Roboto) across the board. We'll get this done by 6.2 release (likely in master by monday). Do note though that as we convert dashboard over to EUI designs things like paddings and sizing will change and users will have to account for that. It's part of the tradeoff of this redesign gradually method we're using. Likely, each release will have small changes along the way that will require the user to resize dashboards slightly to account.
To @epixa's query though, we'd want font usage to be uniform across the product, so it isn't likely we'd use one font just in embeddables.
cc @Adrian-J @formgeist