Skip to content

Commit

Permalink
fix(frontend): remove dark theme (#2100)
Browse files Browse the repository at this point in the history
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
  • Loading branch information
Zewed committed Jan 27, 2024
1 parent 7a66af5 commit ce7d7b6
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 159 deletions.
21 changes: 0 additions & 21 deletions frontend/app/user/components/ThemeSelect/DarkModeToggle.tsx

This file was deleted.

46 changes: 0 additions & 46 deletions frontend/app/user/components/ThemeSelect/ThemeSelect.tsx

This file was deleted.

This file was deleted.

44 changes: 0 additions & 44 deletions frontend/app/user/components/ThemeSelect/hooks/useTheme.ts

This file was deleted.

3 changes: 0 additions & 3 deletions frontend/app/user/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { StripePricingOrManageButton, UserStatistics } from "./components";
import { ApiKeyConfig } from "./components/ApiKeyConfig";
import LanguageSelect from "./components/LanguageSelect/LanguageSelect";
import { LogoutModal } from "./components/LogoutCard/LogoutModal";
import ThemeSelect from "./components/ThemeSelect/ThemeSelect";

const UserPage = (): JSX.Element => {
const { session } = useSupabase();
Expand Down Expand Up @@ -58,8 +57,6 @@ const UserPage = (): JSX.Element => {

<CardBody>
<LanguageSelect />

<ThemeSelect />
</CardBody>
</Card>
<Card className="mb-5 shadow-sm hover:shadow-none">
Expand Down

0 comments on commit ce7d7b6

Please sign in to comment.