A web app for tabletop gaming to allow the game master to reveal areas of the game map to players, roll dice and take notes.
0
stars
1
forks
source link
Sweep: Add a Darkmode with Togglebutton to the ui usung typescript (✓ Sandbox Passed) #46
Open
sweep-ai[bot] opened 8 months ago
PR Feedback (click)
Description
This pull request adds a dark mode feature to the UI using TypeScript. It includes the following changes:
ThemeToggleButton
in thecomponents
directory.ThemeContext
in thecontext
directory.ThemeProvider
component in theApp
component.ThemeToggleButton
component.usePersistedState
in thehooks
directory.Summary
ThemeToggleButton.tsx
componentThemeContext.tsx
contextThemeProvider
inApp.tsx
ThemeToggleButton.tsx
usePersistedState.ts
hookFixes #27.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: