Replace default colors for headers in Boards (#1128)

- replace colors for headers
This commit is contained in:
brendanlaschke
2023-08-09 17:28:55 +02:00
committed by GitHub
parent 9bd42121d3
commit 2b166927d1
4 changed files with 26 additions and 26 deletions

View File

@ -8,31 +8,31 @@ export const pipeline = {
id: 'pipeline-stage-1', id: 'pipeline-stage-1',
name: 'New', name: 'New',
index: 0, index: 0,
color: '#B76796', color: 'red',
}, },
{ {
id: 'pipeline-stage-2', id: 'pipeline-stage-2',
name: 'Screening', name: 'Screening',
index: 1, index: 1,
color: '#CB912F', color: 'purple',
}, },
{ {
id: 'pipeline-stage-3', id: 'pipeline-stage-3',
name: 'Meeting', name: 'Meeting',
index: 2, index: 2,
color: '#9065B0', color: 'sky',
}, },
{ {
id: 'pipeline-stage-4', id: 'pipeline-stage-4',
name: 'Proposal', name: 'Proposal',
index: 3, index: 3,
color: '#337EA9', color: 'turquoise',
}, },
{ {
id: 'pipeline-stage-5', id: 'pipeline-stage-5',
name: 'Customer', name: 'Customer',
index: 4, index: 4,
color: '#079039', color: 'yellow',
}, },
], ],
} as Pipeline; } as Pipeline;

View File

