1 
  2 /**
  3  * @class
  4  * SproutCore's Ace theme.
  5  */
  6 SC.AceTheme = SC.BaseTheme.create({
  7   name: "ace",
  8   description: "A SproutCore built-in theme by Alex Iskander and contributors. Only supports browsers that implement CSS3."
  9 });
 10 
 11 // register the theme with SproutCore
 12 SC.Theme.addTheme(SC.AceTheme);
 13 
 14 // SC.ButtonView variants
 15 SC.AceTheme.PointLeft = SC.AceTheme.subtheme("point-left", "point-left");
 16 SC.AceTheme.PointRight = SC.AceTheme.subtheme("point-right", "point-right");
 17 SC.AceTheme.Capsule = SC.AceTheme.subtheme("capsule", "capsule");
 18 
 19 // Dark Variant
 20 /**
 21  * @class SC.AceTheme.Dark
 22  * SproutCore's Ace theme's Dark Side. Used in popovers or wherever you
 23  * choose (use it by making the view or one of its parents have a
 24  * themeName of 'dark').
 25  */
 26 SC.AceTheme.Dark = SC.AceTheme.subtheme("dark");
 27 
 28 // for backwards-compatibility with apps that do not set their
 29 // own default theme:
 30 SC.defaultTheme = 'ace';
 31