@svadmin/lite 0.16.10 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/components/LiteActivityFeed.svelte +7 -7
  2. package/dist/components/LiteApprovalActionCard.svelte +4 -4
  3. package/dist/components/LiteAuditLog.svelte +9 -9
  4. package/dist/components/LiteCanvasAnnotation.svelte +13 -13
  5. package/dist/components/LiteChatDialog.svelte +8 -8
  6. package/dist/components/LiteColumnSettings.svelte +3 -3
  7. package/dist/components/LiteConfirmDialog.svelte +2 -2
  8. package/dist/components/LiteDecisionTable.svelte +14 -14
  9. package/dist/components/LiteDraggableRowTable.svelte +1 -1
  10. package/dist/components/LiteDrawerForm.svelte +7 -7
  11. package/dist/components/LiteDynamicFormList.svelte +5 -5
  12. package/dist/components/LiteEditableTable.svelte +1 -1
  13. package/dist/components/LiteEmptyState.svelte +3 -3
  14. package/dist/components/LiteFilterBuilder.svelte +4 -4
  15. package/dist/components/LiteGanttChart.svelte +20 -20
  16. package/dist/components/LiteImageCropper.svelte +3 -3
  17. package/dist/components/LiteImportWizard.svelte +7 -7
  18. package/dist/components/LiteJsonSchemaForm.svelte +6 -6
  19. package/dist/components/LiteKanbanBoard.svelte +19 -19
  20. package/dist/components/LiteLayout.svelte +2 -2
  21. package/dist/components/LiteMasterDetailView.svelte +9 -9
  22. package/dist/components/LiteMediaLibraryModal.svelte +4 -4
  23. package/dist/components/LiteMediaThumbnail.svelte +3 -3
  24. package/dist/components/LiteMentionsInput.svelte +9 -9
  25. package/dist/components/LiteModalForm.svelte +5 -5
  26. package/dist/components/LiteMultiTabKeepAlive.svelte +6 -6
  27. package/dist/components/LiteOfflineSyncBanner.svelte +6 -6
  28. package/dist/components/LitePdfDocumentViewer.svelte +14 -14
  29. package/dist/components/LitePermissionMatrix.svelte +8 -8
  30. package/dist/components/LitePivotTable.svelte +11 -11
  31. package/dist/components/LitePresenceAvatarGroup.svelte +4 -4
  32. package/dist/components/LitePrintableBill.svelte +8 -8
  33. package/dist/components/LiteShow.svelte +1 -1
  34. package/dist/components/LiteShowField.svelte +2 -2
  35. package/dist/components/LiteSignaturePad.svelte +9 -9
  36. package/dist/components/LiteSplitPaneLayout.svelte +2 -2
  37. package/dist/components/LiteSpreadsheetView.svelte +8 -8
  38. package/dist/components/LiteStepForm.svelte +10 -10
  39. package/dist/components/LiteTable.svelte +1 -1
  40. package/dist/components/LiteTableSummary.svelte +4 -4
  41. package/dist/components/LiteTabs.svelte +5 -5
  42. package/dist/components/LiteTransfer.svelte +5 -5
  43. package/dist/components/LiteTreeTable.svelte +1 -1
  44. package/dist/components/LiteVersionDiffViewer.svelte +12 -12
  45. package/dist/components/LiteVirtualTable.svelte +1 -1
  46. package/dist/components/advanced/LiteAutoSaveIndicator.svelte +3 -3
  47. package/dist/components/advanced/LiteDraggableHeader.svelte +2 -2
  48. package/dist/components/advanced/LiteInlineEdit.svelte +1 -1
  49. package/dist/components/advanced/LiteToast.svelte +3 -3
  50. package/dist/components/advanced/LiteUndoableNotification.svelte +1 -1
  51. package/dist/components/fields/LiteDateRangeField.svelte +1 -1
  52. package/dist/components/fields/LiteJsonField.svelte +1 -1
  53. package/dist/components/fields/LiteMarkdownField.svelte +1 -1
  54. package/dist/components/fields/LiteRichTextField.svelte +5 -5
  55. package/dist/components/layout/LiteAuthenticated.svelte +2 -2
  56. package/dist/components/layout/LiteCanAccess.svelte +1 -1
  57. package/dist/components/layout/LiteErrorComponent.svelte +4 -4
  58. package/dist/components/layout/LiteHeader.svelte +2 -2
  59. package/dist/components/layout/LiteSidebar.svelte +2 -2
  60. package/dist/components/pages/LiteForgotPasswordPage.svelte +7 -7
  61. package/dist/components/pages/LiteListPage.svelte +2 -2
  62. package/dist/components/pages/LiteProfilePage.svelte +2 -2
  63. package/dist/components/pages/LiteRegisterPage.svelte +6 -6
  64. package/dist/components/pages/LiteShowPage.svelte +2 -2
  65. package/dist/components/pages/LiteUpdatePasswordPage.svelte +4 -4
  66. package/dist/components/widgets/LiteAnomalyBadge.svelte +2 -2
  67. package/dist/components/widgets/LiteBarChart.svelte +6 -6
  68. package/dist/components/widgets/LiteInsightCard.svelte +4 -4
  69. package/dist/components/widgets/LiteLineChart.svelte +7 -7
  70. package/dist/components/widgets/LitePieChart.svelte +6 -6
  71. package/dist/lite.css +127 -127
  72. package/package.json +2 -2
