aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OC/theme.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-14 11:14:29 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-14 11:14:29 +0200
commit0f3e438f7cab87514be3896bb8acdc05defdef14 (patch)
tree75e44065584f0d169e63d61711e6816412f17133 /core/src/OC/theme.js
parentc41aa7a20929118ce1092c603f709d06aef1da57 (diff)
downloadnextcloud-server-0f3e438f7cab87514be3896bb8acdc05defdef14.tar.gz
nextcloud-server-0f3e438f7cab87514be3896bb8acdc05defdef14.zip
Move OC.theme to the bundle and deprecate oc_defaults
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/OC/theme.js')
-rw-r--r--core/src/OC/theme.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/src/OC/theme.js b/core/src/OC/theme.js
new file mode 100644
index 00000000000..8e49499f485
--- /dev/null
+++ b/core/src/OC/theme.js
@@ -0,0 +1,22 @@
+/*
+ * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
+ *
+ * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+export const theme = window._theme || {}