Skip to content

Commit 21c2d0b

Browse files
committed
style: change the players.selection color to increase contrast
1 parent 5eeedcf commit 21c2d0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function getTheme({ style, name }: { style: Style, name: string }): Record<strin
190190
"players": [
191191
{
192192
"cursor": primer.blue[6],
193-
"selection": alpha(primer.blue[2] as string, 0.2),
193+
"selection": pick({ light: alpha(primer.blue[3] as string, 0.2), dark: alpha(primer.blue[2] as string, 0.2) }),
194194
"background": primer.blue[6]
195195
},
196196
{

themes/github-classic.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"players": [
174174
{
175175
"cursor": "#005cc5",
176-
"selection": "#c8e1ff33",
176+
"selection": "#79b8ff33",
177177
"background": "#005cc5"
178178
},
179179
{

0 commit comments

Comments
 (0)