mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-20 20:46:15 +08:00
Add light and dark theme option to commandline-lists
This commit is contained in:
parent
2ce37ce132
commit
74e26c7aa1
1 changed files with 14 additions and 0 deletions
|
@ -384,6 +384,20 @@ let commandsRandomTheme = {
|
|||
UpdateConfig.setRandomTheme("fav");
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "setRandomLight",
|
||||
display: "light",
|
||||
exec: () => {
|
||||
UpdateConfig.setRandomTheme("light");
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "setRandomDark",
|
||||
display: "dark",
|
||||
exec: () => {
|
||||
UpdateConfig.setRandomTheme("dark");
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue