[gnome-themes-standard] Add high contrast theme.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Add high contrast theme.
- Date: Sun, 27 Feb 2011 18:58:49 +0000 (UTC)
commit d43aba06b9c693f062c9055f00e74624e3770310
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Feb 27 19:39:11 2011 +0100
Add high contrast theme.
configure.ac | 2 +
po/POTFILES.in | 1 +
themes/HighContrast/Makefile.am | 15 ++++++
themes/HighContrast/gtk-3.0/Makefile.am | 7 +++
themes/HighContrast/gtk-3.0/gtk.css | 83 +++++++++++++++++++++++++++++++
themes/HighContrast/index.theme.in | 10 ++++
themes/Makefile.am | 2 +-
7 files changed, 119 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3950783..740d4b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,6 +52,8 @@ themes/Adwaita/gtk-3.0/Makefile
themes/Adwaita/metacity-1/Makefile
themes/AdwaitaLowContrast/Makefile
themes/AdwaitaLowContrast/gtk-3.0/Makefile
+themes/HighContrast/Makefile
+themes/HighContrast/gtk-3.0/Makefile
src/Makefile
po/Makefile.in
])
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5437291..5945330 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,3 +3,4 @@
themes/Adwaita/backgrounds/adwaita.xml.in.in
themes/Adwaita/index.theme.in
themes/AdwaitaLowContrast/index.theme.in
+themes/HighContrast/index.theme.in
diff --git a/themes/HighContrast/Makefile.am b/themes/HighContrast/Makefile.am
new file mode 100644
index 0000000..90334f1
--- /dev/null
+++ b/themes/HighContrast/Makefile.am
@@ -0,0 +1,15 @@
+SUBDIRS = gtk-3.0
+
+THEME_NAME=AdwaitaHighContrast
+THEME_IN_FILES=index.theme.in
+
+%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
+
+themedir = $(datadir)/themes/$(THEME_NAME)
+
+theme_DATA = index.theme
+
+DISTCLEANFILES = index.theme
+EXTRA_DIST = index.theme.in index.theme
+
+-include $(top_srcdir)/git.mk
diff --git a/themes/HighContrast/gtk-3.0/Makefile.am b/themes/HighContrast/gtk-3.0/Makefile.am
new file mode 100644
index 0000000..67bd2c8
--- /dev/null
+++ b/themes/HighContrast/gtk-3.0/Makefile.am
@@ -0,0 +1,7 @@
+themedir = $(datadir)/themes/HighContrast/gtk-3.0
+theme_DATA = \
+ gtk.css
+
+EXTRA_DIST = $(theme_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/themes/HighContrast/gtk-3.0/gtk.css b/themes/HighContrast/gtk-3.0/gtk.css
new file mode 100644
index 0000000..c9ba263
--- /dev/null
+++ b/themes/HighContrast/gtk-3.0/gtk.css
@@ -0,0 +1,83 @@
+* {
+ -EelEditableLabel-cursor-aspect-ratio: 0.1;
+ -EelEditableLabel-cursor-color: #cc0000;
+
+ -GtkRange-stepper-size: 20;
+
+ -GtkTreeView-expander-size: 16;
+
+ -GtkWidget-cursor-color: #cc0000;
+ -GtkWidget-cursor-aspect-ratio: 0.1;
+ -GtkWidget-focus-line-width: 2;
+ -GtkWidget-focus-padding: 0;
+ -GtkWidget-interior-focus: 1;
+ -GtkWidget-link-color: #000060;
+ -GtkWidget-visited-link-color: #600000;
+
+ /* Nautilus */
+ -NautilusIconContainer-frame-text: 1;
+
+ /* Pidgin */
+ -GtkIMHtml-hyperlink-color: #000060;
+ -GtkIMHtml-hyperlink-visited-color: #600000;
+ -GtkIMHtml-hyperlink-prelight-color: #404080;
+
+ /* Evolution */
+ -GtkHTML-link-color: #000060;
+ -GtkHTML-vlink-color: #600000;
+ -GtkHTML-cite-color: #003000;
+
+ background-color: #fff;
+ border-color: #000;
+ color: #000;
+}
+
+*:hover {
+ color: #fff;
+ background-color: #000;
+ border-color: #ccf;
+}
+
+*:insensitive {
+ color: #999;
+ background-color: #ccf;
+ border-color: #999;
+}
+
+.notebook,
+.button,
+.trough {
+ border-width: 2;
+ border-style: solid;
+}
+
+.trough {
+ background-color: #b8b891;
+ color: #000;
+}
+
+tab {
+ background-color: #b8b891;
+}
+
+tab:active,
+row:hover {
+ background-color: #fff;
+ color: #000;
+}
+
+*:selected {
+ background-color: #b8b891;
+ color: #000;
+}
+
+*:selected:focused {
+ background-color: #000;
+ color: #fff;
+}
+
+.button:prelight:active {
+ background-color: #999;
+ border-color: #000;
+ color: #000;
+}
\ No newline at end of file
diff --git a/themes/HighContrast/index.theme.in b/themes/HighContrast/index.theme.in
new file mode 100644
index 0000000..8775c2e
--- /dev/null
+++ b/themes/HighContrast/index.theme.in
@@ -0,0 +1,10 @@
+[X-GNOME-Metatheme]
+_Name=High Contrast
+Type=X-GNOME-Metatheme
+_Comment=High contrast theme
+Encoding=UTF-8
+GtkTheme=HighContrast
+MetacityTheme=Adwaita
+IconTheme=gnome
+CursorTheme=Adwaita
+CursorSize=24
diff --git a/themes/Makefile.am b/themes/Makefile.am
index ddd970f..4495a48 100644
--- a/themes/Makefile.am
+++ b/themes/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = Adwaita AdwaitaLowContrast
+SUBDIRS = Adwaita AdwaitaLowContrast HighContrast
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]