mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Reduce command bar priority on theme items so they display at the bottom
This commit is contained in:
parent
f2f697089e
commit
02156c73be
1 changed files with 3 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import {
|
|||
KBarPositioner,
|
||||
KBarAnimator,
|
||||
KBarSearch,
|
||||
Priority,
|
||||
} from 'kbar'
|
||||
import { animatorStyle, KBarResultsComponents, searchStyle } from '../components/elements/KBar'
|
||||
import { darkenTheme, lightenTheme } from '../lib/themeUpdater'
|
||||
|
|
@ -43,6 +44,7 @@ const generateActions = (router: NextRouter) => {
|
|||
name: 'Change theme (light) ',
|
||||
shortcut: ['v', 'l'],
|
||||
keywords: 'light theme',
|
||||
priority: Priority.LOW,
|
||||
perform: () => lightenTheme(),
|
||||
},
|
||||
{
|
||||
|
|
@ -51,6 +53,7 @@ const generateActions = (router: NextRouter) => {
|
|||
name: 'Change theme (dark) ',
|
||||
shortcut: ['v', 'd'],
|
||||
keywords: 'dark theme',
|
||||
priority: Priority.LOW,
|
||||
perform: () => darkenTheme(),
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue