TSK-1431,-1440: Update AttachmentPresenter. Replace colors, minor fixes. (#3131)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2023-05-04 09:43:21 +07:00
committed by GitHub
parent 83fe8f897b
commit 987fe19c64
24 changed files with 188 additions and 164 deletions
@@ -66,7 +66,7 @@
id: s._id,
label: s.name,
icon: s._class === task.class.WonState ? Won : Lost,
color: s._class === task.class.WonState ? 'var(--won-color)' : 'var(--lost-color)'
color: s._class === task.class.WonState ? 'var(--theme-won-color)' : 'var(--theme-lost-color)'
}
})
itemsDS.unshift({ id: 'NoDoneState', labelIntl: task.string.NoDoneState })
@@ -16,7 +16,7 @@
<script lang="ts">
export let size: 'small' | 'medium' | 'large'
export let style: 'normal' | 'circle' = 'normal'
export let fill: string = 'var(--lost-color)'
export let fill: string = 'var(--theme-lost-color)'
</script>
<svg class="svg-{size}" {fill} viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
@@ -16,7 +16,7 @@
<script lang="ts">
export let size: 'small' | 'medium' | 'large'
export let style: 'normal' | 'circle' = 'normal'
export let fill: string = 'var(--won-color)'
export let fill: string = 'var(--theme-won-color)'
</script>
<svg class="svg-{size}" {fill} viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">