소스 검색

Give wp color link variable a fallback so IE styles can compile.

Jeffrey Ong 5 년 전
부모
커밋
25ca983fc2
5개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      seedlet/assets/css/ie.css
  2. 1 1
      seedlet/assets/css/style-editor.css
  3. 1 1
      seedlet/assets/sass/base/_editor.scss
  4. 1 1
      seedlet/assets/sass/base/_reset.scss
  5. 1 1
      seedlet/style.css

+ 1 - 1
seedlet/assets/css/ie.css

@@ -1886,7 +1886,7 @@ a:focus {
 }
 
 a:active {
-	color: undefined;
+	color: #000000;
 }
 
 p.has-background.has-link-color:not(.has-background-background-color) a {

+ 1 - 1
seedlet/assets/css/style-editor.css

@@ -173,7 +173,7 @@ p.has-background.has-link-color:not(.has-background-background-color) a {
 }
 
 .has-link-color a {
-	border-bottom: 1px solid var(--wp--style--color--link);
+	border-bottom: 1px solid var(--wp--style--color--link, var(--global--color-primary));
 }
 
 button,

+ 1 - 1
seedlet/assets/sass/base/_editor.scss

@@ -42,7 +42,7 @@ a {
 	// If a custom link color has been assigned,
 	// switch the color of the bottom border too. 
 	.has-link-color & {
-		border-bottom: 1px solid var(--wp--style--color--link);
+		border-bottom: 1px solid var(--wp--style--color--link, var(--global--color-primary) );
 	}
 }
 

+ 1 - 1
seedlet/assets/sass/base/_reset.scss

@@ -90,7 +90,7 @@ a {
 	}
 
 	&:active {
-		color: var(--wp--style--color--link);
+		color: var(--wp--style--color--link, var(--global--color-primary));
 	}
 
 	// Enforce the custom link color even if a custom background color has been set.

+ 1 - 1
seedlet/style.css

@@ -992,7 +992,7 @@ a:hover, a:focus {
 }
 
 a:active {
-	color: var(--wp--style--color--link);
+	color: var(--wp--style--color--link, var(--global--color-primary));
 }
 
 p.has-background.has-link-color:not(.has-background-background-color) a {