Skip to content

Commit

Permalink
docs(OfflineOption): fix off/on switch colors
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Oct 14, 2024
1 parent b2a3863 commit 10b58cb
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@
: 'settings.offline.message'"
title="settings.offline.header"
>
<SettingsSwitch
v-model="store.availableOffline"
class="flex-0-0-auto ms-auto"
/>
<v-defaults-provider
:defaults="{
VIcon: { color: store.availableOffline ? 'primary' : 'disabled' }
}"
>
<SettingsSwitch
v-model="store.availableOffline"
class="flex-0-0-auto ms-auto"
/>
</v-defaults-provider>
</AppSettingsSettingsHeader>

<v-progress-linear
Expand Down

0 comments on commit 10b58cb

Please sign in to comment.