mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-16 21:35:10 +00:00
Update issue status colors (#2218)
Signed-off-by: Sergei Ogorelkov <sergei.ogorelkov@xored.com>
This commit is contained in:
parent
ca750eb123
commit
2838e952a1
@ -341,7 +341,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
label: tracker.string.CategoryBacklog,
|
label: tracker.string.CategoryBacklog,
|
||||||
icon: tracker.icon.CategoryBacklog,
|
icon: tracker.icon.CategoryBacklog,
|
||||||
color: 0,
|
color: 12,
|
||||||
defaultStatusName: 'Backlog',
|
defaultStatusName: 'Backlog',
|
||||||
order: 0
|
order: 0
|
||||||
},
|
},
|
||||||
@ -354,7 +354,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
label: tracker.string.CategoryUnstarted,
|
label: tracker.string.CategoryUnstarted,
|
||||||
icon: tracker.icon.CategoryUnstarted,
|
icon: tracker.icon.CategoryUnstarted,
|
||||||
color: 1,
|
color: 13,
|
||||||
defaultStatusName: 'Todo',
|
defaultStatusName: 'Todo',
|
||||||
order: 1
|
order: 1
|
||||||
},
|
},
|
||||||
@ -367,7 +367,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
label: tracker.string.CategoryStarted,
|
label: tracker.string.CategoryStarted,
|
||||||
icon: tracker.icon.CategoryStarted,
|
icon: tracker.icon.CategoryStarted,
|
||||||
color: 2,
|
color: 14,
|
||||||
defaultStatusName: 'In Progress',
|
defaultStatusName: 'In Progress',
|
||||||
order: 2
|
order: 2
|
||||||
},
|
},
|
||||||
@ -380,7 +380,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
label: tracker.string.CategoryCompleted,
|
label: tracker.string.CategoryCompleted,
|
||||||
icon: tracker.icon.CategoryCompleted,
|
icon: tracker.icon.CategoryCompleted,
|
||||||
color: 3,
|
color: 15,
|
||||||
defaultStatusName: 'Done',
|
defaultStatusName: 'Done',
|
||||||
order: 3
|
order: 3
|
||||||
},
|
},
|
||||||
@ -393,7 +393,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
label: tracker.string.CategoryCanceled,
|
label: tracker.string.CategoryCanceled,
|
||||||
icon: tracker.icon.CategoryCanceled,
|
icon: tracker.icon.CategoryCanceled,
|
||||||
color: 4,
|
color: 16,
|
||||||
defaultStatusName: 'Canceled',
|
defaultStatusName: 'Canceled',
|
||||||
order: 4
|
order: 4
|
||||||
},
|
},
|
||||||
|
@ -14,6 +14,12 @@ export const SeaBuckthornColor = '#F2994A' // orange (warning)
|
|||||||
export const FlamingoColor = '#EB5757' // red (error)
|
export const FlamingoColor = '#EB5757' // red (error)
|
||||||
export const LinkWaterColor = '#C9CBCD'
|
export const LinkWaterColor = '#C9CBCD'
|
||||||
|
|
||||||
|
export const SilverSandColor = '#BEC2C8'
|
||||||
|
export const PlatinumColor = '#E2E2E2'
|
||||||
|
export const CrayolaColor = '#F2C94C'
|
||||||
|
export const SlateBlueColor = '#5E6AD2'
|
||||||
|
export const CadetGreyColor = '#95A2B3'
|
||||||
|
|
||||||
const blackColors = Object.freeze([
|
const blackColors = Object.freeze([
|
||||||
FeijoaColor,
|
FeijoaColor,
|
||||||
DeYorkColor,
|
DeYorkColor,
|
||||||
@ -26,7 +32,12 @@ const blackColors = Object.freeze([
|
|||||||
EastSideColor,
|
EastSideColor,
|
||||||
MoodyBlueColor,
|
MoodyBlueColor,
|
||||||
ChetwodeBlueColor,
|
ChetwodeBlueColor,
|
||||||
SalmonColor
|
SalmonColor,
|
||||||
|
SilverSandColor,
|
||||||
|
PlatinumColor,
|
||||||
|
CrayolaColor,
|
||||||
|
SlateBlueColor,
|
||||||
|
CadetGreyColor
|
||||||
])
|
])
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -104,7 +104,6 @@
|
|||||||
.dot {
|
.dot {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: '';
|
content: '';
|
||||||
background: red;
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
inset: 30%;
|
inset: 30%;
|
||||||
}
|
}
|
||||||
|
@ -292,7 +292,7 @@
|
|||||||
on:default-update={({ detail }) => updateTeamDefaultStatus(detail)}
|
on:default-update={({ detail }) => updateTeamDefaultStatus(detail)}
|
||||||
on:edit={({ detail }) => {
|
on:edit={({ detail }) => {
|
||||||
closeTooltip()
|
closeTooltip()
|
||||||
editingStatus = { ...detail }
|
editingStatus = { ...detail, color: detail.color ?? category.color }
|
||||||
}}
|
}}
|
||||||
on:delete={deleteStatus}
|
on:delete={deleteStatus}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user