// vi:ft=cpp
/*
 * \brief   Document styles
 * \date    2005-10-24
 * \author  Norman Feske <norman.feske@genode-labs.com>
 */

/*
 * Copyright (C) 2005-2009
 * Genode Labs, Feske & Helmuth Systementwicklung GbR
 *
 * This file is part of the Genode OS framework, which is distributed
 * under the terms of the GNU General Public License version 2.
 */

#pragma once

#include <l4/scout-gfx/style>
#include <l4/mag-gfx/font>
#include <l4/scout-gfx/fonts>

using Scout_gfx::Style;
using Scout_gfx::Color;
using Mag_gfx::Font;

static Font &label_font      = Scout_gfx::Fonts::verabi10;
static Font &default_font    = Scout_gfx::Fonts::vera16;
static Font &italic_font     = Scout_gfx::Fonts::verai16;
static Font &mono_font       = Scout_gfx::Fonts::mono16;
static Font &chapter_font    = Scout_gfx::Fonts::vera24;
static Font &section_font    = Scout_gfx::Fonts::vera20;
static Font &subsection_font = Scout_gfx::Fonts::vera18;

static Color default_color  (0, 0, 0);
static Color text_color     (20, 20, 20);
static Color verbatim_bgcol (0, 0, 0, 26);

static Style plain_style      (&default_font, text_color, 0);
static Style bold_style       (&default_font, text_color, Style::ATTR_BOLD);
static Style mono_style       (&mono_font,    text_color, 0);
static Style italic_style     (&italic_font,  text_color, 0);

static Style link_style       (&default_font, Color(0, 0, 255), Style::ATTR_UNDERLINE);

static Style chapter_style    (&chapter_font,    default_color, 0);
static Style section_style    (&section_font,    default_color, 0);
static Style subsection_style (&subsection_font, default_color, 0);
static Style navbar_style     (&default_font,    Color(0, 0, 0, 127), 0);

