From aa357811bfca2bbc84982a79502608be7a8553ec Mon Sep 17 00:00:00 2001 From: Sinji Date: Wed, 11 Oct 2023 17:44:29 +0900 Subject: [PATCH] Chore: Change the design in the box #103 --- src/components/common/SelectType.js | 48 +++++++++++++++++++++-------- src/styles/color.js | 1 + 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/src/components/common/SelectType.js b/src/components/common/SelectType.js index 2be01777..14ec0551 100644 --- a/src/components/common/SelectType.js +++ b/src/components/common/SelectType.js @@ -11,21 +11,37 @@ export const SelectType= () =>{ - + Create New Open-Source Repository + + Provides step-by-step help to create + Open-Source Repository from scratch + + + Recommended for people who are new to + creating Open Source repositories + navigate("/step1")}> Choose - + Check existing Open-Source Repository + + Checks that the existing repository + is running well as Open-Source + + + Recommended for those who already run + an open source repository + navigate("/step1")}> Choose @@ -82,37 +98,45 @@ text-align: center; `; const CreateBtn = styled(Button)({ - width: "30%", + width: "100%", + minWidth: "20rem", height: "30%", + minHeight: "5rem", + borderRadius: "1rem", backgroundColor: `${COLOR.MAIN_PURPLE}`, "&:hover": { backgroundColor: `${COLOR.MAIN_PURPLE}`, }, + fontSize: "1.5rem", }); const CheckBtn = styled(Button)({ - width: "30%", + width: "100%", + minWidth: "20rem", height: "30%", - backgroundColor: "black", + minHeight: "5rem", + backgroundColor: "white", + borderRadius: "1rem", "&:hover": { - backgroundColor: "black", + backgroundColor: "white", }, + color: "black", + fontSize: "1.5rem", }); export const Title = styled.h1` - font-size: 2.5rem; + font-size: 3rem; font-family: "Inter", sans-serif; font-weight: 700; `; export const SubTitle = styled.h3` - font-size: 3rem; - padding-bottom: 2rem; + font-size: 2rem; font-weight: 00; `; -export const Explanation = styled.h6` - font-size: 3rem; - padding-bottom: 2rem; +export const Explanation = styled.h4` + font-size: 1.3rem; font-weight: 00; + color: ${COLOR.FONT_GRAY} `; diff --git a/src/styles/color.js b/src/styles/color.js index 23b258cd..24cf6062 100644 --- a/src/styles/color.js +++ b/src/styles/color.js @@ -10,4 +10,5 @@ export const COLOR = { MAIN_BORDER: "#C4C4CD", BORDER_GRAY: "#9696A3", MAIN_PURPLE: "#3E1B6C", + FONT_GRAY: "#9A9A9A", };