Browse Source

chore: 添加antd text-btn配色方案

xyh 2 năm trước cách đây
mục cha
commit
20da56723b

+ 1 - 0
packages/app/src/pages/role/table/hooks.tsx

@@ -124,6 +124,7 @@ export function useHandle(data: RoleListData[], refetch: () => void) {
             </Button>
             <Button
               type='text'
+              className='ant-text-btn-color-cyan'
               disabled={deleteId === String(id)}
               onClick={onSetRole(String(id))}
             >

+ 8 - 0
packages/app/src/styles/index.css

@@ -120,3 +120,11 @@ img {
 .ant-layout-content {
   overflow: auto;
 }
+
+.ant-text-btn-color-cyan {
+  color: #13c2c2 !important;
+
+  &:hover {
+    background-color: #d1f5f6 !important;
+  }
+}