summaryrefslogtreecommitdiffstats
path: root/web-gui/hello-world/source/class/hello_world/theme/Font.js
blob: 712c86fd3be8f1c10570ffc383146c8fd8d43b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* ************************************************************************

   Copyright: 2010 by Michael Olbrich <m.olbrich@pengutronix.de>

   License:
     To the extent possible under law, Pengutronix e.K. has
     waived all copyright and related or neighboring rights to
     JSON-DBus-Bridge Demo Code.

************************************************************************ */

qx.Theme.define("hello_world.theme.Font",
{
  extend : qx.theme.modern.Font,

  fonts :
  {
    "default" :
    {
      size : (qx.bom.client.System.WINVISTA || qx.bom.client.System.WIN7) ? 17 : 15,
      lineHeight : 1.4,
      family : qx.bom.client.Platform.MAC ? [ "Lucida Grande" ] :
        (qx.bom.client.System.WINVISTA || qx.bom.client.System.WIN7) ?
        [ "Segoe UI", "Candara" ] :
        [ "Tahoma", "Liberation Sans", "Arial", "sans-serif" ],
      bold : true
    }
  }
});