Skip to content

Commit

Permalink
fix: Reasoning modals description font weight and color
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristina2103 committed Jun 21, 2024
1 parent e737ca0 commit d58ff23
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Typography,
} from "@atoms";
import { useForm } from "react-hook-form";
import { IMAGES } from "@consts";
import { customPalette, IMAGES } from "@consts";
import { useTranslations } from "next-intl";
import { ControlledField } from "@organisms";
import { useModal } from "@context";
Expand Down Expand Up @@ -54,7 +54,11 @@ export const AddReasoningModal = () => {
<ModalHeader>{t("addReasoning.headline")}</ModalHeader>
<form onSubmit={handleSubmit(onSubmit)}>
<ModalContents>
<Typography variant="body1" fontWeight={500}>
<Typography
variant="body2"
fontWeight={400}
color={customPalette.textGray}
>
{t("addReasoning.description")}
</Typography>
<ControlledField.Input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
ModalActions,
Typography,
} from "@atoms";
import { IMAGES } from "@consts";
import { customPalette, IMAGES } from "@consts";
import { useTranslations } from "next-intl";
import { useModal } from "@context";
import { useSnackbar } from "@/context/snackbar";
Expand Down Expand Up @@ -36,7 +36,11 @@ export const ReasoningLinkModal = () => {
<ModalHeader>{t("reasoningLink.headline")}</ModalHeader>
<form onSubmit={onSubmit}>
<ModalContents>
<Typography variant="body1" fontWeight={500}>
<Typography
color={customPalette.textGray}
variant="body2"
fontWeight={400}
>
{t("reasoningLink.description")}
</Typography>

Expand Down

0 comments on commit d58ff23

Please sign in to comment.