/***********************************************************************
 * green.css - J-Pilot green theme
 *
 * A muted forest green.
 *
 * Only the accent is fixed here; every surface, border and text color
 * is derived from the system GTK theme in jpilot-common.css, so this
 * theme follows the desktop's light/dark setting.  To retint J-Pilot,
 * change jp_accent below -- nothing else needs to be touched.
 *
 * NOTE: this theme is not self-contained.  If you copy it into
 * ~/.jpilot/ to customize it, copy jpilot-common.css alongside it --
 * the @import below is resolved relative to this file's directory.
 ***********************************************************************/

@define-color jp_accent    #619e7a;

/* Dark rather than white, unlike the other themes.  This green is light
   enough that white text on it measures only 3.14:1, below the 4.5:1
   WCAG AA threshold for normal text, and jp_accent_fg is what selected
   record rows are drawn in.  Dark text on the same green measures
   5.54:1.  If the accent is ever darkened, switch this back to #ffffff. */
@define-color jp_accent_fg #1a1a1a;

/* Checkmark/dot glyph: green's accent text is already dark, so reuse it. */
@define-color jp_check_fg  @jp_accent_fg;

/* Tint the window and its chrome with the theme hue.  Raise the
   factor for a stronger wash, or set this to plain @theme_bg_color
   for an untinted, neutral look. */
@define-color jp_chrome    mix(@theme_bg_color, @jp_accent, 0.32);

/* A much lighter wash for the surfaces the user reads: the record
   list, text entries, note fields and the calendar grid.  Kept far
   weaker than the chrome tint so text contrast stays high -- this
   is the pale tint the classic themes used for content. */
@define-color jp_content   mix(@theme_base_color, @jp_accent, 0.10);

@import url("jpilot-common.css");
