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:
parent
0b8beb76e3
commit
9a1e32adc0
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user