refactor: Simplify UI styles and remove unused theme management

- Removed theme initialization and management from the UI store.
- Cleaned up CSS styles across multiple components, replacing CSS variables with fixed color values for consistency.
- Updated background colors and text colors to enhance UI clarity and responsiveness.
- Streamlined component styles to improve maintainability and readability.
This commit is contained in:
wizardchen
2025-11-06 02:47:01 +08:00
parent 7a64371603
commit 602e8a3b88
23 changed files with 329 additions and 508 deletions
@@ -150,13 +150,13 @@ const handleAddModel = (subSection: string) => {
h2 {
font-size: 20px;
font-weight: 600;
color: var(--td-text-color-primary);
color: #333333;
margin: 0 0 8px 0;
}
.section-description {
font-size: 14px;
color: var(--td-text-color-secondary);
color: #666666;
margin: 0;
line-height: 1.5;
}
@@ -173,7 +173,7 @@ const handleAddModel = (subSection: string) => {
align-items: flex-start;
justify-content: space-between;
padding: 20px 0;
border-bottom: 1px solid var(--td-component-border);
border-bottom: 1px solid #e5e7eb;
&:last-child {
border-bottom: none;
@@ -188,19 +188,19 @@ const handleAddModel = (subSection: string) => {
label {
font-size: 15px;
font-weight: 500;
color: var(--td-text-color-primary);
color: #333333;
display: block;
margin-bottom: 4px;
.required {
color: var(--td-error-color);
color: #fa5151;
margin-left: 2px;
}
}
.desc {
font-size: 13px;
color: var(--td-text-color-secondary);
color: #666666;
margin: 0;
line-height: 1.5;
}