diff --git a/src/assets/icons/arrow-left-green.png b/src/assets/icons/arrow-left-green.png new file mode 100644 index 0000000..4d07993 Binary files /dev/null and b/src/assets/icons/arrow-left-green.png differ diff --git a/src/components/Textarea/index.scss b/src/components/Textarea/index.scss index cfe6820..5d4858b 100644 --- a/src/components/Textarea/index.scss +++ b/src/components/Textarea/index.scss @@ -1,55 +1,63 @@ -.custom-textarea{ +.custom-textarea { width: 100%; padding: 10px 12px; - color: white; border-radius: 10px; - border: 1px solid $gray2; - background-color: black; + margin-top: 10px; - &::placeholder{ + &-light { + border: 1px solid $green; + background-color: white; + color: $gray5; + } + &-dark { + border: 1px solid $gray2; + background-color: black; + color: white; + } + &::placeholder { color: #a2a2a2; } - &:focus{ + &:focus { border: 1px solid $green1; outline: none; - &::placeholder{ + &::placeholder { color: $green1; } } } -@media screen and (min-width: 1441px){ - .custom-textarea{ +@media screen and (min-width: 1441px) { + .custom-textarea { font-size: 16px; - &::placeholder{ + &::placeholder { font-size: 16px; } } } @media screen and (min-width: 1008px) and (max-width: 1440px) { - .custom-textarea{ + .custom-textarea { font-size: calc(100vw / 110); - &::placeholder{ + &::placeholder { font-size: calc(100vw / 110); } } } @media screen and (min-width: 641px) and (max-width: 1007px) { - .custom-textarea{ + .custom-textarea { font-size: calc(100vw / 40); - &::placeholder{ + &::placeholder { font-size: calc(100vw / 40); } } } @media screen and (max-width: 640px) { - .custom-textarea{ + .custom-textarea { font-size: calc(100vw / 30); - &::placeholder{ + &::placeholder { font-size: calc(100vw / 30); } } -} \ No newline at end of file +} diff --git a/src/components/Textarea/index.tsx b/src/components/Textarea/index.tsx index d6a1212..d208b4d 100644 --- a/src/components/Textarea/index.tsx +++ b/src/components/Textarea/index.tsx @@ -1,9 +1,21 @@ -import React from 'react'; +import React from "react"; +import _ from "lodash"; -export default function Textarea({placeholder} : any) { +export default function Textarea({ placeholder, theme }: any) { + const light = theme === "light"; return ( <> -