Open sweep-ai[bot] opened 9 months ago
This is an automated message generated by Sweep AI.
I'm currently fixing this PR to address the following:
[Sweep GHA Fix] The GitHub Actions run failed with the following error logs: ``` ```
✨ Created Pull Request: https://github.com/TheMBeat/dungeon-revealer/pull/38
I'm currently fixing this PR to address the following:
[Sweep GHA Fix] The GitHub Actions run failed with the following error logs: ``` ```
[!CAUTION]
An error has occurred: Message is too long, max tokens is -31310 (tracking ID: 6020045465)
Description
This pull request includes the following changes:
server/index.ts
, added error handling for server startup and shutdown.src/chat-toggle-button.tsx
, added aThemeContext
and updated theChatToggleButton
component to toggle the theme.src/context/ThemeContext.tsx
, created aThemeProvider
component and aThemeContext
context.src/global-styles.tsx
, added auseGlobalStyles
hook that returns the global styles based on the theme.src/theme/dark-mode-theme.ts
, added a dark mode theme object.src/toolbar.tsx
, added aToggle
component to theToolbar
component.Summary
server/index.ts
.ThemeContext
and updated theChatToggleButton
component to toggle the theme insrc/chat-toggle-button.tsx
.ThemeProvider
component and aThemeContext
context insrc/context/ThemeContext.tsx
.useGlobalStyles
hook that returns the global styles based on the theme insrc/global-styles.tsx
.src/theme/dark-mode-theme.ts
.Toggle
component to theToolbar
component insrc/toolbar.tsx
.