1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Use --iconActiveBackground/--iconActiveColor for welcome banner indicator (#3712)

This commit is contained in:
chh 2021-09-01 17:11:14 +03:00 committed by GitHub
parent f58898467d
commit 27e0de96ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,16 @@ export class Welcome extends React.Component {
indicators={welcomeBanner.length > 1}
autoPlay={true}
navButtonsAlwaysInvisible={true}
indicatorIconButtonProps={{
style: {
color: "var(--iconActiveBackground)"
}
}}
activeIndicatorIconButtonProps={{
style: {
color: "var(--iconActiveColor)"
}
}}
>
{welcomeBanner.map((item, index) =>
<item.Banner key={index} />