HighContrastLargeprint.gtkrc



Hi:

Attached is a gtkrc file that provides a nascent high-contrast,
large-print "RC" theme for use with the default GTK+ theme.

I would like to commit this theme to gtk-engines, if the maintainer
(Owen?) would let me know where it should live
(gtk-engines/metal/Theme/gtk-2.0/HighContrastLargeprint.gtkrc ?) I will
prepare a patch.

Still required for accessibility but outstanding: themeability of icon
sizes and icon contrasts, and size allocation for GtkTreeView needs some
changes for wider focus widths (am working on that at the moment, but
need input from JRB).

Thanks,

Bill
# High-Contrast, Large Print Theme v0.1
# This is the whole basic theme, just this one gtkrc file.
# It uses components of the standard theme engine
# Written by Bill Haneman, based on Standard theme by T. Liebeck, 
# which was in turn based on lots of different gtkrc files but
# primarily the one for the metal theme.
# email: bill haneman sun com

gtk-cursor-aspect-ratio = 0.1

style "default"
{
  font_name = "sans 18"

  GtkWidget::focus-line-width = 4
  GtkWidget::focus-line-pattern = "\10\2"
  GtkWidget::interior_focus = 1
  GtkWidget::focus-padding = 0
  GtkEntry::cursor_color    = { 0.80, 0.00, 0.00 }
  GtkRange::slider_width = 20

  fg[NORMAL]      = { 0.00, 0.00, 0.00 }
  text[NORMAL]      = { 0.00, 0.00, 0.00 }
  bg[NORMAL]      = { 1.00, 1.00, 1.00 }
  base[NORMAL]    = { 1.00, 1.00, 1.00 }

  fg[INSENSITIVE]      = { 0.6, 0.6, 0.6 }
  bg[INSENSITIVE]      = { 0.75, 0.75, 0.77 }
  base[INSENSITIVE]      = { 0.75, 0.75, 0.77 }

  fg[PRELIGHT]    = { 0.80, 0.80, 1.00 }
  text[PRELIGHT]    = { 0.80, 0.80, 1.00 }
  bg[PRELIGHT]    = { 0.00, 0.00, 0.00 }
  base[PRELIGHT]    = { 0.00, 0.00, 0.00 }

  fg[ACTIVE]      = { 0.00, 0.00, 0.00 }
  text[ACTIVE]      = { 0.00, 0.00, 0.00 }
  bg[ACTIVE]      = { 0.65, 0.65, 0.50 }
  base[ACTIVE]      = { 0.65, 0.65, 0.50 }

  fg[SELECTED]    = { 1.00, 1.00, 1.00 }
  text[SELECTED]    = { 1.00, 1.00, 1.00 }
  bg[SELECTED]    = { 0.00, 0.00, 0.00 }
  base[SELECTED]    = { 0.10, 0.20, 0.20 }

  xthickness = 3
  ythickness = 3
 
}

class "GtkWidget" style "default"


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