mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-09-05 15:47:00 +08:00
feat: Add theme and dark mode
This commit is contained in:
@@ -143,7 +143,7 @@ const LogsPage = memo(function LogsPage() {
|
||||
width={800}
|
||||
>
|
||||
{selectedLog && (
|
||||
<pre style={{ maxHeight: '60vh', overflow: 'auto', background: '#f5f5f5', padding: 12 }}>
|
||||
<pre style={{ maxHeight: '60vh', overflow: 'auto', background: 'var(--ant-color-fill-tertiary, #f5f5f5)', padding: 12 }}>
|
||||
{JSON.stringify(selectedLog.details, null, 2)}
|
||||
</pre>
|
||||
)}
|
||||
@@ -152,4 +152,4 @@ const LogsPage = memo(function LogsPage() {
|
||||
);
|
||||
});
|
||||
|
||||
export default LogsPage;
|
||||
export default LogsPage;
|
||||
|
||||
Reference in New Issue
Block a user