瀏覽代碼

fix: Fixed font color for education pages in dark mode (#943)

JYHsu 11 月之前
父節點
當前提交
b40f6f85b9
共有 2 個文件被更改,包括 7 次插入1 次删除
  1. 2 1
      assets/styles/components/texts.scss
  2. 5 0
      assets/styles/sections/education.scss

+ 2 - 1
assets/styles/components/texts.scss

@@ -72,7 +72,8 @@ html[data-theme='dark'] {
   h2,
   h3,
   h4,
-  h5 {
+  h5,
+  h6 {
     color: get-dark-color('heading-color');
   }
 

+ 5 - 0
assets/styles/sections/education.scss

@@ -229,6 +229,11 @@ html[data-theme='dark'] {
               border-left: 2px solid get-dark-color('accent-color');
             }
           }
+          .custom-section {
+            .custom-content {
+              color: get-dark-color('text-color');
+            }
+          }
         }
       }
     }