UPD: Orange sonner text
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
<template>
|
<template :key="deviceStore.currentProfileName || 'no-profile'">
|
||||||
<div
|
<div class="overflow-hidden rounded-lg border border-zinc-800 bg-zinc-900/50">
|
||||||
:key="deviceStore.currentProfileName || 'no-profile'"
|
|
||||||
class="overflow-hidden rounded-lg border border-zinc-800 bg-zinc-900/50"
|
|
||||||
>
|
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
<span class="font-mono text-sm text-muted-foreground"
|
<span class="font-mono text-sm text-muted-foreground"
|
||||||
>Value{{ valueIndex ? ` ${valueIndex}` : '' }}:</span
|
>Value{{ valueIndex ? ` ${valueIndex}` : '' }}:</span
|
||||||
@@ -172,10 +169,13 @@ const valueType = computed(() => {
|
|||||||
return null
|
return null
|
||||||
})
|
})
|
||||||
|
|
||||||
const keyState = ref(props.value.keyState || 0)
|
const keyState = computed({
|
||||||
|
get() {
|
||||||
watch(keyState, (newKeyState) => {
|
return props.value.keyState || 0
|
||||||
deviceStore.updateKnobValueParameter(props.valueIndex - 1, { keyState: newKeyState })
|
},
|
||||||
|
set(newKeyState) {
|
||||||
|
deviceStore.updateKnobValueParameter(props.valueIndex - 1, { keyState: newKeyState })
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const conditions = ref({
|
const conditions = ref({
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const props = defineProps<ToasterProps>()
|
|||||||
:toast-options="{
|
:toast-options="{
|
||||||
classes: {
|
classes: {
|
||||||
toast:
|
toast:
|
||||||
'group toast group-[.toaster]:bg-background font-heading group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',
|
'group toast group-[.toaster]:bg-background font-heading group-[.toaster]:text-orange-500 group-[.toaster]:border-border group-[.toaster]:shadow-lg',
|
||||||
description: 'group-[.toast]:text-muted-foreground font-mono',
|
description: 'group-[.toast]:text-muted-foreground font-mono',
|
||||||
actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',
|
actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',
|
||||||
cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground'
|
cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground'
|
||||||
|
|||||||
Reference in New Issue
Block a user