Skip to content

Commit

Permalink
fix theme colors labels
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Aug 5, 2024
1 parent f9896d4 commit 03a47e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/settings/settings-drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { SettingsIcon } from "lucide-react";
const ROWS_PER_PAGE_KEY = "rowsPerPage";
const DATE_FORMAT_KEY = "dateFormat";
const THEME_COLOR_KEY = "theme-color";
const THEME_COLORS = ["old", "slate", "blue", "nord"];
const THEME_COLORS = ["slate", "blue", "nord", "old"];

export default function Settings() {
const {
Expand Down
6 changes: 5 additions & 1 deletion src/components/settings/settings-sections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ export function ThemeChangeSection({
>
<Option value="default" label="Default" />
{themeColors.map((theme) => (
<Option key={theme} value={theme} label={theme} />
<Option
key={theme}
value={theme}
label={theme[0].toUpperCase() + theme.slice(1)}
/>
))}
</RadioGroup>
</div>
Expand Down

0 comments on commit 03a47e8

Please sign in to comment.