diff --git a/package-lock.json b/package-lock.json index 913d1516..8abb8fca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2680,9 +2680,9 @@ } }, "@primer/primitives": { - "version": "0.0.0-4813158", - "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-4813158.tgz", - "integrity": "sha512-GTIs1uOeukZY0L+cjvDy4iVkcYHL7iSSvYN1FGm+O5UPP0Use7lI7F8Oca5O0kxxc/ASmRIR/Ls7XJlrkWtAjw==" + "version": "0.0.0-f150c92", + "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-f150c92.tgz", + "integrity": "sha512-2w5PIzNHg78JjGCPmPXTNfD6uw5lX+Lecm2JqIxSEN5OlZ1f5WE8FptoIcpG5ZGaQDdnJ1Pif1T/D4QcWMzjEQ==" }, "@reach/router": { "version": "1.3.3", diff --git a/package.json b/package.json index fb016345..b4e24e28 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ }, "dependencies": { "@primer/octicons": "^9.1.1", - "@primer/primitives": "0.0.0-4813158" + "@primer/primitives": "0.0.0-f150c92" }, "devDependencies": { "@octokit/rest": "^16.34.0", diff --git a/src/alerts/flash.scss b/src/alerts/flash.scss index a1798e65..49235e77 100644 --- a/src/alerts/flash.scss +++ b/src/alerts/flash.scss @@ -5,7 +5,6 @@ position: relative; // stylelint-disable-next-line primer/spacing padding: 20px $spacer-3; - color: var(--color-text-primary); border-style: $border-style; border-width: $border-width; border-radius: $border-radius; @@ -65,6 +64,7 @@ // .flash { + color: var(--color-alert-text); background-color: var(--color-alert-bg); border-color: var(--color-alert-border); @@ -75,6 +75,7 @@ } .flash-warn { + color: var(--color-alert-warn-text); background-color: var(--color-alert-warn-bg); border-color: var(--color-alert-warn-border); @@ -85,6 +86,7 @@ } .flash-error { + color: var(--color-alert-error-text); background-color: var(--color-alert-error-bg); border-color: var(--color-alert-error-border); @@ -95,6 +97,7 @@ } .flash-success { + color: var(--color-alert-success-text); background-color: var(--color-alert-success-bg); border-color: var(--color-alert-success-border);