Skip to content

Commit ab83bfe

Browse files
authored
UI: Highlight color in dark theme (#3229)
UI: Highlight color Resolves #3206
1 parent d345983 commit ab83bfe

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

toolkit/theme/foundations/semanticTokens.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ const semanticTokens: ThemingConfig['semanticTokens'] = {
3232
scrollbar: {
3333
thumb: { value: { _light: '{colors.blackAlpha.300}', _dark: '{colors.whiteAlpha.300}' } },
3434
},
35+
selection: {
36+
bg: { value: { _light: '#E3CFE7', _dark: '#754B7D' } },
37+
},
3538
},
3639

3740
// FOUNDATIONS

toolkit/theme/globalCss.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ const globalCss: SystemConfig['globalCss'] = {
2929
bg: 'global.mark.bg',
3030
color: 'inherit',
3131
},
32+
'::selection': {
33+
bg: 'global.selection.bg',
34+
},
3235
'svg *::selection': {
3336
color: 'none',
3437
background: 'none',

0 commit comments

Comments
 (0)