Skip to content

Commit

Permalink
fix(dark.ts,-main.tsx): updated theme name
Browse files Browse the repository at this point in the history
  • Loading branch information
0xRowdy committed Apr 9, 2024
1 parent c43b4d0 commit d934bb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { HausThemeProvider } from "@daohaus/ui";
import { App } from "./App";

import "./App.css";
import { protocolGuildDarkTheme } from "./themes/dark";
import { dinDarkTheme } from "./themes/dark";

// import { Buffer } from "buffer";
// // This solves an issue when using WalletConnect and intercept Txs to create dao proposals
Expand All @@ -20,7 +20,7 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<React.StrictMode>
<HashRouter>
<QueryClientProvider client={queryClient}>
<HausThemeProvider defaultDark={protocolGuildDarkTheme}>
<HausThemeProvider defaultDark={dinDarkTheme}>
<App />
</HausThemeProvider>
</QueryClientProvider>
Expand Down
10 changes: 5 additions & 5 deletions src/themes/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
yellowDark,
} from "@radix-ui/colors";

export const pgPrimaryDarkBtn: ButtonTheme = {
export const dinPrimaryDarkBtn: ButtonTheme = {
solid: {
text: primaryDark.step1,
bg: primaryDark.step9,
Expand Down Expand Up @@ -63,7 +63,7 @@ export const pgPrimaryDarkBtn: ButtonTheme = {
},
};

export const pgSecondaryDarkBtn: ButtonTheme = {
export const dinSecondaryDarkBtn: ButtonTheme = {
solid: {
text: secondaryDark.step12,
bg: secondaryDark.step6,
Expand Down Expand Up @@ -96,7 +96,7 @@ export const pgSecondaryDarkBtn: ButtonTheme = {
},
};

export const protocolGuildDarkTheme: DefaultTheme = {
export const dinDarkTheme: DefaultTheme = {
themeName: "dark",
font,
transparent: "transparent",
Expand Down Expand Up @@ -135,8 +135,8 @@ export const protocolGuildDarkTheme: DefaultTheme = {
bg: neutralDark.step9,
},
button: {
primary: pgPrimaryDarkBtn,
secondary: pgSecondaryDarkBtn,
primary: dinPrimaryDarkBtn,
secondary: dinSecondaryDarkBtn,
success: successDarkBtn,
warning: warningDarkBtn,
danger: dangerDarkBtn,
Expand Down

0 comments on commit d934bb2

Please sign in to comment.