{startDate}
@@ -22,10 +22,10 @@ export default Vertical;
Vertical.defaultProps = {
shape: 'square',
- titleColor: 'black',
+ historyTitleColor: 'black',
};
-const Wrap = styled.div
`
+const Wrap = styled.div`
width: 25em;
padding: 10px 2em 1.2em 2em;
margin: 1em auto;
@@ -47,6 +47,7 @@ const Wrap = styled.div`
.intro {
margin: 10px;
.date {
+ color: ${({ dateColor }) => dateColor ?? 'black'};
margin: 15px 0px 10px 0px;
font-size: 13px;
.start-date {
@@ -60,11 +61,14 @@ const Wrap = styled.div`
}
}
.child-title {
- color: ${({ titleColor }) => titleColor ?? 'black'};
+ color: ${({ historyTitleColor }) => historyTitleColor ?? 'black'};
font-size: 25px;
font-weight: 600;
padding: 7px;
border-bottom: 1px solid #b4b4b4a2;
}
+ .des {
+ color: ${({ descriptionColor }) => descriptionColor ?? 'black'};
+ }
}
`;
diff --git a/src/lib/components/VisitorComment/CommentInput.tsx b/src/lib/components/VisitorComment/CommentInput.tsx
index 18a07d2..f8f744b 100644
--- a/src/lib/components/VisitorComment/CommentInput.tsx
+++ b/src/lib/components/VisitorComment/CommentInput.tsx
@@ -21,6 +21,8 @@ const CommentInput = (props: VisitorCommentPropsType) => {
comment,
nickname,
password,
+ inputFontColor,
+ inputPlacehoderColor,
} = props;
const textareaRef = useRef(null);
@@ -33,7 +35,13 @@ const CommentInput = (props: VisitorCommentPropsType) => {
};
return (
-
+