Browse Source

add coment about building themes. removed log

pull/1418/head
NickMcSweeney 7 years ago
parent
commit
b49b1704ba
  1. 1
      app.js
  2. 2
      app.json

1
app.js

@ -1,7 +1,6 @@
var auth0, lock; // Auth0 vars
// load theme
console.log(localStorage.rambox_theme, Ext.isDebugEnabled);
if (localStorage.rambox_theme !== "default") Ext.util.CSS.swapStyleSheet("rambox-default-theme", `build/${localStorage.rambox_theme}/production/Rambox/resources/Rambox-all.css`);
// Enable Cookies

2
app.json

@ -26,6 +26,8 @@
/**
* The name of the theme for this application.
* NOTE: to build for alternate theme:
* change theme name -> run compile:build -> move into build/NAME sub-folder -> rename theme in this file to default & recompile
*/
"theme": "rambox-default-theme",

Loading…
Cancel
Save