[gtksourceview/wip/fix-styles] Fix the 'classic' style scheme with dark gtk theme
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/fix-styles] Fix the 'classic' style scheme with dark gtk theme
- Date: Thu, 6 Feb 2014 15:42:33 +0000 (UTC)
commit efc7e1953a01869d033a90f7cd682bb9f8b4b8a7
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Feb 6 16:28:39 2014 +0100
Fix the 'classic' style scheme with dark gtk theme
Do not take the color values from the gtk theme.
data/styles/classic.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/styles/classic.xml b/data/styles/classic.xml
index 621a454..0a2c6b8 100644
--- a/data/styles/classic.xml
+++ b/data/styles/classic.xml
@@ -42,8 +42,16 @@
<color name="yellow" value="#FFFF00"/>
<color name="purple" value="#A020F0"/>
+ <!-- See the Adwaita light theme. We copy the color values here so the style
+ scheme works also with a dark gtk+ theme. -->
+ <color name="text_color" value="#2e3436"/>
+ <color name="selected_bg_color" value="#4a90d9"/>
+
<!-- Global Settings -->
+ <style name="text" foreground="text_color" background="white"/>
+ <style name="selection" foreground="white" background="selected_bg_color"/>
<style name="current-line" background="#eeeeec"/>
+ <style name="line-numbers" foreground="text_color" background="white"/>
<style name="draw-spaces" foreground="#babdb6"/>
<!-- Bracket Matching -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]