summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-06-28 14:07:32 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-06-29 12:01:19 +0000
commite64c9f0ed046b274fbca9fc6bb5fe34cb799d52b (patch)
tree53c281a0df7178aa784dd2cc231beeb85732f9fa
parentMake ruler tickes line up with other GUI elements (e.g. grids). (diff)
downloadinkscape-e64c9f0ed046b274fbca9fc6bb5fe34cb799d52b.tar.gz
inkscape-e64c9f0ed046b274fbca9fc6bb5fe34cb799d52b.zip
Make tick color the symbolic icon color if symbolic icons are used.
-rw-r--r--src/inkscape.cpp2
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 1871bff85..cf19e6f97 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -426,7 +426,7 @@ Application::add_gtk_css()
// Use in case the special widgets have inverse theme background and symbolic
int colorset_inverse = colorset ^ 0xffffff00;
sp_svg_write_color(colornamed_inverse, sizeof(colornamed_inverse), colorset_inverse);
- css_str += "SPRuler, ruler-widget,";
+ css_str += "SPRuler, ruler-widget, #InkRuler, ";
css_str += ".bright image, .dark image";
css_str += "{color:";
css_str += colornamed;
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 98f60f89b..0fc56aef6 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -657,7 +657,7 @@ void InkscapePreferences::symbolicStyling()
// Use in case the special widgets have inverse theme background and symbolic
int colorset_inverse = colorset ^ 0xffffff00;
sp_svg_write_color(colornamed_inverse, sizeof(colornamed_inverse), colorset_inverse);
- css_str += "SPRuler, ruler-widget,";
+ css_str += "SPRuler, ruler-widget, #InkRuler, ";
css_str += ".bright image, .dark image";
css_str += "{color:";
css_str += colornamed;