Made effect edit compatible with dark mode

This commit is contained in:
Stefan Zermatten
2019-02-15 12:21:02 +02:00
parent 09b2c38b43
commit 23654cd09c

View File

@@ -12,14 +12,14 @@
@input="operation => $emit('change', {operation})"
>
<v-icon
class="black--text icon"
class="icon"
slot="prepend"
:class="iconClass"
>
{{displayedIcon}}
</v-icon>
<template slot="item" slot-scope="item">
<v-icon class="black--text icon mr-2">
<v-icon class="icon mr-2">
{{getEffectIcon(item.item.value, 1)}}
</v-icon>
{{item.item.text}}
@@ -130,6 +130,9 @@
</script>
<style lang="css" scoped>
.theme--light .icon {
color: black;
}
.icon {
min-width: 30px;
transition: transform 0.15s linear, opacity 0.15s ease;