@@ -36,11 +36,11 @@
36
36
  <div class="lite-bill-header">
37
37
  <div style="float: left;">
38
38
  <h3 style="margin: 0;">{title}</h3>
39
- <span style="color: #64748b; font-size: 11px;">No: {billNumber}</span>
39
+ <span style="color: #4E5969; font-size: 11px;">No: {billNumber}</span>
40
40
  </div>
41
41
  <div style="float: right; text-align: right;">
42
42
  <strong>{companyName}</strong>
43
- <div style="color: #64748b; font-size: 11px;">Date: {date}</div>
43
+ <div style="color: #4E5969; font-size: 11px;">Date: {date}</div>
44
44
  </div>
45
45
  <div style="clear: both;"></div>
46
46
  </div>
@@ -74,7 +74,7 @@
74
74
  <tfoot>
75
75
  <tr>
76
76
  <td colspan="4" style="text-align: right; font-weight: bold;">Grand Total:</td>
77
- <td style="text-align: right; font-weight: bold; color: #2563eb;">¥{total.toFixed(2)}</td>
77
+ <td style="text-align: right; font-weight: bold; color: #165DFF;">¥{total.toFixed(2)}</td>
78
78
  </tr>
79
79
  </tfoot>
80
80
  </table>
@@ -89,18 +89,18 @@
89
89
  <style>
90
90
  .lite-bill-card {
91
91
  background: #ffffff;
92
- border: 1px solid #cbd5e1;
92
+ border: 1px solid #E5E6EB;
93
93
  border-radius: 6px;
94
94
  padding: 20px;
95
95
  margin-bottom: 16px;
96
96
  }
97
97
  .lite-bill-header {
98
- border-bottom: 2px solid #3b82f6;
98
+ border-bottom: 2px solid #165DFF;
99
99
  padding-bottom: 12px;
100
100
  margin-bottom: 12px;
101
101
  }
102
102
  .lite-bill-customer {
103
- background: #f8fafc;
103
+ background: #F7F8FA;
104
104
  padding: 8px 12px;
105
105
  border-radius: 4px;
106
106
  margin-bottom: 16px;
@@ -112,8 +112,8 @@
112
112
  }
113
113
  .lite-bill-notes {
114
114
  font-size: 12px;
115
- color: #64748b;
116
- border-top: 1px solid #e2e8f0;
115
+ color: #4E5969;
116
+ border-top: 1px solid #E5E6EB;
117
117
  padding-top: 8px;
118
118
  }
119
119
  </style>
