| @@ -1,6 +1,6 @@ | |||
| import { Box, TextField } from "@mui/material"; | |||
| import styled from "styled-components"; | |||
| import { PRIMARY_BACKGROUND_COLOR } from "../../../constants/stylesConstants"; | |||
| import selectedTheme from "../../../themes"; | |||
| export const TextFieldContainer = styled(Box)` | |||
| width: 100%; | |||
| @@ -11,7 +11,7 @@ export const TextFieldContainer = styled(Box)` | |||
| `; | |||
| export const TextFieldStyled = styled(TextField)` | |||
| background-color: ${PRIMARY_BACKGROUND_COLOR}; | |||
| background-color: ${selectedTheme.primaryBackgroundColor}; | |||
| width: ${(props) => props.width}; | |||
| font-style: ${(props) => (props.italic === true ? "italic" : "normal")}; | |||
| padding-left: 0; | |||
| @@ -1,6 +1,6 @@ | |||
| import { Typography } from "@mui/material"; | |||
| import styled from "styled-components"; | |||
| import { PRIMARY_GRAY_TEXT_COLOR } from "../../../../constants/stylesConstants"; | |||
| import selectedTheme from "../../../../themes"; | |||
| export const FormContainer = styled.form` | |||
| @@ -12,7 +12,7 @@ export const RegisterDescription = styled(Typography)` | |||
| font-weight: 400; | |||
| display: flex; | |||
| align-items: center; | |||
| color: ${PRIMARY_GRAY_TEXT_COLOR}; | |||
| color: ${selectedTheme.primaryDarkGrayText}; | |||
| font-size: 12px; | |||
| width: 100%; | |||
| text-align: left; | |||
| @@ -1,6 +1,6 @@ | |||
| import { Typography } from "@mui/material"; | |||
| import styled from "styled-components"; | |||
| import { PRIMARY_GRAY_TEXT_COLOR } from "../../../../constants/stylesConstants"; | |||
| import selectedTheme from "../../../../themes"; | |||
| export const FormContainer = styled.form` | |||
| width: 335px; | |||
| @@ -11,7 +11,7 @@ export const RegisterDescription = styled(Typography)` | |||
| font-weight: 400; | |||
| display: flex; | |||
| align-items: center; | |||
| color: ${PRIMARY_GRAY_TEXT_COLOR}; | |||
| color: ${selectedTheme.primaryDarkGrayText}; | |||
| font-size: 12px; | |||
| width: 100%; | |||
| text-align: left; | |||