feat: Add shortcut for dark mode (#3543)

* Create and move toggle into an action

* Add shortcut on help dialog
This commit is contained in:
Arun
2021-05-08 15:17:30 +05:30
committed by GitHub
parent 178ee04d82
commit 198800136e
7 changed files with 36 additions and 13 deletions

View File

@ -98,7 +98,8 @@ export type ActionName =
| "flipHorizontal"
| "flipVertical"
| "viewMode"
| "exportWithDarkMode";
| "exportWithDarkMode"
| "toggleTheme";
export interface Action {
name: ActionName;