Skip to content

Commit 4f96a96

Browse files
fix default highlighting
1 parent bdc767f commit 4f96a96

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/lib/community/BrandContext.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ function resolveBrandConfig(): ComputedBrandConfig {
113113
bgHue: DEFAULT_BLUE_HUE,
114114
brand: BLACKSKY_BRAND,
115115
colorScale: BLACKSKY_PRIMARY_SCALE,
116+
css: {
117+
...config.theme.css,
118+
selectionLight: '#D2FC51',
119+
selectionDark: '#464985',
120+
},
116121
},
117122
}
118123
}

src/lib/community/__tests__/BrandContext.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,7 @@ describe('BrandContext defaults', () => {
6666
primary_950: '#1E1E56',
6767
primary_975: '#13133B',
6868
})
69+
expect(DEFAULT_BRAND_CONFIG.theme.css.selectionLight).toBe('#D2FC51')
70+
expect(DEFAULT_BRAND_CONFIG.theme.css.selectionDark).toBe('#464985')
6971
})
7072
})

0 commit comments

Comments
 (0)