Parcourir la source

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

JYHsu il y a 11 mois
Parent
commit
b40f6f85b9
2 fichiers modifiés avec 7 ajouts et 1 suppressions
  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');
+            }
+          }
         }
       }
     }