1
1
mirror of https://github.com/primer/css.git synced 2024-12-14 06:44:38 +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
padding: 6px $spacer-3;
font-size: $body-font-size;
// stylelint-disable-next-line primer/typography
font-weight: 500;
font-weight: $font-weight-semibold;
// stylelint-disable-next-line primer/typography
line-height: 20px; // Specifically not inherit our `<body>` default
white-space: nowrap;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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