feat: Light/dark modes
All checks were successful
Build and Push App Image / build-and-push (push) Successful in 1m48s

This commit is contained in:
domrichardson
2026-03-26 17:01:34 +00:00
parent 005a8f4cf0
commit d793b5ccf2
10 changed files with 375 additions and 4 deletions

View File

@@ -6,6 +6,75 @@
--border-color: #dee2e6;
}
[data-bs-theme="dark"] {
--text-color: #e2e8f0;
--bg-color: #1a1d23;
--border-color: #3a3f4b;
}
[data-bs-theme="dark"] body {
background-color: #1a1d23;
color: #e2e8f0;
}
[data-bs-theme="dark"] .sidebar {
background-color: #21252e !important;
border-color: #3a3f4b !important;
}
[data-bs-theme="dark"] .toolbar {
background-color: #21252e;
border-color: #3a3f4b !important;
}
[data-bs-theme="dark"] .main-content {
background-color: #1a1d23;
}
[data-bs-theme="dark"] .markdown-body table {
background: #21252e;
}
[data-bs-theme="dark"] .markdown-body th {
background: #2a2f3a;
}
[data-bs-theme="dark"] .markdown-body tr:nth-child(even) td {
background: #232830;
}
[data-bs-theme="dark"] .markdown-body blockquote {
background: #1e2430;
color: #a0aec0;
}
[data-bs-theme="dark"] .markdown-body :not(pre) > code {
background: #2d3748;
color: #e2e8f0;
}
[data-bs-theme="dark"] .markdown-body pre code {
background: transparent;
color: inherit;
}
[data-bs-theme="dark"] .markdown-body pre {
background: #2d3748;
color: #e2e8f0;
}
[data-bs-theme="dark"] ::-webkit-scrollbar-track {
background: #2d3748;
}
[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
background: #4a5568;
}
[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
background: #718096;
}
* {
margin: 0;
padding: 0;
@@ -70,7 +139,7 @@ body,
margin: 1rem 0;
padding: 1rem;
border-radius: 0.75rem;
background: #111827;
background: #353943;
color: #f9fafb;
overflow-x: auto;
}