Skip to content

Commit

Permalink
Add default ::selection color (#2461)
Browse files Browse the repository at this point in the history
* add color

* Create happy-brooms-lick.md
  • Loading branch information
langermank committed Jun 13, 2023
1 parent 2788008 commit abc8965
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-brooms-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Add default `::selection` color
4 changes: 4 additions & 0 deletions src/base/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
box-sizing: border-box;
}

*::selection {
background-color: var(--color-accent-subtle);
}

input,
select,
textarea,
Expand Down

0 comments on commit abc8965

Please sign in to comment.