ソースを参照

Redhill: Remove `!important` flags from utility classes.

Allan Cole 5 年 前
コミット
37cae7f903
1 ファイル変更34 行追加34 行削除
  1. 34 34
      redhill/style-editor.css

+ 34 - 34
redhill/style-editor.css

@@ -1041,36 +1041,36 @@ table th,
 	line-height: 1.125;
 }
 
-.has-primary-color[class] {
-	color: #CA2017 !important;
+.has-primary-color {
+	color: #CA2017;
 }
 
-.has-secondary-color[class] {
-	color: #007FDB !important;
+.has-secondary-color {
+	color: #007FDB;
 }
 
-.has-foreground-color[class] {
-	color: #222222 !important;
+.has-foreground-color {
+	color: #222222;
 }
 
-.has-foreground-light-color[class] {
-	color: #666666 !important;
+.has-foreground-light-color {
+	color: #666666;
 }
 
-.has-foreground-dark-color[class] {
-	color: #111111 !important;
+.has-foreground-dark-color {
+	color: #111111;
 }
 
-.has-background-light-color[class] {
-	color: #FAFAFA !important;
+.has-background-light-color {
+	color: #FAFAFA;
 }
 
-.has-background-dark-color[class] {
-	color: #DDDDDD !important;
+.has-background-dark-color {
+	color: #DDDDDD;
 }
 
-.has-background-color[class] {
-	color: white !important;
+.has-background-color {
+	color: white;
 }
 
 .has-background:not(.has-background-background-color) a,
@@ -1078,48 +1078,48 @@ table th,
 	color: currentColor;
 }
 
-.has-primary-background-color[class] {
-	background-color: #CA2017 !important;
+.has-primary-background-color {
+	background-color: #CA2017;
 	color: white;
 }
 
-.has-primary-background-color[class] {
-	background-color: #CA2017 !important;
+.has-primary-background-color {
+	background-color: #CA2017;
 	color: white;
 }
 
-.has-secondary-background-color[class] {
-	background-color: #007FDB !important;
+.has-secondary-background-color {
+	background-color: #007FDB;
 	color: white;
 }
 
-.has-foreground-background-color[class] {
-	background-color: #222222 !important;
+.has-foreground-background-color {
+	background-color: #222222;
 	color: white;
 }
 
-.has-foreground-light-background-color[class] {
-	background-color: #666666 !important;
+.has-foreground-light-background-color {
+	background-color: #666666;
 	color: white;
 }
 
-.has-foreground-dark-background-color[class] {
-	background-color: #111111 !important;
+.has-foreground-dark-background-color {
+	background-color: #111111;
 	color: white;
 }
 
-.has-background-light-background-color[class] {
-	background-color: #FAFAFA !important;
+.has-background-light-background-color {
+	background-color: #FAFAFA;
 	color: #222222;
 }
 
-.has-background-dark-background-color[class] {
-	background-color: #DDDDDD !important;
+.has-background-dark-background-color {
+	background-color: #DDDDDD;
 	color: #222222;
 }
 
-.has-background-background-color[class] {
-	background-color: white !important;
+.has-background-background-color {
+	background-color: white;
 	color: #222222;
 }