优化了本地存储和一些组件细分,完成了复制图片、适配可以直接发送的功能
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
/* 全局样式 */
|
||||
* {
|
||||
font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
|
||||
sans-serif;
|
||||
sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -81,8 +81,8 @@ body {
|
||||
/* Ant Design 组件样式覆盖 */
|
||||
.ant-input:focus,
|
||||
.ant-input-focused {
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
|
||||
border-color: var(--primary) !important;
|
||||
box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2) !important;
|
||||
}
|
||||
|
||||
.ant-btn-primary {
|
||||
@@ -95,6 +95,78 @@ body {
|
||||
border-color: var(--secondary);
|
||||
}
|
||||
|
||||
/* 暗色模式下的Ant Design组件样式 */
|
||||
[data-theme="dark"] .ant-input {
|
||||
background-color: #374151 !important;
|
||||
border-color: #4b5563 !important;
|
||||
color: #f3f4f6 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-input::placeholder {
|
||||
color: #9ca3af !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-input:focus,
|
||||
[data-theme="dark"] .ant-input-focused {
|
||||
background-color: #4b5563 !important;
|
||||
border-color: var(--primary) !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-textarea {
|
||||
background-color: #374151 !important;
|
||||
border-color: #4b5563 !important;
|
||||
color: #f3f4f6 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-btn {
|
||||
background-color: #374151 !important;
|
||||
border-color: #4b5563 !important;
|
||||
color: #f3f4f6 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-btn:hover {
|
||||
background-color: #4b5563 !important;
|
||||
border-color: #6b7280 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-dropdown {
|
||||
background-color: #374151 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-dropdown .ant-dropdown-menu {
|
||||
background-color: #374151 !important;
|
||||
border-color: #4b5563 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-dropdown .ant-dropdown-menu-item {
|
||||
color: #f3f4f6 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-dropdown .ant-dropdown-menu-item:hover {
|
||||
background-color: #4b5563 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-modal {
|
||||
background-color: #374151 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-modal-content {
|
||||
background-color: #374151 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-modal-header {
|
||||
background-color: #374151 !important;
|
||||
border-bottom-color: #4b5563 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-modal-title {
|
||||
color: #f3f4f6 !important;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .ant-modal-body {
|
||||
color: #f3f4f6 !important;
|
||||
}
|
||||
|
||||
/* 动画 */
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
|
||||
Reference in New Issue
Block a user