refactor: reset default theme colors to empty strings

This commit is contained in:
Hachi-R 2025-01-31 23:30:59 -03:00
parent 15746a5598
commit e4631bba7b
2 changed files with 7 additions and 4 deletions

View File

@ -10,7 +10,10 @@ interface ThemeActionsProps {
themesCount: number;
}
export const ThemeActions = ({ onListUpdated, themesCount }: ThemeActionsProps) => {
export const ThemeActions = ({
onListUpdated,
themesCount,
}: ThemeActionsProps) => {
const { t } = useTranslation("settings");
const [addThemeModalVisible, setAddThemeModalVisible] = useState(false);

View File

@ -42,9 +42,9 @@ export const AddThemeModal = ({
author: userDetails?.id || undefined,
authorName: userDetails?.username || undefined,
colors: {
accent: "#c0c1c7",
background: "#1c1c1c",
surface: "#151515",
accent: "",
background: "",
surface: "",
},
code: "",
createdAt: new Date(),