💫 Updating animations and transitions

This commit is contained in:
Liyas Thomas
2019-12-08 22:38:32 +05:30
parent d018ebda7e
commit cd8b4d0dd1
6 changed files with 24 additions and 13 deletions

View File

@@ -1,5 +1,10 @@
<template>
<div class="color" :data-color="color" :class="{ active: active }" v-tooltip="{ content: name || color }">
<div
class="color"
:data-color="color"
:class="{ active: active }"
v-tooltip="{ content: name || color }"
>
<span :style="{ backgroundColor: color }" class="preview">
<i v-if="active" class="material-icons activeTick">done</i>
</span>
@@ -15,6 +20,7 @@
border-radius: 100%;
border: 3px solid var(--bg-dark-color);
cursor: pointer;
transition: all 0.2s ease-in-out;
&.fg {
color: var(--act-color);