Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change accent color to gradient #173

Closed
timi-codes opened this issue Sep 5, 2019 · 1 comment
Closed

how to change accent color to gradient #173

timi-codes opened this issue Sep 5, 2019 · 1 comment

Comments

@timi-codes
Copy link

timi-codes commented Sep 5, 2019

I would like to know how to change the accent color to a gradient. I have tried set the accent color as const accentColor='linear-gradient(to right, #91CB3E, #02C39A)'

  <Tour
      onAfterOpen={disableBody}
      onBeforeClose={enableBody}
      // onRequestClose={() => }
      steps={tourConfig}
      isOpen
      className="helper"
      rounded={5}
      accentColor={accentColor}
    />
@timi-codes
Copy link
Author

Thanks for the update @elrumordelaluz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant