Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

テーマ管理を適切に #187

Closed
ttizze opened this issue Aug 17, 2024 · 1 comment
Closed

テーマ管理を適切に #187

ttizze opened this issue Aug 17, 2024 · 1 comment

Comments

@ttizze
Copy link
Owner

ttizze commented Aug 17, 2024

タイトルロゴをちゃんとする

@ttizze
Copy link
Owner Author

ttizze commented Aug 17, 2024

const { resolvedTheme } = useTheme(); src={/title-logo-${resolvedTheme || "light"}.png}

これだとenterで遷移するとならない
以下みたいなの使うとなるけどテーマに応じて画像変えるためだけにこれするの複雑すぎる気がする

	const [mounted, setMounted] = useState(false);

	useEffect(() => {
		setMounted(true);
	}, []);

そもそもどのテーマでも見える色にすればいいのでは

@ttizze ttizze added this to eveeve Aug 22, 2024
@ttizze ttizze moved this to Backlog in eveeve Aug 22, 2024
@ttizze ttizze closed this as completed Aug 29, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in eveeve Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant