Skip to content

Commit

Permalink
Fix: 피드백 반영 01
Browse files Browse the repository at this point in the history
  • Loading branch information
NacreousCloud committed Nov 9, 2023
1 parent 4859458 commit 0b94f0d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
1 change: 0 additions & 1 deletion pages/test/modals-test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ThumbnailSelectorProps } from "modalContent/ThumbnailSelector";
import Image from "next/image";
import { useState } from "react";
import { Button } from "signup";
import CommonButton from "@shared/components/CommonButton";
import useModal from "../../src/shared/hook/useModal";

Expand Down
2 changes: 2 additions & 0 deletions src/shared/components/CommonButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from "react";

interface CommonButtonProps
extends Partial<React.ButtonHTMLAttributes<HTMLButtonElement>> {
variant:
Expand Down
4 changes: 2 additions & 2 deletions src/shared/modal/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Alert = () => {
<ModalWrapper isHeaderCloseBtn={isHeaderCloseBtn} type="alert">
<div className="relative z-50 w-fit">
<span className="absolute top-[-60px] left-[calc(50%-25px)]">
<Image src={Pin} width={100} height={100} alt="pin" />
<Image src={Pin} width={100} height={100} alt="pin image" />
</span>
{isHeaderCloseBtn && (
<span className="absolute right-4 top-4">
Expand All @@ -37,7 +37,7 @@ const Alert = () => {
src={CloseButton}
width={24.72}
height={24.72}
alt="close-button"
alt="close button image"
/>
</span>
)}
Expand Down
13 changes: 6 additions & 7 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ module.exports = {
theme: {
extend: {
colors: {
"c-accept": "#00D179",
"c-accept-disabled": "#00D17975",
"c-warn": "#FACD49",
"c-warn-disabled": "#FACD4975",
"c-danger": "#FF2330",
"c-danger-disabled": "#FFA4A475",
"c-accept": "#00D179", // green. 확인용 색상
"c-accept-disabled": "#00D17975", // green-disabled
"c-warn": "#FACD49", // yellow. 경고용 색상
"c-warn-disabled": "#FACD4975", // yellow-disabled
"c-danger": "#FF2330", // red. 에러용 색상
"c-danger-disabled": "#FFA4A475", // red-disabled
"c-pink": "#F864A1",
"c-orange": "#F5A200",
"c-yellow": "#FACD49",
"c-purple": "#A564F8",
"c-gray": "#BABABA",
"c-black": "#222222",
Expand Down

0 comments on commit 0b94f0d

Please sign in to comment.