diff --git a/packages/theme/styles/_colors.scss b/packages/theme/styles/_colors.scss
index 7baaacdeb6..c2a85ce9ac 100644
--- a/packages/theme/styles/_colors.scss
+++ b/packages/theme/styles/_colors.scss
@@ -78,7 +78,8 @@
--caret-color: #6e5ed2;
--warning-color: #f2994a;
--error-color: #eb5757;
- --done-color: #34DB80;
+ --lost-color: #eb5757;
+ --won-color: #34DB80;
--divider-color: #303236;
--menu-bg-select: #2d2f36;
@@ -229,7 +230,8 @@
--caret-color: #6e5ed2;
--warning-color: #f2994a; // Dark
--error-color: #eb5757; // Dark
- --done-color: #34DB80; // Dark
+ --lost-color: #eb5757; // Dark
+ --won-color: #34DB80; // Dark
--divider-color: #e0e0e0;
--menu-bg-select: #f0f3f9;
diff --git a/packages/ui/src/components/TabList.svelte b/packages/ui/src/components/TabList.svelte
index 2dc7fa1532..9903f00897 100644
--- a/packages/ui/src/components/TabList.svelte
+++ b/packages/ui/src/components/TabList.svelte
@@ -62,7 +62,9 @@
}}
>
{#if item.icon}
-
+
+
+
{:else if item.color}
{/if}
diff --git a/plugins/task-resources/src/components/StatusTableView.svelte b/plugins/task-resources/src/components/StatusTableView.svelte
index e4f69af4d9..c0a35923f4 100644
--- a/plugins/task-resources/src/components/StatusTableView.svelte
+++ b/plugins/task-resources/src/components/StatusTableView.svelte
@@ -22,6 +22,8 @@
import { TableBrowser } from '@anticrm/view-resources'
import task from '../plugin'
import StatesBar from './state/StatesBar.svelte'
+ import Won from './icons/Won.svelte'
+ import Lost from './icons/Lost.svelte'
export let _class: Ref>
export let space: Ref
@@ -61,7 +63,8 @@
return {
id: s._id,
label: s.title,
- color: s._class === task.class.WonState ? 'var(--done-color)' : 'var(--error-color)'
+ icon: s._class === task.class.WonState ? Won : Lost,
+ color: s._class === task.class.WonState ? 'var(--won-color)' : 'var(--lost-color)'
}
})
itemsDS.unshift({ id: 'NoDoneState', labelIntl: task.string.NoDoneState })
diff --git a/plugins/task-resources/src/components/icons/Lost.svelte b/plugins/task-resources/src/components/icons/Lost.svelte
index 91e4cd254b..8f1cdc7a67 100644
--- a/plugins/task-resources/src/components/icons/Lost.svelte
+++ b/plugins/task-resources/src/components/icons/Lost.svelte
@@ -15,11 +15,18 @@
-->
-