diff --git a/css/dark.css b/css/dark.css
new file mode 100644
index 0000000..c0774d9
--- /dev/null
+++ b/css/dark.css
@@ -0,0 +1,21 @@
+/* minimal darkmode
+ this sucks. but I don't want to edit main.css shit */
+@media (prefers-color-scheme: dark) {
+ * {
+ background-color: #1e1e2e !important;
+ color: #cdd6f4 !important;
+ }
+ h2, h3, h4 {
+ color: #b4befe !important;
+ }
+ img {
+ filter: grayscale(50%);
+ }
+ a {
+ color: #89b4fa !important;
+ }
+ pre, pre span, code {
+ color: #a6e3a1 !important;
+ }
+}
+
diff --git a/org/publish_config.el b/org/publish_config.el
index b6391f4..37cc28a 100644
--- a/org/publish_config.el
+++ b/org/publish_config.el
@@ -44,7 +44,7 @@
:publishing-function org-html-publish-to-html
:preserve-breaks t
- :html-head ""
+ :html-head ""
;; :html-head-include-default-style nil
:html-link-home "https://dongdigua.github.io"
:html-link-up "./../posts"