refactor(ui): better color schemes and empty states

This commit is contained in:
liyasthomas
2021-07-26 21:39:39 +05:30
parent 5258db345e
commit e60e8545a1
17 changed files with 111 additions and 88 deletions

View File

@@ -34,11 +34,7 @@
<div
v-for="(param, index) in params$"
:key="`param-${index}`"
class="
divide-x divide-dashed divide-divider
border-b border-dashed border-divider
flex
"
class="divide-x divide-dividerLight border-b border-dividerLight flex"
:class="{ 'border-t': index == 0 }"
>
<input
@@ -121,6 +117,15 @@
/>
</div>
</div>
<div
v-if="params$.length === 0"
class="flex flex-col text-secondaryLight p-4 items-center justify-center"
>
<i class="opacity-75 pb-2 material-icons">post_add</i>
<span class="text-center">
{{ $t("parameters_empty") }}
</span>
</div>
</AppSection>
</template>