mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
20 lines
583 B
Vue
20 lines
583 B
Vue
<script setup lang="ts">
|
|
import PvSlider from "@/components/common/pv-slider.vue";
|
|
import { useSettingsStore } from "@/stores/settings/GeneralSettingsStore";
|
|
</script>
|
|
|
|
<template>
|
|
<v-card class="mb-3 rounded-12" color="surface">
|
|
<v-card-title class="pb-10px">LED Control</v-card-title>
|
|
<v-card-text>
|
|
<pv-slider
|
|
v-model="useSettingsStore().lighting.brightness"
|
|
label="Brightness"
|
|
:min="0"
|
|
:max="100"
|
|
@update:modelValue="(args) => useSettingsStore().changeLEDBrightness(args)"
|
|
/>
|
|
</v-card-text>
|
|
</v-card>
|
|
</template>
|