[Update] Config Page: MessageFormat: Add ui, message format.

This commit is contained in:
Sakamoto Shiina
2025-08-26 17:27:05 +09:00
parent e6bd0e32ed
commit 21e4714658
18 changed files with 784 additions and 46 deletions

View File

@@ -1,2 +1,3 @@
export { Checkbox } from "./checkbox/Checkbox";
export { HomepageLinkButton } from "./homepage_link_button/HomepageLinkButton";
export { HomepageLinkButton } from "./homepage_link_button/HomepageLinkButton";
export { ResetButton } from "./reset_button/ResetButton";

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);
}