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

Needs dark-mode option (or clearer CSS classes for overrides) - see workaround #109

Open
jasonhargrove opened this issue Oct 27, 2021 · 0 comments

Comments

@jasonhargrove
Copy link
Contributor

jasonhargrove commented Oct 27, 2021

We adopted Goki and love it, thank you! A @mithraiclabs (PsyOptions) user (Jerry) requested a dark mode to match our dark-default apps, and we had a few +1s from the team.

Would be great to have official support for this. Will consider opening a PR in the next week (we have a couple things on the wish list).

In the meantime, quick workaround in SCSS:

[data-reach-dialog-overlay] {
  z-index: 999999;
  .goki-walletkit-modal-wrapper {
    background: black;
    border: 2px solid cyan;
    span, p, h2, div {
      color: white;
    }
    h2 ~ div svg {
      fill: white;
    }
    h2 ~ div div,
    div:nth-of-type(2) div div,
    svg + div {
      background: black;
    }
    button {
      border: 1px solid $cyan;
    }
    a {
      color: $cyan;
    }
  }
}
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