Skip to content

Commit f0c34a5

Browse files
committed
changed pull request widget colors
Signed-off-by: Efren Lim <elim@linuxfoundation.org>
1 parent 8bdc5ac commit f0c34a5

File tree

2 files changed

+72
-59
lines changed

2 files changed

+72
-59
lines changed

frontend/app/components/modules/project/components/development/pull-requests.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<lfx-chart :config="barChartConfig" />
6565
</div>
6666

67-
<div class="flex flex-col gap-5">
67+
<div class="flex flex-col gap-4">
6868
<lfx-project-pull-request-legend-item
6969
title="Open"
7070
:delta="openSummary!"
@@ -167,15 +167,15 @@ const chartSeries = ref<ChartSeries[]>([
167167
yAxisIndex: 0,
168168
dataIndex: 1,
169169
position: 'left',
170-
color: lfxColors.warning[500]
170+
color: lfxColors.violet[500]
171171
},
172172
{
173173
name: 'Closed',
174174
type: 'bar',
175175
yAxisIndex: 0,
176176
dataIndex: 2,
177177
position: 'left',
178-
color: lfxColors.negative[500]
178+
color: lfxColors.neutral[300]
179179
}
180180
]);
181181
Lines changed: 69 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,86 @@
11
export const lfxColors = {
2-
transparent: "transparent",
3-
white: "#ffffff",
4-
black: "#000000",
2+
transparent: 'transparent',
3+
white: '#ffffff',
4+
black: '#000000',
55

6-
text: "#000000",
7-
background: "#D7DEE8",
6+
text: '#000000',
7+
background: '#D7DEE8',
88

99
brand: {
10-
900: "#000816",
11-
800: "#002648",
12-
700: "#004880",
13-
600: "#006DBE",
14-
500: "#0094FF",
15-
400: "#54ABFF",
16-
300: "#83C1FF",
17-
200: "#ADD6FF",
18-
100: "#D6EBFF",
19-
50: "#EBF5FF"
10+
900: '#000816',
11+
800: '#002648',
12+
700: '#004880',
13+
600: '#006DBE',
14+
500: '#0094FF',
15+
400: '#54ABFF',
16+
300: '#83C1FF',
17+
200: '#ADD6FF',
18+
100: '#D6EBFF',
19+
50: '#EBF5FF'
2020
},
2121

2222
neutral: {
23-
900: "#0F172A",
24-
800: "#0F172A",
25-
700: "#334155",
26-
600: "#475569",
27-
500: "#64748B",
28-
400: "#94A3B8",
29-
300: "#CBD5E1",
30-
200: "#E2E8F0",
31-
100: "#F1F5F9",
32-
50: "#F8FAFC"
23+
900: '#0F172A',
24+
800: '#0F172A',
25+
700: '#334155',
26+
600: '#475569',
27+
500: '#64748B',
28+
400: '#94A3B8',
29+
300: '#CBD5E1',
30+
200: '#E2E8F0',
31+
100: '#F1F5F9',
32+
50: '#F8FAFC'
3333
},
3434

3535
positive: {
36-
900: "#064E3B",
37-
800: "#065F46",
38-
700: "#047857",
39-
600: "#059669",
40-
500: "#10B981",
41-
400: "#34D399",
42-
300: "#6EE7B7",
43-
200: "#A7F3D0",
44-
100: "#D1FAE5",
45-
50: "#ECFDF5"
36+
900: '#064E3B',
37+
800: '#065F46',
38+
700: '#047857',
39+
600: '#059669',
40+
500: '#10B981',
41+
400: '#34D399',
42+
300: '#6EE7B7',
43+
200: '#A7F3D0',
44+
100: '#D1FAE5',
45+
50: '#ECFDF5'
4646
},
4747

4848
negative: {
49-
900: "#7F1D1D",
50-
800: "#991B1B",
51-
700: "#B91C1C",
52-
600: "#DC2626",
53-
500: "#EF4444",
54-
400: "#F87171",
55-
300: "#FCA5A5",
56-
200: "#FECACA",
57-
100: "#FEE2E2",
58-
50: "#FEF2F2"
49+
900: '#7F1D1D',
50+
800: '#991B1B',
51+
700: '#B91C1C',
52+
600: '#DC2626',
53+
500: '#EF4444',
54+
400: '#F87171',
55+
300: '#FCA5A5',
56+
200: '#FECACA',
57+
100: '#FEE2E2',
58+
50: '#FEF2F2'
5959
},
6060

6161
warning: {
62-
900: "#78350F",
63-
800: "#92400E",
64-
700: "#B45309",
65-
600: "#D97706",
66-
500: "#F59E0B",
67-
400: "#FBBF24",
68-
300: "#FCD34D",
69-
200: "#FDE68A",
70-
100: "#FEF3C7",
71-
50: "#FFFBEB"
62+
900: '#78350F',
63+
800: '#92400E',
64+
700: '#B45309',
65+
600: '#D97706',
66+
500: '#F59E0B',
67+
400: '#FBBF24',
68+
300: '#FCD34D',
69+
200: '#FDE68A',
70+
100: '#FEF3C7',
71+
50: '#FFFBEB'
72+
},
73+
74+
violet: {
75+
900: '#4c1d95',
76+
800: '#5b21b6',
77+
700: '#6d28d9',
78+
600: '#7c3aed',
79+
500: '#8E51FF',
80+
400: '#a78bfa',
81+
300: '#c4b5fd',
82+
200: '#ddd6fe',
83+
100: '#ede9fe',
84+
50: '#f5f3ff'
7285
}
73-
}
86+
};

0 commit comments

Comments
 (0)