forked from sproutcore/showcase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.js
28 lines (25 loc) · 1.01 KB
/
theme.js
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
// ==========================================================================
// Project: Showcase
// Copyright: ©2012 7x7 Software, Inc.
// License: Licensed under MIT license
// ==========================================================================
/*globals Showcase */
// This is the theme that defines how your app renders.
//
// Your app is given its own theme so it is easier and less
// messy for you to override specific things just for your
// app.
//
// You don't have to create the whole theme on your own, though:
// your app's theme is based on SproutCore's Ace theme.
//
// NOTE: if you want to change the theme this one is based on, don't
// forget to change the :css_theme property in your buildfile.
Showcase.Theme = SC.AceTheme.create({
name: 'showcase'
});
// SproutCore needs to know that your app's theme exists
SC.Theme.addTheme(Showcase.Theme);
// Setting it as the default theme makes every pane SproutCore
// creates default to this theme unless otherwise specified.
SC.defaultTheme = 'showcase';