Update background color
This commit is contained in:
parent
6a49b69a02
commit
6eb3eb885c
@ -5,17 +5,18 @@ import { useRouter } from "next/router";
|
|||||||
import React, { useEffect, useMemo } from "react";
|
import React, { useEffect, useMemo } from "react";
|
||||||
import { DefaultTheme, ThemeProvider } from "styled-components";
|
import { DefaultTheme, ThemeProvider } from "styled-components";
|
||||||
import ErrorBoundary from "../components/error-boundary";
|
import ErrorBoundary from "../components/error-boundary";
|
||||||
|
import color from "../styles/color";
|
||||||
|
|
||||||
import { GlobalStyle } from "../styles/global";
|
import { GlobalStyle } from "../styles/global";
|
||||||
|
|
||||||
const homePageTheme: DefaultTheme = {
|
const homePageTheme: DefaultTheme = {
|
||||||
bgColor: "rgba(18, 18, 18, 1)",
|
bgColor: color.black,
|
||||||
bgGridColor: "rgba(51, 51, 51, 1)",
|
bgGridColor: color.grey["600"],
|
||||||
};
|
};
|
||||||
|
|
||||||
const defaultPageTheme: DefaultTheme = {
|
const defaultPageTheme: DefaultTheme = {
|
||||||
bgColor: "rgba(18, 18, 18, 0.8)",
|
bgColor: "#0B0B0B",
|
||||||
bgGridColor: "rgba(51, 51, 51, 0.3)",
|
bgGridColor: color.grey["900"],
|
||||||
};
|
};
|
||||||
|
|
||||||
if (process.env.NEXT_PUBLIC_AMPLITUDE_API_KEY !== undefined) {
|
if (process.env.NEXT_PUBLIC_AMPLITUDE_API_KEY !== undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user