Skip to content

Commit 4c5881a

Browse files
committed
New changes.
1 parent ae4e0b9 commit 4c5881a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

themes/themes/red/index.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// This is the initialization script for this theme
2+
// Is optional
3+
exports.install = function() {
4+
5+
// Custom mapping
6+
F.map('/red-theme-style.css', '=red/public/css/default.css');
7+
// Try: http://127.0.0.1:8000/red-theme-style.css
8+
9+
console.log('RED THEME IS INITIALIZED');
10+
11+
// =red --> is a shortcut and the framework compiles it as `/app/themes/red/` path.
12+
// F.merge() is same as F.map()
13+
};

0 commit comments

Comments
 (0)