mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 19:44:57 +02:00
TSK-1323: Fix colors for list (#3069)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -14,11 +14,10 @@
|
||||
-->
|
||||
<script lang="ts">
|
||||
import core, { StatusCategory, WithLookup } from '@hcengineering/core'
|
||||
import { createQuery, getClient } from '@hcengineering/presentation'
|
||||
import { createQuery, getClient, statusStore } from '@hcengineering/presentation'
|
||||
import { IssueStatus } from '@hcengineering/tracker'
|
||||
import { getPlatformColor, IconSize } from '@hcengineering/ui'
|
||||
import { IconSize, getPlatformColor } from '@hcengineering/ui'
|
||||
import tracker from '../../plugin'
|
||||
import { statusStore } from '@hcengineering/presentation'
|
||||
import StatusIcon from '../icons/StatusIcon.svelte'
|
||||
|
||||
export let value: WithLookup<IssueStatus>
|
||||
@@ -78,5 +77,5 @@
|
||||
</script>
|
||||
|
||||
{#if icon !== undefined && color !== undefined && category !== undefined}
|
||||
<StatusIcon {category} {size} fill={color} {statusIcon} />
|
||||
<StatusIcon on:accent-color {category} {size} fill={color} {statusIcon} />
|
||||
{/if}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{#if value}
|
||||
<div class="flex-presenter cursor-default" style:color={'inherit'}>
|
||||
{#if !inline}
|
||||
<IssueStatusIcon {value} {size} />
|
||||
<IssueStatusIcon {value} {size} on:accent-color />
|
||||
{/if}
|
||||
<span
|
||||
class="overflow-label"
|
||||
|
||||
@@ -31,5 +31,6 @@
|
||||
{kind}
|
||||
{colorInherit}
|
||||
{accent}
|
||||
on:accent-color
|
||||
/>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user