Skip to content

Commit

Permalink
Use the right background color in darkmode for the popular fields list
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-sammons committed Nov 9, 2023
1 parent 1e17a4d commit 0f6dcb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
Input,
Counter,
LoadingPlaceholder,
useTheme2
} from '@grafana/ui';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
Expand Down Expand Up @@ -247,11 +248,12 @@ const KalDBFieldsList = (fields: Field[], topTenMostPopularFields: Field[]) => {
return 'Unknown field';
};


return (
<div>
<div
style={{
backgroundColor: '#e6f1fa',
backgroundColor: useTheme2().isDark ? '#343741' : '#e6f1fa',
}}
>
<span
Expand Down

0 comments on commit 0f6dcb4

Please sign in to comment.