feat: 自定义主题

This commit is contained in:
streakingman
2022-09-24 23:29:35 +08:00
parent e287398572
commit e35ddfa44e
12 changed files with 885 additions and 82 deletions
+2 -1
View File
@@ -7,13 +7,14 @@ export interface Icon<T = string> {
tripleSound: T;
}
interface Sound<T = string> {
export interface Sound<T = string> {
name: T;
src: string;
}
type Operation = 'shift' | 'undo' | 'wash';
// TODO title name 冗余
export interface Theme<SoundNames> {
title: string;
desc?: ReactNode;