Skip to content

Commit

Permalink
update css
Browse files Browse the repository at this point in the history
  • Loading branch information
karancoder committed Jun 14, 2024
1 parent 932a341 commit e8ff6a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/example/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable unused-imports/no-unused-imports */
import "bootstrap/dist/css/bootstrap.min.css";
import "@leapwallet/cosmos-social-login-capsule-provider-ui/styles.css";
import "../style/global.css";
import "@interchain-ui/react/styles";
import "@leapwallet/cosmos-social-login-capsule-provider-ui/styles.css";
import "@leapwallet/react-ui/styles.css";

import { Chain } from "@chain-registry/types";
import { Decimal } from "@cosmjs/math";
Expand Down Expand Up @@ -94,7 +93,7 @@ function MyApp({ Component, pageProps }: AppProps) {
chains={["cosmoshub", "secret"]}
assetLists={[]}
wallets={[
// ...wallets,
...wallets,
...keplrWallets,
...leapWallets,
// ...owalletWallets,
Expand Down
6 changes: 4 additions & 2 deletions packages/example/style/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
@tailwind utilities;

@layer base {
:root {
:root,
:root .leap-ui {
--background: 0 0% 100%;
--foreground: 222.2 47.4% 11.2%;

Expand Down Expand Up @@ -36,7 +37,8 @@
--radius: 0.5rem;
}

.dark {
.dark,
.leap-ui.dark {
--background: 224 71% 4%;
--foreground: 213 31% 91%;

Expand Down

0 comments on commit e8ff6a7

Please sign in to comment.