Re: [g-a-devel]Question regarding theme compliance



muktha wrote:
> 
> Hi All,
> I'm looking into providing accessibility for some of the Gnome 2.0
> applications.
> As per my understanding, theme compliance is one of the requirements
> for accessibility.
> 
> As far as I know the following are the 4 types of high-contrast themes
> that need to be tested for accessibility :
> 
> White on Black with regular size fonts
> Black on White with regular size fonts
> White on Black with large fonts
> Black on Black with large fonts
> 
> There are couple of things that I need clarification on :
> 1. Are there any other themes that need to be supported in GNOME 2.0 ?


Yes, low-contrast themes need to be supported as well.

-Bill

> 2. How do I set these themes (through control-center ??) and test the
> applications??

At the moment there is only one gtkrc-based theme of this sort
available,
though creating new ones using it as a template should be a very
straightforward
matter.

I will attach the gtkrc file for the "high contrast large font" theme.

-Bill

> Thanks 'n Regards
> Muktha
> 
>   ------------------------------------------------------------------------
>                                Name: InterScan_Disclaimer.txt
>    InterScan_Disclaimer.txt    Type: Plain Text (text/plain)
>                            Encoding: 7bit
# 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

pixmap_path  "/home/billh/gnome/gtk+/gtk/stock-icons"

gtk-icon-menu-size = 32
gtk-icon-button-size = 32
gtk-icon-small-toolbar-size = 32
gtk-icon-large-toolbar-size = 48
gtk-icon-dnd-size = 48
gtk-icon-dialog-size = 64

style "default"
{
  font_name = "sans 18"

  GtkWidget::focus-line-pattern = "\10\2"
  GtkWidget::focus-line-width = 3
  GtkHSV::focus-line-pattern = "\0"
  GtkWidget::interior_focus = 1
  GtkWidget::focus-padding = 0
  GtkEntry::cursor_color    = { 0.80, 0.00, 0.00 }
  GtkRange::slider_width = 20
  GtkTreeView::expander_size = 20
#  GtkWidget::cursor_aspect_ratio = 0.1
  GtkTextView::cursor_aspect_ratio = 0.1
  GtkEntry::cursor_aspect_ratio = 0.1

  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 }

}

class "GtkWidget" style "default"



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