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
Showing only changes of commit 6d9c4a7aa0 - Show all commits

View File

@ -6,12 +6,11 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
defineProps({ import type { Color } from 'csstype'
color: {
type: String, 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.
required: true, color: Color,
}, }>()
})
</script> </script>
<style scoped> <style scoped>