Commit 4f1fffb9 by Torkel Ödegaard Committed by GitHub

FontSize: Change base font size to 14px (#21104)

parent 842dde3d
......@@ -19,7 +19,6 @@ export interface GrafanaThemeCommons {
monospace: string;
};
size: {
root: string;
base: string;
xs: string;
sm: string;
......
......@@ -99,7 +99,6 @@ $height-lg: ${theme.height.lg};
$font-family-sans-serif: ${theme.typography.fontFamily.sansSerif};
$font-family-monospace: ${theme.typography.fontFamily.monospace};
$font-size-root: ${theme.typography.size.root} !default;
$font-size-base: ${theme.typography.size.base} !default;
$font-size-lg: ${theme.typography.size.lg} !default;
......
......@@ -31,8 +31,7 @@ const theme: GrafanaThemeCommons = {
monospace: "Menlo, Monaco, Consolas, 'Courier New', monospace",
},
size: {
root: '14px',
base: '13px',
base: '14px',
xs: '10px',
sm: '12px',
md: '14px',
......
......@@ -102,8 +102,7 @@ $height-lg: 48px;
$font-family-sans-serif: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
$font-family-monospace: Menlo, Monaco, Consolas, 'Courier New', monospace;
$font-size-root: 14px !default;
$font-size-base: 13px !default;
$font-size-base: 14px !default;
$font-size-lg: 18px !default;
$font-size-md: 14px !default;
......
......@@ -55,7 +55,7 @@ html {
html {
// Sets a specific default `font-size` for user with `rem` type scales.
font-size: $font-size-root;
font-size: $font-size-base;
// As a side-effect of setting the @viewport above,
// IE11 & Edge make the scrollbar overlap the content and automatically hide itself when not in use.
// Unfortunately, the auto-showing of the scrollbar is sometimes too sensitive,
......@@ -69,7 +69,6 @@ html {
}
body {
// Make the `body` use the `font-size-root`
font-family: $font-family-sans-serif;
font-size: $font-size-base;
line-height: $line-height-base;
......
......@@ -110,7 +110,7 @@
}
.confirm-modal-text2 {
font-size: $font-size-root;
font-size: $font-size-base;
padding-top: $spacer;
}
......
.slate-query-field {
font-size: $font-size-root;
font-size: $font-size-base;
font-family: $font-family-monospace;
height: auto;
word-break: break-word;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment