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; themesCount: number;
} }
export const ThemeActions = ({ onListUpdated, themesCount }: ThemeActionsProps) => { export const ThemeActions = ({
onListUpdated,
themesCount,
}: ThemeActionsProps) => {
const { t } = useTranslation("settings"); const { t } = useTranslation("settings");
const [addThemeModalVisible, setAddThemeModalVisible] = useState(false); const [addThemeModalVisible, setAddThemeModalVisible] = useState(false);

View file

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