This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch feat-env-config in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 334725d69833947996371036928137100cebb1ca Author: mintsweet <[email protected]> AuthorDate: Fri Jan 5 15:05:23 2024 +1300 fix(config-ui): change warning color --- config-ui/src/routes/error/components/needs-db-migrate/index.tsx | 8 +++++--- config-ui/src/routes/error/styled.ts | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config-ui/src/routes/error/components/needs-db-migrate/index.tsx b/config-ui/src/routes/error/components/needs-db-migrate/index.tsx index cebf2c441..10ccd586d 100644 --- a/config-ui/src/routes/error/components/needs-db-migrate/index.tsx +++ b/config-ui/src/routes/error/components/needs-db-migrate/index.tsx @@ -18,7 +18,7 @@ import { useState } from 'react'; import { ExclamationCircleOutlined } from '@ant-design/icons'; -import { Card, Flex, Button } from 'antd'; +import { Card, Space, Flex, Button } from 'antd'; import { useNavigate } from 'react-router-dom'; import API from '@/api'; @@ -42,8 +42,10 @@ export const NeedsDBMigrate = () => { return ( <Card> <h2> - <ExclamationCircleOutlined size={20} color="#fa541c" /> - <span>New Migration Scripts Detected</span> + <Space> + <ExclamationCircleOutlined style={{ fontSize: 20, color: '#faad14' }} /> + <span>New Migration Scripts Detected</span> + </Space> </h2> <p> If you have already started, please wait for database migrations to complete, do <strong>NOT</strong> close your diff --git a/config-ui/src/routes/error/styled.ts b/config-ui/src/routes/error/styled.ts index 83bd0e038..14dd42a74 100644 --- a/config-ui/src/routes/error/styled.ts +++ b/config-ui/src/routes/error/styled.ts @@ -42,7 +42,7 @@ export const Inner = styled.div` margin: 16px 0; &.warning { - color: #fa541c; + color: #faad14; } } `;