@ -30,7 +30,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
{ {
id: 'fe256b39-3ec3-4fe3-8998-b76aa0bfb600', id: 'fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
name: 'New', name: 'New',
color: '#B76796', color: 'red',
index: 0, index: 0,
pipelineProgresses: [ pipelineProgresses: [
{ {
@ -53,7 +53,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
{ {
id: 'fe256b39-3ec3-4fe4-8998-b76aa0bfb600', id: 'fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
name: 'Screening', name: 'Screening',
color: '#CB912F', color: 'purple',
index: 1, index: 1,
pipelineProgresses: [], pipelineProgresses: [],
__typename: 'PipelineStage', __typename: 'PipelineStage',
@ -61,7 +61,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
{ {
id: 'fe256b39-3ec3-4fe5-8998-b76aa0bfb600', id: 'fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
name: 'Meeting', name: 'Meeting',
color: '#9065B0', color: 'sky',
index: 2, index: 2,
pipelineProgresses: [], pipelineProgresses: [],
__typename: 'PipelineStage', __typename: 'PipelineStage',
@ -69,7 +69,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
{ {
id: 'fe256b39-3ec3-4fe6-8998-b76aa0bfb600', id: 'fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
name: 'Proposal', name: 'Proposal',
color: '#337EA9', color: 'turquoise',
index: 3, index: 3,
pipelineProgresses: [], pipelineProgresses: [],
__typename: 'PipelineStage', __typename: 'PipelineStage',
@ -77,7 +77,7 @@ export const mockedPipelinesData: Array<MockedPipeline> = [
{ {
id: 'fe256b39-3ec3-4fe7-8998-b76aa0bfb600', id: 'fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
name: 'Customer', name: 'Customer',
color: '#079039', color: 'yellow',
index: 4, index: 4,
pipelineProgresses: [], pipelineProgresses: [],
__typename: 'PipelineStage', __typename: 'PipelineStage',

View File

@ -1,31 +1,31 @@
[ [
{ {
"name": "New", "name": "New",
"color": "#B76796", "color": "red",
"index": 0, "index": 0,
"type": "open" "type": "open"
}, },
{ {
"name": "Screening", "name": "Screening",
"color": "#CB912F", "color": "purple",
"index": 1, "index": 1,
"type": "ongoing" "type": "ongoing"
}, },
{ {
"name": "Meeting", "name": "Meeting",
"color": "#9065B0", "color": "sky",
"index": 2, "index": 2,
"type": "ongoing" "type": "ongoing"
}, },
{ {
"name": "Proposal", "name": "Proposal",
"color": "#337EA9", "color": "turquoise",
"index": 3, "index": 3,
"type": "ongoing" "type": "ongoing"
}, },
{ {
"name": "Customer", "name": "Customer",
"color": "#079039", "color": "yellow",
"index": 4, "index": 4,
"type": "won" "type": "won"
} }

View File

@ -18,7 +18,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-fe256b39-3ec3-4fe3-8998-b76aa0bfb600', id: 'twenty-fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
name: 'New', name: 'New',
color: '#B76796', color: 'red',
index: 0, index: 0,
type: 'open', type: 'open',
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -32,7 +32,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-fe256b39-3ec3-4fe4-8998-b76aa0bfb600', id: 'twenty-fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
name: 'Screening', name: 'Screening',
color: '#CB912F', color: 'purple',
index: 1, index: 1,
type: 'ongoing', type: 'ongoing',
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -46,7 +46,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-fe256b39-3ec3-4fe5-8998-b76aa0bfb600', id: 'twenty-fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
name: 'Meeting', name: 'Meeting',
color: '#9065B0', color: 'sky',
index: 2, index: 2,
type: 'ongoing', type: 'ongoing',
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -60,7 +60,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-fe256b39-3ec3-4fe6-8998-b76aa0bfb600', id: 'twenty-fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
name: 'Proposal', name: 'Proposal',
color: '#337EA9', color: 'turquoise',
index: 3, index: 3,
type: 'ongoing', type: 'ongoing',
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -74,7 +74,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600', id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
name: 'Customer', name: 'Customer',
color: '#079039', color: 'yellow',
index: 4, index: 4,
type: 'won', type: 'won',
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -148,7 +148,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-fe256b39-3ec3-4fe3-8998-a76aa0bfb600', id: 'twenty-fe256b39-3ec3-4fe3-8998-a76aa0bfb600',
name: 'New', name: 'New',
color: '#B76796', color: 'red',
index: 1, index: 1,
type: 'open', type: 'open',
pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b74aa0bfb400', pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b74aa0bfb400',
@ -185,7 +185,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-dev-fe256b39-3ec3-4fe3-8998-b76aa0bfb600', id: 'twenty-dev-fe256b39-3ec3-4fe3-8998-b76aa0bfb600',
name: 'New', name: 'New',
color: '#B76796', color: 'red',
index: 0, index: 0,
type: 'open', type: 'open',
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -199,7 +199,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-dev-fe256b39-3ec3-4fe4-8998-b76aa0bfb600', id: 'twenty-dev-fe256b39-3ec3-4fe4-8998-b76aa0bfb600',
name: 'Screening', name: 'Screening',
color: '#CB912F', color: 'purple',
index: 1, index: 1,
type: 'ongoing', type: 'ongoing',
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -213,7 +213,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-dev-fe256b39-3ec3-4fe5-8998-b76aa0bfb600', id: 'twenty-dev-fe256b39-3ec3-4fe5-8998-b76aa0bfb600',
name: 'Meeting', name: 'Meeting',
color: '#9065B0', color: 'sky',
index: 2, index: 2,
type: 'ongoing', type: 'ongoing',
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -227,7 +227,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-dev-fe256b39-3ec3-4fe6-8998-b76aa0bfb600', id: 'twenty-dev-fe256b39-3ec3-4fe6-8998-b76aa0bfb600',
name: 'Proposal', name: 'Proposal',
color: '#337EA9', color: 'turquoise',
index: 3, index: 3,
type: 'ongoing', type: 'ongoing',
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',
@ -241,7 +241,7 @@ export const seedPipelines = async (prisma: PrismaClient) => {
create: { create: {
id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600', id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600',
name: 'Customer', name: 'Customer',
color: '#079039', color: 'yellow',
index: 4, index: 4,
type: 'won', type: 'won',
pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400',