fix and format

This commit is contained in:
ryanchristo 2023-11-03 17:25:05 -07:00
parent f45a2bcd3b
commit 818f984f7b
18 changed files with 268 additions and 254 deletions

View file

@ -1,6 +1,6 @@
import * as React from 'react'
import * as React from "react";
import styles from './ThemeButton.module.css'
import styles from "./ThemeButton.module.css";
const ThemeButton = ({ darkTheme, toggleTheme }: any) => (
<button className={styles.button} onClick={toggleTheme}>
@ -10,10 +10,10 @@ const ThemeButton = ({ darkTheme, toggleTheme }: any) => (
width="1.5em"
viewBox="0 0 100 100"
>
<circle cx="50" cy="50" r="40" fill={darkTheme ? '#F5F5F5' : '#0A0A0A'} />
<circle cx="60" cy="50" r="35" fill={darkTheme ? '#111111' : '#FFFFFF'} />
<circle cx="50" cy="50" r="40" fill={darkTheme ? "#F5F5F5" : "#0A0A0A"} />
<circle cx="60" cy="50" r="35" fill={darkTheme ? "#111111" : "#FFFFFF"} />
</svg>
</button>
)
);
export default ThemeButton
export default ThemeButton;