diff --git a/.env.example b/.env.example index 1f29b5b..fcd8cfb 100644 --- a/.env.example +++ b/.env.example @@ -2,3 +2,4 @@ NEXT_PUBLIC_API_KEY= NEXT_PUBLIC_OP_MAINNET_URL= NEXT_PUBLIC_OP_SEPOLIA_URL= NEXT_PUBLIC_BASE_SEPOLIA_URL= +NEXT_PUBLIC_IS_BASE=false \ No newline at end of file diff --git a/tailwind/colors.ts b/tailwind/colors.ts index d55a2fd..2bdbf7d 100644 --- a/tailwind/colors.ts +++ b/tailwind/colors.ts @@ -1,8 +1,5 @@ -const baseOrigin = "base-sepolia.superproof.wtf" -// const baseOrigin = "localhost:3000" -const isBase = process.env.NEXT_PUBLIC_BASE_SEPOLIA_URL?.includes(baseOrigin) - +const isBase = process.env.NEXT_PUBLIC_IS_BASE === "true" const LightPrimaryColor = isBase ? "#0051ff" : "#b80018" const LightBorderColor = isBase ? "#0051ff" : "#ff5c6c" const DarkBorderColor = isBase ? "#0051ff" : "#ff0420" diff --git a/tailwind/index.ts b/tailwind/index.ts index 52ef037..a3f980d 100644 --- a/tailwind/index.ts +++ b/tailwind/index.ts @@ -2,7 +2,6 @@ import type { Config } from "tailwindcss"; import defaultTheme from "tailwindcss/defaultTheme"; import { baseColors, semanticColors } from "./colors"; -console.log(process.env.NEXT_PUBLIC_BASE_SEPOLIA_URL, 'process-env1') export default { content: [""],