feat: 增加设置页面和支持自定义强调色

This commit is contained in:
qier222 2022-04-17 12:46:06 +08:00
parent 7e892997bd
commit bc696ca59f
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
14 changed files with 499 additions and 41 deletions

View file

@ -9,6 +9,7 @@ interface Store {
}
settings: {
showSidebar: boolean
accentColor: string
}
}
@ -19,6 +20,7 @@ const initialState: Store = {
},
settings: {
showSidebar: true,
accentColor: 'blue',
},
}