Skip to content

Commit

Permalink
Remove background from .note (#1517)
Browse files Browse the repository at this point in the history
* Remove background from .note

* Create khaki-lobsters-marry.md
  • Loading branch information
simurai authored Jul 29, 2021
1 parent 476b666 commit 7011d04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/khaki-lobsters-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Remove background from .note
4 changes: 3 additions & 1 deletion src/forms/form-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);

Expand All @@ -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);

Expand All @@ -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
Expand Down

0 comments on commit 7011d04

Please sign in to comment.