[epiphany/wip/exalm/css-fix] css: Fix a copy-paste error




commit 99a4a633eafdfd4bdf0e81329e618555a36cde66
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Aug 19 22:47:53 2020 +0500

    css: Fix a copy-paste error
    
    themecolor($color) is wrong anre results in stuff like @#123456. It's
    supposed to only accept strings. If we already have a color, there's no
    need for any conversion.

 src/resources/themes/Adwaita-dark.css             | 8 ++++----
 src/resources/themes/Adwaita.css                  | 8 ++++----
 src/resources/themes/HighContrast.css             | 8 ++++----
 src/resources/themes/HighContrastInverse.css      | 8 ++++----
 src/resources/themes/_Adwaita-colored-window.scss | 4 ++--
 5 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/src/resources/themes/Adwaita-dark.css b/src/resources/themes/Adwaita-dark.css
index eba2478ee..69d2a5e54 100644
--- a/src/resources/themes/Adwaita-dark.css
+++ b/src/resources/themes/Adwaita-dark.css
@@ -82,11 +82,11 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 
 .incognito-mode headerbar { background: #141927 linear-gradient(to top, #1a2235, #1e263b); box-shadow: inset 
0 1px rgba(231, 234, 243, 0.07); border-color: #06080c; }
 
-.incognito-mode headerbar > clamp { color: @#e7eaf3; }
+.incognito-mode headerbar > clamp { color: #e7eaf3; }
 
 .incognito-mode headerbar:backdrop { background-image: image(#252f49); border-color: #171d2e; box-shadow: 
inset 0 1px rgba(231, 234, 243, 0.07); }
 
-.incognito-mode headerbar:backdrop > clamp { color: @#868d9e; }
+.incognito-mode headerbar:backdrop > clamp { color: #868d9e; }
 
 .incognito-mode actionbar { background: #252f49; }
 
@@ -156,11 +156,11 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 
 .automation-mode headerbar { background: #e68700 linear-gradient(to top, #fa9300, #ff9805); box-shadow: 
inset 0 1px rgba(255, 240, 219, 0.07); border-color: #bd6f00; }
 
-.automation-mode headerbar > clamp { color: @#fff0db; }
+.automation-mode headerbar > clamp { color: #fff0db; }
 
 .automation-mode headerbar:backdrop { background-image: image(#ffa11a); border-color: #eb8c05; box-shadow: 
inset 0 1px rgba(255, 240, 219, 0.07); }
 
-.automation-mode headerbar:backdrop > clamp { color: @#ffc87a; }
+.automation-mode headerbar:backdrop > clamp { color: #ffc87a; }
 
 .automation-mode actionbar { background: #ffa11a; }
 
diff --git a/src/resources/themes/Adwaita.css b/src/resources/themes/Adwaita.css
index eeb08e5ba..413ea6d7f 100644
--- a/src/resources/themes/Adwaita.css
+++ b/src/resources/themes/Adwaita.css
@@ -82,11 +82,11 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 
 .incognito-mode headerbar { background: #c4d6e9 linear-gradient(to top, #bdd1e6, #c8d9ea); box-shadow: inset 
0 1px rgba(255, 255, 255, 0.8); border-color: #91b2d6; }
 
-.incognito-mode headerbar > clamp { color: @#1b3149; }
+.incognito-mode headerbar > clamp { color: #1b3149; }
 
 .incognito-mode headerbar:backdrop { background-image: image(#eaf0f7); border-color: #b4cbe3; box-shadow: 
inset 0 1px rgba(255, 255, 255, 0.8); }
 
-.incognito-mode headerbar:backdrop > clamp { color: @#8291a0; }
+.incognito-mode headerbar:backdrop > clamp { color: #8291a0; }
 
 .incognito-mode actionbar { background: #eaf0f7; }
 
@@ -156,11 +156,11 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 
 .automation-mode headerbar { background: #e68700 linear-gradient(to top, #db8100, #eb8a00); box-shadow: 
inset 0 1px rgba(255, 255, 255, 0.8); border-color: #9e5d00; }
 
-.automation-mode headerbar > clamp { color: @#643b00; }
+.automation-mode headerbar > clamp { color: #643b00; }
 
 .automation-mode headerbar:backdrop { background-image: image(#ffa11a); border-color: #ca7905; box-shadow: 
inset 0 1px rgba(255, 255, 255, 0.8); }
 
-.automation-mode headerbar:backdrop > clamp { color: @#b26e0d; }
+.automation-mode headerbar:backdrop > clamp { color: #b26e0d; }
 
 .automation-mode actionbar { background: #ffa11a; }
 
diff --git a/src/resources/themes/HighContrast.css b/src/resources/themes/HighContrast.css
index acfce5c42..605f6fdce 100644
--- a/src/resources/themes/HighContrast.css
+++ b/src/resources/themes/HighContrast.css
@@ -82,11 +82,11 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 
 .incognito-mode headerbar { background: #d0deed linear-gradient(to top, #c8d9ea, #d3e0ef); box-shadow: inset 
0 1px rgba(255, 255, 255, 0.8); border-color: #345d8a; }
 
-.incognito-mode headerbar > clamp { color: @#172a3e; }
+.incognito-mode headerbar > clamp { color: #172a3e; }
 
 .incognito-mode headerbar:backdrop { background-image: image(#f5f8fb); border-color: #b4cbe3; box-shadow: 
inset 0 1px rgba(255, 255, 255, 0.8); }
 
-.incognito-mode headerbar:backdrop > clamp { color: @#8291a0; }
+.incognito-mode headerbar:backdrop > clamp { color: #8291a0; }
 
 .incognito-mode actionbar { background: #f5f8fb; }
 
@@ -156,11 +156,11 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 
 .automation-mode headerbar { background: #f59000 linear-gradient(to top, #eb8a00, #fa9300); box-shadow: 
inset 0 1px rgba(255, 255, 255, 0.8); border-color: black; }
 
-.automation-mode headerbar > clamp { color: @#553200; }
+.automation-mode headerbar > clamp { color: #553200; }
 
 .automation-mode headerbar:backdrop { background-image: image(#ffa729); border-color: #ca7905; box-shadow: 
inset 0 1px rgba(255, 255, 255, 0.8); }
 
-.automation-mode headerbar:backdrop > clamp { color: @#b26e0d; }
+.automation-mode headerbar:backdrop > clamp { color: #b26e0d; }
 
 .automation-mode actionbar { background: #ffa729; }
 
diff --git a/src/resources/themes/HighContrastInverse.css b/src/resources/themes/HighContrastInverse.css
index c876f5bc2..b7926adac 100644
--- a/src/resources/themes/HighContrastInverse.css
+++ b/src/resources/themes/HighContrastInverse.css
@@ -82,11 +82,11 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 
 .incognito-mode headerbar { background: #101520 linear-gradient(to top, #171d2e, #1a2235); box-shadow: inset 
0 1px rgba(231, 234, 243, 0.07); border-color: #36456b; }
 
-.incognito-mode headerbar > clamp { color: @#eef0f6; }
+.incognito-mode headerbar > clamp { color: #eef0f6; }
 
 .incognito-mode headerbar:backdrop { background-image: image(#212b42); border-color: #171d2e; box-shadow: 
inset 0 1px rgba(231, 234, 243, 0.07); }
 
-.incognito-mode headerbar:backdrop > clamp { color: @#868d9e; }
+.incognito-mode headerbar:backdrop > clamp { color: #868d9e; }
 
 .incognito-mode actionbar { background: #212b42; }
 
@@ -156,11 +156,11 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 
 .automation-mode headerbar { background: #db8100 linear-gradient(to top, #f08d00, #fa9300); box-shadow: 
inset 0 1px rgba(255, 240, 219, 0.07); border-color: #ffb64d; }
 
-.automation-mode headerbar > clamp { color: @#fff4e5; }
+.automation-mode headerbar > clamp { color: #fff4e5; }
 
 .automation-mode headerbar:backdrop { background-image: image(#ff9c0f); border-color: #eb8c05; box-shadow: 
inset 0 1px rgba(255, 240, 219, 0.07); }
 
-.automation-mode headerbar:backdrop > clamp { color: @#ffc87a; }
+.automation-mode headerbar:backdrop > clamp { color: #ffc87a; }
 
 .automation-mode actionbar { background: #ff9c0f; }
 
diff --git a/src/resources/themes/_Adwaita-colored-window.scss 
b/src/resources/themes/_Adwaita-colored-window.scss
index 5567e9362..2bf349b78 100644
--- a/src/resources/themes/_Adwaita-colored-window.scss
+++ b/src/resources/themes/_Adwaita-colored-window.scss
@@ -40,7 +40,7 @@ headerbar {
   border-color: $alt_borders_color;
 
   > clamp {
-    color: themecolor($fg_color);
+    color: $fg_color;
   }
 
   &:backdrop {
@@ -49,7 +49,7 @@ headerbar {
     box-shadow: inset 0 1px $top_hilight;
 
     > clamp {
-      color: themecolor($backdrop_fg_color);
+      color: $backdrop_fg_color;
     }
   }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]