From abc8965913313bbb969db9e1148fb5add9327ec9 Mon Sep 17 00:00:00 2001 From: Katie Langerman <18661030+langermank@users.noreply.github.com> Date: Tue, 13 Jun 2023 08:04:42 -0700 Subject: [PATCH] Add default `::selection` color (#2461) * add color * Create happy-brooms-lick.md --- .changeset/happy-brooms-lick.md | 5 +++++ src/base/base.scss | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/happy-brooms-lick.md diff --git a/.changeset/happy-brooms-lick.md b/.changeset/happy-brooms-lick.md new file mode 100644 index 00000000..e60aa518 --- /dev/null +++ b/.changeset/happy-brooms-lick.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Add default `::selection` color diff --git a/src/base/base.scss b/src/base/base.scss index c12269ed..6ee57b59 100644 --- a/src/base/base.scss +++ b/src/base/base.scss @@ -3,6 +3,10 @@ box-sizing: border-box; } +*::selection { + background-color: var(--color-accent-subtle); +} + input, select, textarea,