@@ -53,22 +53,22 @@ export interface ThemeTypographyInput {
53
53
htmlFontSize ?: number ;
54
54
}
55
55
56
- const defaultFontFamily = '"Source Sans Pro ", Nunito, Roboto, Arial ' ; //'"Roboto", "Helvetica", "Arial", sans-serif';
57
- const defaultFontFamilyMonospace = "'Nunito Mono', 'Roboto Mono' , monospace" ; // "'Roboto Mono', monospace";
56
+ const defaultFontFamily = '"Poppins ", Inter, Satoshi, sans-serif ' ; //'"Roboto", "Helvetica", "Arial", sans-serif';
57
+ const defaultFontFamilyMonospace = '"SatoshiLight", "FigtreeLight" , monospace' ; // "'Roboto Mono', monospace";
58
58
59
59
export function createTypography ( colors : ThemeColors , typographyInput : ThemeTypographyInput = { } ) : ThemeTypography {
60
60
const {
61
61
fontFamily = defaultFontFamily ,
62
62
fontFamilyMonospace = defaultFontFamilyMonospace ,
63
63
// The default font size of the Material Specification.
64
64
fontSize = 14 , // px
65
- fontWeightLight = 300 ,
66
- fontWeightRegular = 400 ,
67
- fontWeightMedium = 500 ,
65
+ fontWeightLight = 200 ,
66
+ fontWeightRegular = 300 ,
67
+ fontWeightMedium = 400 ,
68
68
fontWeightBold = 500 ,
69
69
// Tell Grafana-UI what's the font-size on the html element.
70
70
// 16px is the default font-size used by browsers.
71
- htmlFontSize = 14 ,
71
+ htmlFontSize = 16 ,
72
72
} = typographyInput ;
73
73
74
74
if ( process . env . NODE_ENV !== 'production' ) {
0 commit comments