feat: color the task color button when the task has a color set #2331

Merged
konrad merged 5 commits from feature/color-task-color-button into main 2022-09-15 12:46:13 +00:00
1 changed files with 5 additions and 6 deletions
Showing only changes of commit 6d9c4a7aa0 - Show all commits

View File

@ -6,12 +6,11 @@
</template>
<script lang="ts" setup>
defineProps({
color: {
type: String,
required: true,
},
})
import type { Color } from 'csstype'
defineProps< {
konrad marked this conversation as resolved Outdated

Picky: you could improve types here by using:

import type { Color } from "csstype"
Picky: you could improve types here by using: ``` import type { Color } from "csstype" ```

Nice one. Done.

Nice one. Done.
color: Color,
}>()
</script>
<style scoped>