1
1
mirror of https://github.com/primer/css.git synced 2024-12-14 23:12:03 +03:00

Use $font-weight-semibold; variable

This commit is contained in:
simurai 2020-02-28 15:28:08 +09:00
parent 0b8beb76e3
commit 9a1e32adc0
7 changed files with 7 additions and 14 deletions

View File

@ -7,8 +7,7 @@
// stylelint-disable-next-line primer/spacing // stylelint-disable-next-line primer/spacing
padding: 6px $spacer-3; padding: 6px $spacer-3;
font-size: $body-font-size; font-size: $body-font-size;
// stylelint-disable-next-line primer/typography font-weight: $font-weight-semibold;
font-weight: 500;
// stylelint-disable-next-line primer/typography // stylelint-disable-next-line primer/typography
line-height: 20px; // Specifically not inherit our `<body>` default line-height: 20px; // Specifically not inherit our `<body>` default
white-space: nowrap; white-space: nowrap;

View File

@ -5,8 +5,7 @@
// stylelint-disable-next-line primer/spacing // stylelint-disable-next-line primer/spacing
padding: 2px 6px; padding: 2px 6px;
font-size: $font-size-small; font-size: $font-size-small;
// stylelint-disable-next-line primer/typography font-weight: $font-weight-semibold;
font-weight: 500;
// stylelint-disable-next-line primer/typography // stylelint-disable-next-line primer/typography
line-height: 16px; line-height: 16px;
color: $text-gray-dark; color: $text-gray-dark;

View File

@ -5,8 +5,7 @@
// stylelint-disable-next-line primer/spacing // stylelint-disable-next-line primer/spacing
padding: 2px $spacer-2; padding: 2px $spacer-2;
font-size: $font-size-small; font-size: $font-size-small;
// stylelint-disable-next-line primer/typography font-weight: $font-weight-semibold;
font-weight: 500;
// stylelint-disable-next-line primer/typography // stylelint-disable-next-line primer/typography
line-height: 16px; line-height: 16px;
// stylelint-disable-next-line primer/borders // stylelint-disable-next-line primer/borders

View File

@ -18,8 +18,7 @@
// stylelint-disable-next-line primer/spacing // stylelint-disable-next-line primer/spacing
padding: 3px 12px; padding: 3px 12px;
font-size: $font-size-small; font-size: $font-size-small;
// stylelint-disable-next-line primer/typography font-weight: $font-weight-semibold;
font-weight: 500;
// stylelint-disable-next-line primer/typography // stylelint-disable-next-line primer/typography
line-height: 16px; line-height: 16px;
background-color: transparent !important; // TODO: Remove again background-color: transparent !important; // TODO: Remove again

View File

@ -10,8 +10,7 @@
.State { .State {
display: inline-block; display: inline-block;
padding: $spacer-2 12px; padding: $spacer-2 12px;
// stylelint-disable-next-line primer/typography font-weight: $font-weight-semibold;
font-weight: 500;
// stylelint-disable-next-line primer/typography // stylelint-disable-next-line primer/typography
line-height: 16px; line-height: 16px;
color: $text-white; color: $text-white;

View File

@ -101,8 +101,7 @@
padding: $spacer-1 $spacer-3; padding: $spacer-1 $spacer-3;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
// stylelint-disable-next-line primer/typography font-weight: $font-weight-semibold;
font-weight: 500;
// stylelint-disable-next-line primer/typography // stylelint-disable-next-line primer/typography
line-height: 23px; line-height: 23px;
color: $text-black; color: $text-black;

View File

@ -22,8 +22,7 @@
float: left; float: left;
// stylelint-disable-next-line primer/spacing // stylelint-disable-next-line primer/spacing
padding: 6px $spacer-3; padding: 6px $spacer-3;
// stylelint-disable-next-line primer/typography font-weight: $font-weight-semibold;
font-weight: 500;
// stylelint-disable-next-line primer/typography // stylelint-disable-next-line primer/typography
line-height: 20px; line-height: 20px;
color: $text-gray-dark; color: $text-gray-dark;