Skip to content

Commit abc8965

Browse files
authored
Add default ::selection color (#2461)
* add color * Create happy-brooms-lick.md
1 parent 2788008 commit abc8965

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/happy-brooms-lick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Add default `::selection` color

src/base/base.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
box-sizing: border-box;
44
}
55

6+
*::selection {
7+
background-color: var(--color-accent-subtle);
8+
}
9+
610
input,
711
select,
812
textarea,

0 commit comments

Comments
 (0)