Themes - JavaScript Scheduler

The Scheduler comes with a default built-in theme and a pack of additional themes:

  • Blue
  • Green
  • Transparent
  • Traditional
  • White
  • Windows 8

You can set the theme using theme property:

<div id="dp"></div>
<script type="text/javascript">
  var dp = new DayPilot.Scheduler("dp");
  dp.theme = "scheduler_8";
  dp.init();
</script>

See also CSS themes [doc.daypilot.org].

Default CSS Theme

javascript scheduler default theme

  • You don't need to include any .css file (it is included in daypilot-all.min.js).
  • You can customize it in the theme designer. It is the starting configuration of a new scheduler theme.

Blue CSS Theme

javascript scheduler blue theme

  • Defined in themes/scheduler_blue.css.
  • Requires a wrapper around the scheduler div: 
<div class="scheduler_blue_wrap"><div class="scheduler_blue_wrap_inner">
  <div id="dp"></div>
</div></div>

Green CSS Theme

javascript scheduler green theme

  • Defined in themes/scheduler_green.css.

Traditional CSS Theme

javascript scheduler traditional theme

  • Defined in themes/scheduler_traditional.css.

Transparent CSS Theme

javascript scheduler transparent theme

  • Defined in themes/scheduler_transparent.css.

White CSS Theme

javascript scheduler white theme

  • Defined in themes/scheduler_white.css.

Windows 8 Theme

javascript scheduler windows 8 theme

  • Defined in themes/scheduler_8.css.