design: X 버튼 색깔 변경

This commit is contained in:
정기영 2024-08-06 10:46:21 +09:00
parent 48863c4d11
commit 7459f999af
2 changed files with 8 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export default function QuizCard({ quiz, updateQuiz, deleteQuiz }) {
<div className={styles.header}>
<span className={styles.heading}>퀴즈 생성 카드</span>
<button
className={`${styles.button} ${styles.remove}`}
className={`${styles.button} ${styles.cardRemove}`}
onClick={() => deleteQuiz(quiz.id)}
>
X

View File

@ -102,3 +102,10 @@
color: var(--info-color);
stroke: var(--info-color);
}
.cardRemove {
border: 1px solid var(--background-secondary);
background-color: var(--background-secondary);
color: var(--text-color-secondary);
stroke: var(--text-color-secondary);
}