From f76e785807d9c9c64530201f858798e67668afe2 Mon Sep 17 00:00:00 2001 From: Jeremy Danyow Date: Thu, 15 Dec 2022 16:27:00 -0800 Subject: [PATCH] normalize: use --color-fg-default on mark (#2309) * normalize: use --color-fg-default on mark * Create chatty-squids-think.md Co-authored-by: simurai --- .changeset/chatty-squids-think.md | 5 +++++ src/base/normalize.scss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/chatty-squids-think.md diff --git a/.changeset/chatty-squids-think.md b/.changeset/chatty-squids-think.md new file mode 100644 index 0000000000..cb7b7b369e --- /dev/null +++ b/.changeset/chatty-squids-think.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Use `--color-fg-default` for `mark` diff --git a/src/base/normalize.scss b/src/base/normalize.scss index 193a138a3d..b754c5f4e7 100644 --- a/src/base/normalize.scss +++ b/src/base/normalize.scss @@ -153,7 +153,7 @@ h1 { mark { background-color: var(--color-attention-subtle); - color: var(--color-text-primary); + color: var(--color-fg-default); } /**