Revert "Removed theming support"

This reverts commit 4aa1f18ff7.
This commit is contained in:
Oliver Hamlet
2016-07-12 21:52:17 +01:00
parent d87847bd14
commit ac642390a0
6 changed files with 125 additions and 0 deletions
+4
View File
@@ -111,6 +111,10 @@ function createAppArchive(rootPath, releasePath, tempPath, destPath) {
path.join(releasePath, 'resources', 'ui', 'index.html'),
path.join(tempPath, 'resources', 'ui', 'index.html')
);
fs.copySync(
path.join(rootPath, 'resources', 'ui', 'css', 'dark-theme.css'),
path.join(tempPath, 'resources', 'ui', 'css', 'dark-theme.css')
);
fs.copySync(
path.join(rootPath, 'resources', 'ui', 'fonts'),
path.join(tempPath, 'resources', 'ui', 'fonts')
+2
View File
@@ -107,6 +107,8 @@ DestDir: "{app}\docs\images"; Flags: ignoreversion
Source: "{#buildir}\Release\resources\ui\index.html"; \
DestDir: "{app}\resources\ui"; Flags: ignoreversion
Source: "resources\ui\css\dark-theme.css"; \
DestDir: "{app}\resources\ui\css"; Flags: ignoreversion
Source: "resources\ui\fonts\*"; \
DestDir: "{app}\resources\ui\fonts"; Flags: ignoreversion
+3
View File
@@ -21,6 +21,9 @@ if (process.argv.length > 3) {
const vulcanize = new Vulcanize({
inlineScripts: true,
inlineCss: true,
excludes: [
'css/theme.css',
],
});
function mkdir(dir) {