Djordje Mitrovic 3 лет назад
Родитель
Сommit
6901fa2ec0

+ 2
- 2
src/components/TextFields/TextField/TextField.styled.js Просмотреть файл

@@ -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;

+ 2
- 2
src/pages/RegisterPages/Register/SecondPart/SecondPartOfRegistration.styled.js Просмотреть файл

@@ -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;

+ 2
- 2
src/pages/RegisterPages/Register/ThirdPart/ThirdPartOfRegistration.styled.js Просмотреть файл

@@ -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;

Загрузка…
Отмена
Сохранить