Skip to content

Commit 0be7976

Browse files
authored
Merge pull request #194 from primer/search-keyword-hl
Un-deprecate `search-keyword-hl`
2 parents 7385d86 + 5280f5c commit 0be7976

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.changeset/small-buttons-peel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/primitives": patch
3+
---
4+
5+
Un-deprecate `search-keyword-hl`

data/colors_v2/vars/deprecated.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,6 @@ export default {
309309
text: get('fg.onEmphasis'),
310310
bg: get('neutral.emphasisPlus')
311311
},
312-
searchKeyword: {
313-
hl: get('attention.subtle')
314-
},
315312
filesExplorerIcon: get('accent.fg'),
316313
hlAuthorBg: get('accent.subtle'),
317314
hlAuthorBorder: get('accent.muted'),

data/colors_v2/vars/product_dark.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default {
2323
},
2424
selectedLineHighlightMixBlendMode: 'screen'
2525
},
26+
searchKeywordHl: alpha(get('scale.yellow.3'), 0.4),
2627
prettylights: {
2728
syntax: {
2829
comment: get('scale.gray.3'),

data/colors_v2/vars/product_light.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default {
2323
},
2424
selectedLineHighlightMixBlendMode: 'multiply'
2525
},
26+
searchKeywordHl: get('scale.yellow.0'),
2627
prettylights: {
2728
syntax: {
2829
comment: get('scale.gray.5'),

0 commit comments

Comments
 (0)