Skip to content

Commit 0992af7

Browse files
committed
add colours to create password page
1 parent 1aea34c commit 0992af7

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

frontend/src/components/pages/CreatePasswordPage.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const CreatePasswordPage = (): React.ReactElement => {
105105
<ResponsiveLogo />
106106
<ResponsiveAuthContainer>
107107
<Text
108-
color="#4A5568"
108+
color="gray.600"
109109
textStyle={{ base: "h2Mobile", md: "h2" }}
110110
mb="0"
111111
textAlign="center"
@@ -117,23 +117,23 @@ const CreatePasswordPage = (): React.ReactElement => {
117117
<Box>
118118
<FormLabel
119119
fontSize="14px"
120-
textColor="var(--gray-600, #4A5568)"
120+
textColor="gray.600"
121121
lineHeight="8px"
122122
>
123123
Email Address:
124124
</FormLabel>
125125
<Input
126-
textColor="var(--gray-400, #A0AEC0)"
126+
textColor="gray.400"
127127
fontSize="14px"
128128
height="2.4rem"
129129
placeholder={email}
130130
isDisabled
131-
bg="var(--gray-200, #E2E8F0)"
131+
bg="gray.200"
132132
/>
133133
</Box>
134134
<Box fontSize="12px">
135135
<FormLabel
136-
textColor="var(--gray-600, #4A5568)"
136+
textColor="gray.600"
137137
fontSize="14px"
138138
lineHeight="8px"
139139
>
@@ -148,7 +148,7 @@ const CreatePasswordPage = (): React.ReactElement => {
148148
</Box>
149149
<Box fontSize="12px">
150150
<FormLabel
151-
textColor="var(--gray-600, #4A5568)"
151+
textColor="gray.600"
152152
fontSize="14px"
153153
lineHeight="8px"
154154
>
@@ -170,7 +170,7 @@ const CreatePasswordPage = (): React.ReactElement => {
170170
color="white"
171171
h="2.4rem"
172172
width="100%"
173-
bg="var(--blue-700, #2C5282)"
173+
bg="blue.700"
174174
>
175175
Create Account
176176
</Button>
@@ -195,7 +195,7 @@ const CreatePasswordPage = (): React.ReactElement => {
195195
{showModal && (
196196
<ResponsiveModalWindow>
197197
<Text
198-
color="#2C5282"
198+
color="blue.700"
199199
textAlign="center"
200200
textStyle={{ base: "h2", md: "h1" }}
201201
>
@@ -208,8 +208,8 @@ const CreatePasswordPage = (): React.ReactElement => {
208208
Welcome to the Oakville & Milton Humane Society
209209
</Text>
210210
<Button
211-
color="var(--gray-100, #EDF2F7)"
212-
bg="var(--blue-700, #2C5282)"
211+
color="gray.100"
212+
bg="blue.700"
213213
height="3rem"
214214
padding="0rem 1.875rem"
215215
textStyle="button"

frontend/src/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import React from "react";
22
import { createRoot } from "react-dom/client";
33
import { ChakraProvider } from "@chakra-ui/react";
4-
import textStyles from "./theme/textStyles";
5-
4+
import theme from "./theme/theme";
65
import "./index.css";
76
import App from "./App";
87
import reportWebVitals from "./reportWebVitals";

0 commit comments

Comments
 (0)