Skip to content

Commit

Permalink
More nits
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns authored and cee-chen committed Nov 14, 2023
1 parent 5c6b265 commit ae7326a
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 33 deletions.
26 changes: 13 additions & 13 deletions src-docs/src/views/theme/_json/eui_theme_dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@
"euiColorVis9_behindText": "#ff7e62",
"euiFontWeightLight": 300,
"euiFontWeightRegular": 400,
"euiFontWeightMedium": 500,
"euiFontWeightSemiBold": 600,
"euiFontWeightBold": 700,
"euiFontWeightMedium": 450,
"euiFontWeightSemiBold": 500,
"euiFontWeightBold": 600,
"euiCodeFontWeightRegular": 400,
"euiCodeFontWeightBold": 700,
"euiCodeFontWeightBold": 600,
"euiFormMaxWidth": "400px",
"euiFormControlHeight": "40px",
"euiFormControlCompressedHeight": "32px",
Expand Down Expand Up @@ -231,32 +231,32 @@
"xxxs": {
"font-size": "12px",
"line-height": "1.14286rem",
"font-weight": 700
"font-weight": 600
},
"xxs": {
"font-size": "14px",
"line-height": "1.71429rem",
"font-weight": 700
"font-weight": 600
},
"xs": {
"font-size": "16px",
"line-height": "1.71429rem",
"font-weight": 700
"font-weight": 600
},
"s": {
"font-size": "22px",
"font-size": "20px",
"line-height": "2.28571rem",
"font-weight": 700
"font-weight": 600
},
"m": {
"font-size": "27px",
"font-size": "24px",
"line-height": "2.28571rem",
"font-weight": 700
"font-weight": 600
},
"l": {
"font-size": "34px",
"font-size": "30px",
"line-height": "2.85714rem",
"font-weight": 700
"font-weight": 600
}
},
"euiZLevel0": 0,
Expand Down
26 changes: 13 additions & 13 deletions src-docs/src/views/theme/_json/eui_theme_light.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@
"euiColorVis9_behindText": "#ff7e62",
"euiFontWeightLight": 300,
"euiFontWeightRegular": 400,
"euiFontWeightMedium": 500,
"euiFontWeightSemiBold": 600,
"euiFontWeightBold": 700,
"euiFontWeightMedium": 450,
"euiFontWeightSemiBold": 500,
"euiFontWeightBold": 600,
"euiCodeFontWeightRegular": 400,
"euiCodeFontWeightBold": 700,
"euiCodeFontWeightBold": 600,
"euiFormMaxWidth": "400px",
"euiFormControlHeight": "40px",
"euiFormControlCompressedHeight": "32px",
Expand Down Expand Up @@ -231,32 +231,32 @@
"xxxs": {
"font-size": "12px",
"line-height": "1.14286rem",
"font-weight": 700
"font-weight": 600
},
"xxs": {
"font-size": "14px",
"line-height": "1.71429rem",
"font-weight": 700
"font-weight": 600
},
"xs": {
"font-size": "16px",
"line-height": "1.71429rem",
"font-weight": 700
"font-weight": 600
},
"s": {
"font-size": "22px",
"font-size": "20px",
"line-height": "2.28571rem",
"font-weight": 700
"font-weight": 600
},
"m": {
"font-size": "27px",
"font-size": "24px",
"line-height": "2.28571rem",
"font-weight": 700
"font-weight": 600
},
"l": {
"font-size": "34px",
"font-size": "30px",
"line-height": "2.85714rem",
"font-weight": 700
"font-weight": 600
}
},
"euiZLevel0": 0,
Expand Down
8 changes: 4 additions & 4 deletions src/global_styling/variables/_font_weight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// Font weights
$euiFontWeightLight: 300 !default;
$euiFontWeightRegular: 400 !default;
$euiFontWeightMedium: 500 !default;
$euiFontWeightSemiBold: 600 !default;
$euiFontWeightBold: 700 !default;
$euiFontWeightMedium: 450 !default;
$euiFontWeightSemiBold: 500 !default;
$euiFontWeightBold: 600 !default;
$euiCodeFontWeightRegular: 400 !default;
$euiCodeFontWeightBold: 700 !default;
$euiCodeFontWeightBold: 600 !default;
6 changes: 3 additions & 3 deletions src/global_styling/variables/typography.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ export type _EuiThemeFontWeights = {
light: CSSProperties['fontWeight'];
/** - Default value: 400 */
regular: CSSProperties['fontWeight'];
/** - Default value: 500 */
/** - Default value: 450 */
medium: CSSProperties['fontWeight'];
/** - Default value: 600 */
/** - Default value: 500 */
semiBold: CSSProperties['fontWeight'];
/** - Default value: 700 */
/** - Default value: 600 */
bold: CSSProperties['fontWeight'];
};

Expand Down

0 comments on commit ae7326a

Please sign in to comment.