@@ -49,7 +49,7 @@
49
49
  {#each showFields as field, _i (_i)}
50
50
  {@const value = record[field.key]}
51
51
  <tr>
52
- <td style="width:200px;font-weight:600;color:#64748b;vertical-align:top;">
52
+ <td style="width:200px;font-weight:600;color:#4E5969;vertical-align:top;">
53
53
  {field.label}
54
54
  </td>
55
55
  <td>
@@ -63,7 +63,7 @@
63
63
  <span>••••••••</span>
64
64
  {:else if field.type === "color" && value}
65
65
  <span style="display:inline-flex;align-items:center;">
66
- <span style="display:inline-block;width:14px;height:14px;border-radius:3px;background:{toSafeText(value)};border:1px solid #cbd5e1;margin-right:6px;"></span>
66
+ <span style="display:inline-block;width:14px;height:14px;border-radius:3px;background:{toSafeText(value)};border:1px solid #E5E6EB;margin-right:6px;"></span>
67
67
  <span class="lite-font-mono">{toSafeText(value)}</span>
68
68
  </span>
69
69
  {:else if field.type === "url" && value}
@@ -87,7 +87,7 @@
87
87
  <span class="lite-badge">{tag}</span>
88
88
  {/each}
89
89
  {:else if field.type === "json" && value}
90
- <pre style="margin:0;font-size:12px;background:#f8fafc;padding:12px;border-radius:6px;border:1px solid #e2e8f0;overflow-x:auto;">{typeof value === "string" ? value : JSON.stringify(value, null, 2)}</pre>
90
+ <pre style="margin:0;font-size:12px;background:#F7F8FA;padding:12px;border-radius:6px;border:1px solid #E5E6EB;overflow-x:auto;">{typeof value === "string" ? value : JSON.stringify(value, null, 2)}</pre>
91
91
  {:else if field.type === "select" && field.options}
92
92
  <span class={getStatusBadgeClass(value)}>{formatValue(value, field)}</span>
93
93
  {:else if field.type === "relation" && field.resource && value != null}
@@ -47,7 +47,7 @@
47
47
  <style>
48
48
  .sv-lite-signature-card {
49
49
  display: block;
50
- border: 1px solid #e2e8f0;
50
+ border: 1px solid #E5E6EB;
51
51
  border-radius: 6px;
52
52
  padding: 12px;
53
53
  background-color: #ffffff;
@@ -56,19 +56,19 @@
56
56
  .sv-lite-sig-header {
57
57
  margin-bottom: 8px;
58
58
  font-size: 13px;
59
- color: #0f172a;
59
+ color: #1D2129;
60
60
  }
61
61
  .sv-lite-sig-sub {
62
- color: #64748b;
62
+ color: #4E5969;
63
63
  font-size: 11px;
64
64
  margin-left: 6px;
65
65
  }
66
66
  .sv-lite-sig-preview {
67
- border: 2px dashed #cbd5e1;
67
+ border: 2px dashed #E5E6EB;
68
68
  border-radius: 4px;
69
69
  padding: 10px;
70
70
  text-align: center;
71
- background-color: #f8fafc;
71
+ background-color: #F7F8FA;
72
72
  margin-bottom: 10px;
73
73
  }
74
74
  .sv-lite-sig-img {
@@ -77,12 +77,12 @@
77
77
  vertical-align: middle;
78
78
  }
79
79
  .sv-lite-sig-empty {
80
- border: 2px dashed #cbd5e1;
80
+ border: 2px dashed #E5E6EB;
81
81
  border-radius: 4px;
82
82
  padding: 24px;
83
83
  text-align: center;
84
- color: #94a3b8;
85
- background-color: #f8fafc;
84
+ color: #86909C;
85
+ background-color: #F7F8FA;
86
86
  margin-bottom: 10px;
87
87
  }
88
88
  .sv-lite-sig-file {
@@ -92,7 +92,7 @@
92
92
  .sv-lite-sig-btn {
93
93
  padding: 4px 10px;
94
94
  font-size: 11px;
95
- background-color: #4f46e5;
95
+ background-color: #165DFF;
96
96
  color: #ffffff;
97
97
  border: none;
98
98
  border-radius: 3px;
@@ -34,7 +34,7 @@
34
34
  .lite-split-layout {
35
35
  display: flex;
36
36
  background: #ffffff;
37
- border: 1px solid #cbd5e1;
37
+ border: 1px solid #E5E6EB;
38
38
  border-radius: 6px;
39
39
  margin-bottom: 16px;
40
40
  min-height: 300px;
@@ -56,7 +56,7 @@
56
56
  overflow-y: auto;
57
57
  }
58
58
  .lite-split-divider {
59
- background: #e2e8f0;
59
+ background: #E5E6EB;
60
60
  width: 2px;
61
61
  }
62
62
  .lite-split-vertical .lite-split-divider {
@@ -133,7 +133,7 @@
133
133
  <style>
134
134
  .sv-lite-sheet-container {
135
135
  display: block;
136
- border: 1px solid #e2e8f0;
136
+ border: 1px solid #E5E6EB;
137
137
  border-radius: 6px;
138
138
  padding: 12px;
139
139
  background-color: #ffffff;
@@ -143,7 +143,7 @@
143
143
  .sv-lite-sheet-header {
144
144
  margin-bottom: 10px;
145
145
  font-size: 13px;
146
- color: #0f172a;
146
+ color: #1D2129;
147
147
  }
148
148
  .sv-lite-sheet-table {
149
149
  width: 100%;
@@ -151,22 +151,22 @@
151
151
  font-family: monospace;
152
152
  }
153
153
  .sv-lite-sheet-table th, .sv-lite-sheet-table td {
154
- border: 1px solid #cbd5e1;
154
+ border: 1px solid #E5E6EB;
155
155
  padding: 2px;
156
156
  }
157
157
  .sv-lite-sheet-th-num, .sv-lite-sheet-td-num {
158
- background-color: #f1f5f9;
158
+ background-color: #F2F3F5;
159
159
  text-align: center;
160
160
  width: 32px;
161
- color: #64748b;
161
+ color: #4E5969;
162
162
  font-weight: bold;
163
163
  font-size: 10px;
164
164
  }
165
165
  .sv-lite-sheet-th {
166
- background-color: #f8fafc;
166
+ background-color: #F7F8FA;
167
167
  text-align: center;
168
168
  font-weight: 600;
169
- color: #1e293b;
169
+ color: #1D2129;
170
170
  min-width: 80px;
171
171
  }
172
172
  .sv-lite-cell-input {
@@ -184,7 +184,7 @@
184
184
  }
185
185
  .sv-lite-sheet-save {
186
186
  padding: 5px 12px;
187
- background-color: #4f46e5;
187
+ background-color: #165DFF;
188
188
  color: #ffffff;
189
189
  border: none;
190
190
  border-radius: 3px;
@@ -83,7 +83,7 @@
83
83
  .lite-step-form-card {
84
84
  padding: 16px;
85
85
  background: #ffffff;
86
- border: 1px solid #cbd5e1;
86
+ border: 1px solid #E5E6EB;
87
87
  border-radius: 6px;
88
88
  margin-bottom: 16px;
89
89
  }
@@ -91,7 +91,7 @@
91
91
  display: flex;
92
92
  align-items: center;
93
93
  padding-bottom: 12px;
94
- border-bottom: 1px solid #e2e8f0;
94
+ border-bottom: 1px solid #E5E6EB;
95
95
  margin-bottom: 16px;
96
96
  overflow-x: auto;
97
97
  }
@@ -99,14 +99,14 @@
99
99
  display: flex;
100
100
  align-items: center;
101
101
  font-size: 12px;
102
- color: #64748b;
102
+ color: #4E5969;
103
103
  }
104
104
  .lite-step-item.lite-step-current {
105
- color: #3b82f6;
105
+ color: #165DFF;
106
106
  font-weight: bold;
107
107
  }
108
108
  .lite-step-item.lite-step-completed {
109
- color: #10b981;
109
+ color: #00B42A;
110
110
  }
111
111
  .lite-step-circle {
112
112
  display: inline-block;
@@ -115,21 +115,21 @@
115
115
  line-height: 20px;
116
116
  text-align: center;
117
117
  border-radius: 50%;
118
- background: #f1f5f9;
118
+ background: #F2F3F5;
119
119
  margin-right: 6px;
120
120
  font-size: 11px;
121
121
  }
122
122
  .lite-step-current .lite-step-circle {
123
- background: #3b82f6;
123
+ background: #165DFF;
124
124
  color: #ffffff;
125
125
  }
126
126
  .lite-step-completed .lite-step-circle {
127
- background: #10b981;
127
+ background: #00B42A;
128
128
  color: #ffffff;
129
129
  }
130
130
  .lite-step-arrow {
131
131
  margin: 0 10px;
132
- color: #cbd5e1;
132
+ color: #E5E6EB;
133
133
  }
134
134
  .lite-step-content {
135
135
  min-height: 100px;
@@ -139,6 +139,6 @@
139
139
  display: flex;
140
140
  align-items: center;
141
141
  padding-top: 12px;
142
- border-top: 1px solid #e2e8f0;
142
+ border-top: 1px solid #E5E6EB;
143
143
  }
144
144
  </style>
@@ -199,7 +199,7 @@
199
199
 
200
200
  {#if showBatch && records.length > 0}
201
201
  <div class="lite-batch-bar">
202
- <span style="font-size: 13px; color: #64748b;">
202
+ <span style="font-size: 13px; color: #4E5969;">
203
203
  Select items above to perform batch actions
204
204
  </span>
205
205
  <button
@@ -65,7 +65,7 @@
65
65
  {#if prefix[col.key]}{prefix[col.key]}{/if}{calculate(col.key, aggType)}{#if suffix[col.key]}{suffix[col.key]}{/if}
66
66
  </span>
67
67
  {:else}
68
- <span style="color: #94a3b8;">—</span>
68
+ <span style="color: #86909C;">—</span>
69
69
  {/if}
70
70
  </td>
71
71
  {/each}
@@ -78,8 +78,8 @@
78
78
  .lite-table-summary-container {
79
79
  width: 100%;
80
80
  overflow-x: auto;
81
- background: #f8fafc;
82
- border-top: 2px solid #cbd5e1;
81
+ background: #F7F8FA;
82
+ border-top: 2px solid #E5E6EB;
83
83
  }
84
84
  .lite-summary-table {
85
85
  width: 100%;
@@ -88,6 +88,6 @@
88
88
  .lite-summary-table td {
89
89
  padding: 8px 12px;
90
90
  font-size: 12px;
91
- color: #1e293b;
91
+ color: #1D2129;
92
92
  }
93
93
  </style>
@@ -30,7 +30,7 @@
30
30
  .lite-tabs {
31
31
  display: flex;
32
32
  flex-wrap: wrap;
33
- border-bottom: 2px solid #e2e8f0;
33
+ border-bottom: 2px solid #E5E6EB;
34
34
  margin-bottom: 24px;
35
35
  padding-bottom: 0;
36
36
  }
@@ -39,19 +39,19 @@
39
39
  margin-right: 4px;
40
40
  font-size: 14px;
41
41
  font-weight: 500;
42
- color: #64748b;
42
+ color: #4E5969;
43
43
  border-bottom: 2px solid transparent;
44
44
  margin-bottom: -2px;
45
45
  text-decoration: none;
46
46
  transition: color 0.15s ease, border-color 0.15s ease;
47
47
  }
48
48
  .lite-tab:hover {
49
- color: #0f172a;
49
+ color: #1D2129;
50
50
  text-decoration: none;
51
51
  }
52
52
  .lite-tab.active {
53
- color: #4f46e5;
54
- border-bottom-color: #4f46e5;
53
+ color: #165DFF;
54
+ border-bottom-color: #165DFF;
55
55
  font-weight: 600;
56
56
  }
57
57
  </style>
@@ -129,7 +129,7 @@
129
129
  }
130
130
  .lite-transfer-panel {
131
131
  flex: 1;
132
- border: 1px solid #cbd5e1;
132
+ border: 1px solid #E5E6EB;
133
133
  border-radius: 6px;
134
134
  background: #ffffff;
135
135
  min-height: 180px;
@@ -142,8 +142,8 @@
142
142
  justify-content: space-between;
143
143
  align-items: center;
144
144
  padding: 8px 12px;
145
- background: #f8fafc;
146
- border-bottom: 1px solid #e2e8f0;
145
+ background: #F7F8FA;
146
+ border-bottom: 1px solid #E5E6EB;
147
147
  font-size: 13px;
148
148
  }
149
149
  .lite-transfer-body {
@@ -160,7 +160,7 @@
160
160
  font-size: 13px;
161
161
  }
162
162
  .lite-transfer-item:hover {
163
- background: #f1f5f9;
163
+ background: #F2F3F5;
164
164
  }
165
165
  .lite-transfer-item input {
166
166
  margin-right: 8px;
@@ -179,7 +179,7 @@
179
179
  .lite-transfer-empty {
180
180
  text-align: center;
181
181
  padding: 30px 10px;
182
- color: #94a3b8;
182
+ color: #86909C;
183
183
  font-size: 12px;
184
184
  }
185
185
  </style>
@@ -69,7 +69,7 @@
69
69
  </tr>
70
70
  {:else}
71
71
  <tr>
72
- <td colspan={columns.length} style="text-align: center; color: #94a3b8; padding: 24px;">
72
+ <td colspan={columns.length} style="text-align: center; color: #86909C; padding: 24px;">
73
73
  No tree data
74
74
  </td>
75
75
  </tr>
@@ -55,7 +55,7 @@
55
55
  <td>
56
56
  <strong>{fieldLabels[key] || key}</strong>
57
57
  {#if status !== 'unchanged'}
58
- <span class="lite-badge lite-badge-{status}">[{status.toUpperCase()}]</span>
58
+ <span class="lite-badge lite-badge-{status}">[{status}]</span>
59
59
  {/if}
60
60
  </td>
61
61
  <td class="lite-diff-old">
@@ -83,14 +83,14 @@
83
83
  <style>
84
84
  .lite-diff-viewer {
85
85
  background: #ffffff;
86
- border: 1px solid #cbd5e1;
86
+ border: 1px solid #E5E6EB;
87
87
  border-radius: 6px;
88
88
  margin-bottom: 16px;
89
89
  }
90
90
  .lite-diff-header {
91
91
  padding: 10px 12px;
92
- background: #f8fafc;
93
- border-bottom: 1px solid #e2e8f0;
92
+ background: #F7F8FA;
93
+ border-bottom: 1px solid #E5E6EB;
94
94
  font-size: 13px;
95
95
  }
96
96
  .lite-diff-table {
@@ -99,31 +99,31 @@
99
99
  font-size: 12px;
100
100
  }
101
101
  .lite-diff-table th {
102
- background: #f1f5f9;
102
+ background: #F2F3F5;
103
103
  padding: 8px 12px;
104
104
  text-align: left;
105
105
  }
106
106
  .lite-diff-table td {
107
107
  padding: 8px 12px;
108
- border-top: 1px solid #e2e8f0;
108
+ border-top: 1px solid #E5E6EB;
109
109
  }
110
110
  .lite-diff-added {
111
- background: #ecfdf5;
111
+ background: #E8FFEA;
112
112
  }
113
113
  .lite-diff-removed {
114
- background: #fef2f2;
114
+ background: #FFECE8;
115
115
  }
116
116
  .lite-diff-modified {
117
- background: #fffbeb;
117
+ background: #FFF7E8;
118
118
  }
119
119
  .lite-diff-old del {
120
- color: #ef4444;
120
+ color: #F53F3F;
121
121
  }
122
122
  .lite-diff-new ins {
123
- color: #10b981;
123
+ color: #00B42A;
124
124
  text-decoration: none;
125
125
  }
126
126
  .lite-diff-new strong {
127
- color: #f59e0b;
127
+ color: #FF7D00;
128
128
  }
129
129
  </style>
@@ -42,7 +42,7 @@
42
42
  {/each}
43
43
  {#if items.length === 0}
44
44
  <tr>
45
- <td colspan={columns.length} style="text-align: center; color: #94a3b8; padding: 24px;">
45
+ <td colspan={columns.length} style="text-align: center; color: #86909C; padding: 24px;">
46
46
  No records to display
47
47
  </td>
48
48
  </tr>
@@ -12,9 +12,9 @@
12
12
  let { status = 'idle', message }: Props = $props();
13
13
 
14
14
  const statusConfig: Record<NonNullable<Props['status']>, { icon: string; color: string; text: string }> = {
15
- idle: { icon: '☁', color: '#64748b', text: 'All changes saved' },
16
- saved: { icon: '✓', color: '#10b981', text: 'Saved' },
17
- error: { icon: '✕', color: '#ef4444', text: 'Save failed' },
15
+ idle: { icon: '☁', color: '#4E5969', text: 'All changes saved' },
16
+ saved: { icon: '✓', color: '#00B42A', text: 'Saved' },
17
+ error: { icon: '✕', color: '#F53F3F', text: 'Save failed' },
18
18
  };
19
19
 
20
20
  const cfg = $derived(statusConfig[status] ?? statusConfig['idle']);
@@ -18,9 +18,9 @@
18
18
 
19
19
  <tr>
20
20
  {#each fields as field, _i (_i)}
21
- <th style="padding: 10px 12px; text-align: left; font-weight: 600; font-size: 13px; color: #475569; white-space: nowrap;">
21
+ <th style="padding: 10px 12px; text-align: left; font-weight: 600; font-size: 13px; color: #4E5969; white-space: nowrap;">
22
22
  {#if currentSort === field.key}
23
- <a href="?sort={field.key}&order={currentOrder === 'asc' ? 'desc' : 'asc'}" style="color: #0f172a; text-decoration: none;">
23
+ <a href="?sort={field.key}&order={currentOrder === 'asc' ? 'desc' : 'asc'}" style="color: #1D2129; text-decoration: none;">
24
24
  {field.label} {currentOrder === 'asc' ? '↑' : '↓'}
25
25
  </a>
26
26
  {:else}
@@ -25,7 +25,7 @@
25
25
  {#if editUrl}
26
26
  <a
27
27
  href={editUrl}
28
- style="font-size: 11px; color: #6366f1; text-decoration: none;"
28
+ style="font-size: 11px; color: #165DFF; text-decoration: none;"
29
29
  title="Edit {field.label}"
30
30
  >✎</a>
31
31
  {/if}
@@ -14,9 +14,9 @@
14
14
  let { message, type = 'info', dismissUrl }: Props = $props();
15
15
 
16
16
  const colors: Record<NonNullable<Props['type']>, { bg: string; border: string; text: string }> = {
17
- success: { bg: '#ecfdf5', border: '#a7f3d0', text: '#065f46' },
18
- error: { bg: '#fef2f2', border: '#fecaca', text: '#991b1b' },
19
- warning: { bg: '#fffbeb', border: '#fed7aa', text: '#92400e' },
17
+ success: { bg: '#E8FFEA', border: '#E8FFEA', text: '#009A29' },
18
+ error: { bg: '#FFECE8', border: '#FDCDC5', text: '#CB272D' },
19
+ warning: { bg: '#FFF7E8', border: '#fed7aa', text: '#D25F00' },
20
20
  info: { bg: '#eff6ff', border: '#bfdbfe', text: '#1e40af' },
21
21
  };
22
22
 
@@ -15,7 +15,7 @@
15
15
 
16
16
  <div
17
17
  role="alert"
18
- style="padding: 12px 16px; background: #fefce8; border: 1px solid #fde68a; color: #713f12; border-radius: 6px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px;"
18
+ style="padding: 12px 16px; background: #FFF7E8; border: 1px solid #FFE4BA; color: #713f12; border-radius: 6px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px;"
19
19
  >
20
20
  <span>{message}</span>
21
21
  <a
@@ -130,7 +130,7 @@
130
130
  placeholder={i18n.t('common.startDate')}
131
131
  {...field?.required ? { required: true } : {}}
132
132
  />
133
- <span style="margin: 0 8px; color: #64748b;">{separator}</span>
133
+ <span style="margin: 0 8px; color: #4E5969;">{separator}</span>
134
134
  <input
135
135
  type="date"
136
136
  lang={i18n.locale}
@@ -23,7 +23,7 @@
23
23
  </script>
24
24
 
25
25
  {#if mode === 'show'}
26
- <pre style="padding: 12px; background: #1e293b; color: #f8fafc; border-radius: 4px; overflow-x: auto; font-size: 13px;">{getJsonString(value)}</pre>
26
+ <pre style="padding: 12px; background: #1D2129; color: #F7F8FA; border-radius: 4px; overflow-x: auto; font-size: 13px;">{getJsonString(value)}</pre>
27
27
  {:else}
28
28
  <div>
29
29
  <textarea
@@ -13,7 +13,7 @@
13
13
  </script>
14
14
 
15
15
  {#if mode === 'show'}
16
- <pre style="white-space: pre-wrap; padding: 12px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 4px;">{String(value ?? '—')}</pre>
16
+ <pre style="white-space: pre-wrap; padding: 12px; background: #F7F8FA; border: 1px solid #e5e7eb; border-radius: 4px;">{String(value ?? '—')}</pre>
17
17
  {:else}
18
18
  <div>
19
19
  <textarea
@@ -16,16 +16,16 @@
16
16
 
17
17
  {#if mode === 'show'}
18
18
  <!-- Lite mode intentionally renders rich content as text to keep SSR output safe without a sanitizer dependency. -->
19
- <div style="padding: 16px; border: 1px solid #e2e8f0; border-radius: 6px; max-height: 500px; overflow-y: auto; background: #fff; white-space: pre-wrap;" class="prose">
19
+ <div style="padding: 16px; border: 1px solid #E5E6EB; border-radius: 6px; max-height: 500px; overflow-y: auto; background: #fff; white-space: pre-wrap;" class="prose">
20
20
  {displayValue}
21
21
  </div>
22
22
  {:else}
23
23
  <div class="lite-markdown-editor">
24
- <div class="lite-inline-lg lite-flex-wrap" style="padding: 8px 12px; border: 1px solid #cbd5e1; border-bottom: none; border-radius: 6px 6px 0 0; background: #f8fafc; color: #64748b; font-size: 12px; font-weight: 500;">
24
+ <div class="lite-inline-lg lite-flex-wrap" style="padding: 8px 12px; border: 1px solid #E5E6EB; border-bottom: none; border-radius: 6px 6px 0 0; background: #F7F8FA; color: #4E5969; font-size: 12px; font-weight: 500;">
25
25
  <span>Markdown is supported</span>
26
- <span style="color: #94a3b8;">**bold**</span>
27
- <span style="color: #94a3b8; font-style: italic;">*italic*</span>
28
- <span style="color: #94a3b8;"># heading</span>
26
+ <span style="color: #86909C;">**bold**</span>
27
+ <span style="color: #86909C; font-style: italic;">*italic*</span>
28
+ <span style="color: #86909C;"># heading</span>
29
29
  </div>
30
30
  <textarea
31
31
  name={field.key}
@@ -16,8 +16,8 @@
16
16
  {@render children()}
17
17
  {/if}
18
18
  {:else}
19
- <div style="padding: 40px; text-align: center; color: #475569;">
19
+ <div style="padding: 40px; text-align: center; color: #4E5969;">
20
20
  <h2>Authentication Required</h2>
21
- <p>Please <a href={loginUrl} style="color: #2563eb;">login here</a> to access this page.</p>
21
+ <p>Please <a href={loginUrl} style="color: #165DFF;">login here</a> to access this page.</p>
22
22
  </div>
23
23
  {/if}
@@ -19,7 +19,7 @@
19
19
  {#if fallback}
20
20
  {@render fallback()}
21
21
  {:else}
22
- <div style="padding: 24px; background: #fff1f2; color: #be123c; border-radius: 6px; border: 1px solid #fecdd3;">
22
+ <div style="padding: 24px; background: #FFECE8; color: #be123c; border-radius: 6px; border: 1px solid #fecdd3;">
23
23
  <h3>Access Denied</h3>
24
24
  <p>You do not have permission to view this content.</p>
25
25
  </div>
@@ -19,16 +19,16 @@
19
19
 
20
20
  <div style="min-height: 50vh; display: flex; align-items: center; justify-content: center; padding: 20px;">
21
21
  <div class="lite-card" style="max-width: 480px; width: 100%; text-align: center; padding: 40px;">
22
- <AlertTriangle style="width: 48px; height: 48px; color: #ef4444; margin: 0 auto 16px;" />
22
+ <AlertTriangle style="width: 48px; height: 48px; color: #F53F3F; margin: 0 auto 16px;" />
23
23
 
24
- <h1 style="font-size: 24px; font-weight: 600; color: #0f172a; margin: 0 0 8px;">
24
+ <h1 style="font-size: 24px; font-weight: 600; color: #1D2129; margin: 0 0 8px;">
25
25
  {#if code}
26
- <span style="color: #ef4444; margin-right: 8px;">{code}</span>
26
+ <span style="color: #F53F3F; margin-right: 8px;">{code}</span>
27
27
  {/if}
28
28
  {title}
29
29
  </h1>
30
30
 
31
- <p style="color: #64748b; font-size: 15px; margin: 0 0 24px; line-height: 1.5;">{message}</p>
31
+ <p style="color: #4E5969; font-size: 15px; margin: 0 0 24px; line-height: 1.5;">{message}</p>
32
32
 
33
33
  <a href={homeUrl} class="lite-btn lite-btn-primary" style="display: inline-block;">
34
34
  {t('common.returnHome') || 'Return to Home'}
@@ -9,8 +9,8 @@
9
9
  let { title = '', children }: Props = $props();
10
10
  </script>
11
11
 
12
- <header class="lite-header" style="padding: 16px 24px; background: white; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center;">
13
- <h2 style="margin: 0; font-size: 18px; font-weight: 600; color: #0f172a;">{title}</h2>
12
+ <header class="lite-header" style="padding: 16px 24px; background: white; border-bottom: 1px solid #E5E6EB; display: flex; justify-content: space-between; align-items: center;">
13
+ <h2 style="margin: 0; font-size: 18px; font-weight: 600; color: #1D2129;">{title}</h2>
14
14
  <div class="lite-inline-lg" style="align-items: center;">
15
15
  {#if children}
16
16
  {@render children()}