1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 20:53:06 +03:00

Remove background from .note (#1517)

* Remove background from .note

* Create khaki-lobsters-marry.md
This commit is contained in:
simurai 2021-07-29 10:35:41 +09:00 committed by GitHub
parent 476b666171
commit 7011d0469e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
Remove background from .note

View File

@ -191,6 +191,7 @@
&.successed {
.success {
color: var(--color-input-tooltip-success-text);
background-color: var(--color-bg-canvas); // Makes sure the background is opaque to cover any content underneath
background-image: linear-gradient(var(--color-input-tooltip-success-bg), var(--color-input-tooltip-success-bg));
border-color: var(--color-input-tooltip-success-border);
@ -206,6 +207,7 @@
.warning {
color: var(--color-input-tooltip-warning-text);
background-color: var(--color-bg-canvas); // Makes sure the background is opaque to cover any content underneath
background-image: linear-gradient(var(--color-input-tooltip-warning-bg), var(--color-input-tooltip-warning-bg));
border-color: var(--color-input-tooltip-warning-border);
@ -225,6 +227,7 @@
.error {
color: var(--color-input-tooltip-error-text);
background-color: var(--color-bg-canvas); // Makes sure the background is opaque to cover any content underneath
background-image: linear-gradient(var(--color-input-tooltip-error-bg), var(--color-input-tooltip-error-bg));
border-color: var(--color-input-tooltip-error-border);
@ -240,7 +243,6 @@
margin: $spacer-1 0 2px;
font-size: $font-size-small;
color: var(--color-text-secondary);
background-color: var(--color-bg-canvas); // Makes sure the background is opaque to cover any content underneath
.spinner {
// stylelint-disable-next-line primer/spacing