diff --git a/assets/main.scss b/assets/main.scss index 40c4e4a..c39258a 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -150,6 +150,9 @@ button { @apply leading-none; &-selected { @apply size-10 rounded border-gray-300 shadow inline-block leading-none; + &__active { + @apply outline outline-2 outline-offset-2 outline-primary; + } } &-changer { @apply absolute w-80 z-10 bg-white flex gap-0; diff --git a/components/calcValues.vue b/components/calcValues.vue index 74bf27f..a271c4d 100644 --- a/components/calcValues.vue +++ b/components/calcValues.vue @@ -59,6 +59,10 @@ const increment = (field: keyof typeof form_state, value: number) => { form_state[field] = v } } + +const predefLamelleColors = ['#474B4E', '#705335', '#FDF4E3', '#2F4538'] +const predefPillarColors = ['#474B4E', '#6A5D4D', '#F4F4F4', '#2F4538'] + watch(form_state, changeParametres, { deep: true })