summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-06-18 19:18:20 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-07-08 21:01:34 +0000
commit6a7e32e1b6bea253f6484136beaf21c3df0de535 (patch)
tree3c95f52c150518add2b9e5d2a1d786e78b40f19d /share
parentDisplay spiro pen preview right after backspace (diff)
downloadinkscape-6a7e32e1b6bea253f6484136beaf21c3df0de535.tar.gz
inkscape-6a7e32e1b6bea253f6484136beaf21c3df0de535.zip
Initial code to fix
Diffstat (limited to 'share')
-rw-r--r--share/icons/nextgen/highlights.css3
-rw-r--r--share/ui/style.css23
2 files changed, 26 insertions, 0 deletions
diff --git a/share/icons/nextgen/highlights.css b/share/icons/nextgen/highlights.css
new file mode 100644
index 000000000..ba5798707
--- /dev/null
+++ b/share/icons/nextgen/highlights.css
@@ -0,0 +1,3 @@
+.success { fill:#FFCE00; }
+.warning { fill:#00FF48; }
+.error { fill:#FF00DB; }
diff --git a/share/ui/style.css b/share/ui/style.css
index 120a5adb4..a1bb7d77b 100644
--- a/share/ui/style.css
+++ b/share/ui/style.css
@@ -130,6 +130,29 @@ image {
/* 'widget' for Gtk <= 3.19.2 */
+
+/*
+*to get system default colors
+* with Gdk::RGBA success =_symbolic_error_color.get_style_context()->get_color();
+* _symbolic_error_color has one of this calsses applied
+*/
+
+.system_error_color {
+ color: @error_color;
+}
+
+.system_warning_color {
+ color: @warning_color;
+}
+
+.system_success_color {
+ color: @success_color;
+}
+
+.system_normal_color {
+ color: @theme_fg_color;
+}
+
GtkWidget,
widget {
/* font-size: 12pt; */