[Refactor] Move to src-ui/views and src-ui/logics structure.

This commit is contained in:
Sakamoto Shiina
2025-11-05 11:49:48 +09:00
parent 62f7c6d534
commit db820375f1
339 changed files with 19 additions and 19 deletions

View File

@@ -0,0 +1,10 @@
import styles from "./ResetButton.module.scss";
import RedoSvg from "@images/redo.svg?react";
export const ResetButton = ({ onClickFunction }) => {
return (
<button className={styles.reset_button} onClick={onClickFunction}>
<RedoSvg className={styles.reset_svg}/>
</button>
);
};

View File

@@ -0,0 +1,24 @@
.reset_button {
width: fit-content;
background-color: var(--dark_875_color);
padding: 0.6rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: 0.4rem;
flex-shrink: 0;
&:hover {
background-color: var(--dark_825_color);
& .reset_svg {
color: var(--dark_200_color);
}
}
&:active {
background-color: var(--dark_925_color);
}
}
.reset_svg {
width: 1.4rem;
color: var(--dark_550_color);
}