Commit 445b4c46 by tungnq

TODO: Tối ưu hóa màu sắc trong các component: cập nhật mã màu cho trạng thái và…

TODO: Tối ưu hóa màu sắc trong các component: cập nhật mã màu cho trạng thái và tài liệu trong ListWork và DetailListWorkMonitoring
parent 7f297adb
......@@ -26,10 +26,10 @@ const colors = {
brown: 'rgba(254, 184, 91, 0.55)',
green: 'rgba(0, 255, 21, 1)',
green1: 'rgb(9, 193, 25)',
green1: '#0F9D57',
green2:'rgb(0, 128, 0)',
red: 'rgba(255, 47, 48, 1)',
red: '#E54E56',
};
......
......@@ -403,19 +403,19 @@ const ListWork = props => {
const getStatusColor = status => {
switch (status) {
case 'Đang thực hiện':
return '#FF9500';
return R.colors.orange;
case 'Chờ duyệt':
return '#007AFF';
return R.colors.blue;
case 'Cần chỉnh sửa':
return '#FF9500';
return R.colors.orange;
case 'Đợi chỉnh sửa':
return '#FF9500';
return R.colors.orange;
case 'Hoàn thành':
return '#34C759';
return R.colors.green1;
case 'Đợi báo cáo':
return '#007AFF';
return R.colors.blue;
default:
return '#8E8E93';
return R.colors.black;
}
};
......
......@@ -42,7 +42,7 @@ const DetailListWorkMonitoringView = props => {
case 'Chờ duyệt':
return R.colors.blue;
case 'Hoàn thành':
return R.colors.green;
return R.colors.green1;
case 'Đợi chỉnh sửa':
return R.colors.orange;
case 'Đang thực hiện':
......@@ -57,7 +57,7 @@ const DetailListWorkMonitoringView = props => {
const getColorCard = statusDocument => {
switch (statusDocument) {
case 'Đã phê duyệt':
return R.colors.green;
return R.colors.green1;
case 'Chỉnh sửa':
return R.colors.orange;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment