From 66174ebeb946b96d184f9f328b40dfab52ea091f Mon Sep 17 00:00:00 2001 From: sdjdd Date: Thu, 16 Nov 2023 18:11:34 +0800 Subject: [PATCH] feat: change ui theme --- in-app/v1/src/App/Home/AiClassify.tsx | 2 +- .../CustomField/CheckboxGroup/index.tsx | 2 +- .../CustomForm/CustomField/index.module.css | 2 +- .../Tickets/New/Form/Group/index.module.css | 2 +- .../App/Tickets/Ticket/Evaluation/index.tsx | 2 +- .../src/App/Tickets/Ticket/Replies/index.tsx | 2 +- .../src/App/Tickets/Ticket/index.module.css | 6 ++-- in-app/v1/src/icons/Done.tsx | 2 +- in-app/v1/tailwind.config.js | 26 ++++++++------ .../App/Admin/Settings/TicketFields/index.tsx | 2 +- .../App/Admin/Settings/TicketForms/index.tsx | 2 +- .../App/Admin/Tickets/Ticket/TicketDetail.tsx | 2 +- .../web/src/App/Admin/components/Uploader.tsx | 2 +- next/web/src/components/antd/index.less | 3 +- next/web/src/styles/antd-override.less | 11 +++++- next/web/src/styles/general/variable.less | 6 ++-- next/web/src/styles/tds-theme.less | 11 +++--- next/web/tailwind.config.js | 36 +++++++++---------- 18 files changed, 67 insertions(+), 54 deletions(-) diff --git a/in-app/v1/src/App/Home/AiClassify.tsx b/in-app/v1/src/App/Home/AiClassify.tsx index f4969b317..ad6c1c330 100644 --- a/in-app/v1/src/App/Home/AiClassify.tsx +++ b/in-app/v1/src/App/Home/AiClassify.tsx @@ -146,7 +146,7 @@ const Result = memo(({ categoryId }: { categoryId: string }) => {
- {data?.status === 'success' ? : } + {data?.status === 'success' ? : } {data?.status === 'success' ? ( diff --git a/in-app/v1/src/App/Tickets/New/CustomForm/CustomField/CheckboxGroup/index.tsx b/in-app/v1/src/App/Tickets/New/CustomForm/CustomField/CheckboxGroup/index.tsx index 7a7f6c9b3..5c483757a 100644 --- a/in-app/v1/src/App/Tickets/New/CustomForm/CustomField/CheckboxGroup/index.tsx +++ b/in-app/v1/src/App/Tickets/New/CustomForm/CustomField/CheckboxGroup/index.tsx @@ -58,7 +58,7 @@ export function CheckboxGroup({ id, description, options, required }: CustomFiel
diff --git a/in-app/v1/src/App/Tickets/New/CustomForm/CustomField/index.module.css b/in-app/v1/src/App/Tickets/New/CustomForm/CustomField/index.module.css index 81a5bf96d..83a6f4439 100644 --- a/in-app/v1/src/App/Tickets/New/CustomForm/CustomField/index.module.css +++ b/in-app/v1/src/App/Tickets/New/CustomForm/CustomField/index.module.css @@ -1,7 +1,7 @@ .required { &::after { content: '*'; - color: #F64C4C; + @apply text-red; position: absolute; line-height: 18px; padding-left: 2px; diff --git a/in-app/v1/src/App/Tickets/New/Form/Group/index.module.css b/in-app/v1/src/App/Tickets/New/Form/Group/index.module.css index 81a5bf96d..83a6f4439 100644 --- a/in-app/v1/src/App/Tickets/New/Form/Group/index.module.css +++ b/in-app/v1/src/App/Tickets/New/Form/Group/index.module.css @@ -1,7 +1,7 @@ .required { &::after { content: '*'; - color: #F64C4C; + @apply text-red; position: absolute; line-height: 18px; padding-left: 2px; diff --git a/in-app/v1/src/App/Tickets/Ticket/Evaluation/index.tsx b/in-app/v1/src/App/Tickets/Ticket/Evaluation/index.tsx index cc2e50fa5..ae43d4f0c 100644 --- a/in-app/v1/src/App/Tickets/Ticket/Evaluation/index.tsx +++ b/in-app/v1/src/App/Tickets/Ticket/Evaluation/index.tsx @@ -87,7 +87,7 @@ export function NewEvaluation({ initData, loading, onSubmit }: NewEvaluationProp checked={evaluation.star === 1} onChange={() => setEvaluation({ ...evaluation, star: 1, selections: [] })} > - + {t('evaluation.useful')} diff --git a/in-app/v1/src/App/Tickets/Ticket/Replies/index.tsx b/in-app/v1/src/App/Tickets/Ticket/Replies/index.tsx index cec8219ed..85fb29d58 100644 --- a/in-app/v1/src/App/Tickets/Ticket/Replies/index.tsx +++ b/in-app/v1/src/App/Tickets/Ticket/Replies/index.tsx @@ -48,7 +48,7 @@ function ReplyItem({ data, isLast }: ReplyItemProps) {
diff --git a/in-app/v1/src/App/Tickets/Ticket/index.module.css b/in-app/v1/src/App/Tickets/Ticket/index.module.css index 2f72ba689..de9a49aa2 100644 --- a/in-app/v1/src/App/Tickets/Ticket/index.module.css +++ b/in-app/v1/src/App/Tickets/Ticket/index.module.css @@ -1,12 +1,12 @@ .status { &.new, &.waitForStaff { - color: #15C5CE; + @apply text-tapBlue; } &.waitForCustomer { - color: #FF8156; + @apply text-amber; } &.resolved { - color: #47b881; + @apply text-green; } } diff --git a/in-app/v1/src/icons/Done.tsx b/in-app/v1/src/icons/Done.tsx index cd1984178..dd3263c85 100644 --- a/in-app/v1/src/icons/Done.tsx +++ b/in-app/v1/src/icons/Done.tsx @@ -9,7 +9,7 @@ export const DoneIcon = (props: SVGProps) => ( xmlns="http://www.w3.org/2000/svg" {...props} > - + 负责人
{assigneeIsGroupMember === false && ( - + )}
diff --git a/next/web/src/App/Admin/components/Uploader.tsx b/next/web/src/App/Admin/components/Uploader.tsx index 8acc3f101..768f32034 100644 --- a/next/web/src/App/Admin/components/Uploader.tsx +++ b/next/web/src/App/Admin/components/Uploader.tsx @@ -196,7 +196,7 @@ function FileItem({ file, onRemove, disabled }: FileItemProps) {