Skip to content

Commit

Permalink
Add Preference
Browse files Browse the repository at this point in the history
  • Loading branch information
baku89 committed Jun 13, 2024
1 parent bbe07ed commit e2b23c9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/components/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,27 @@ Tq.actions.register([
project.$patch(result)
},
},
{
id: 'preferences',
icon: 'mdi:settings',
async perform() {
const result = await Tq.modal.prompt(
{
accentColor: Tq.theme.accentColor,
},
{
accentColor: {type: 'string', ui: 'color'},
},
{
title: 'Preferences',
}
)
if (!result) return
Tq.theme.accentColor = result.accentColor
},
},
],
},
{
Expand Down

0 comments on commit e2b23c9

Please sign in to comment.