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
|
// 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;
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user