add glow animation to start menu

This commit is contained in:
Vikeo
2024-05-23 12:54:42 +02:00
parent 9bbe6cbb3b
commit c3e8326be2
4 changed files with 111 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ const SettingContainer = twc.div`w-full flex flex-col mb-2`;
const ToggleContainer = twc.div`flex flex-row justify-between items-center -mb-1`;
const Description = twc.p`mr-16 text-xs text-left text-text-secondary`;
const Description = twc.p`mr-16 text-xs text-left text-text-secondary mt-1`;
const baseGithubReleasesUrl =
'https://github.com/Vikeo/LifeTrinket/releases/tag/';
@@ -220,6 +220,27 @@ export const SettingsDialog = ({
Will enter fullscreen mode when starting a game if this is enabled.
</Description>
</SettingContainer>
<SettingContainer>
<ToggleContainer>
<label>Show animations</label>
<ToggleButton
checked={settings.showAnimations}
onChange={() => {
setSettings({
...settings,
showAnimations: !settings.showAnimations,
});
}}
/>
</ToggleContainer>
<Description>
Disables the following animation:
<ul className="pl-1 list-inside">
<li className="list-disc">Glow effect on start menu</li>
</ul>
</Description>
</SettingContainer>
<Separator height="1px" />
<div className="flex w-full justify-center">
<button