Add themes copay-bitpay. Updates logo.png. Removes chrome-app

This commit is contained in:
Gustavo Maximiliano Cortez 2017-10-18 12:08:15 -03:00
parent 33f1a8780b
commit fc05b738bd
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
13 changed files with 45 additions and 140 deletions

1
.gitignore vendored
View File

@ -19,7 +19,6 @@ npm-debug.log*
## App
/desktop
/chrome-app
/config.xml
/ionic.config.json

View File

@ -11,8 +11,7 @@ var templates = {
'manifest.ionic-template.json': 'src/',
'.desktop': 'desktop/',
'setup-win.iss': 'desktop/',
'build-macos.sh': 'desktop/',
'manifest-template.json': 'chrome-app/'
'build-macos.sh': 'desktop/'
};
var configDir = process.argv[2] || 'copay';
var JSONheader = ' { ' + "\n" + ' "//":"Changes to this file will be overwritten",' + "\n" + ' "//":" Modify it in the app-template directory", ' + "\n";

View File

@ -2,7 +2,7 @@
"packageName": "bitpay",
"packageDescription": "Secure Bitcoin Wallet",
"packageNameId": "com.bitpay.wallet",
"statusBarColor": "#1e3186",
"themeColor": "#1e3186",
"userVisibleName": "BitPay",
"purposeLine": "Secure Bitcoin Wallet",
"bundleName": "wallet",

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,21 @@
/*
* BitPay Distribution SCSS overrides
*/
// Named Color Variables
// --------------------------------------------------
// Named colors makes it easy to reuse colors on various components.
// It's highly recommended to change the default colors
// to match your app's branding. Ionic uses a Sass map of
// colors so you can add, rename and remove colors as needed.
// The "primary" color is the only required color in the map.
$colors: (
primary: #1e3186,
secondary: #111b49,
danger: #ffa500,
light: #f4f4f4,
dark: #222
);
$text-color: #1e3186;

View File

@ -18,7 +18,7 @@
<preference name="DisallowOverscroll" value="true"/>
<preference name="HideKeyboardFormAccessoryBar" value="true"/>
<preference name="StatusBarBackgroundColor" value="*STATUSBARCOLOR*" />
<preference name="StatusBarBackgroundColor" value="*THEMECOLOR*" />
<preference name="BackupWebStorage" value="none"/>
<preference name="Orientation" value="default" />

View File

@ -2,7 +2,7 @@
"packageName": "copay",
"packageDescription": "Copay Bitcoin Wallet",
"packageNameId": "com.bitpay.copay",
"statusBarColor": "#192c3a",
"themeColor": "#192c3a",
"userVisibleName": "Copay",
"purposeLine": "Copay Bitcoin Wallet",
"bundleName": "copay",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -2,74 +2,21 @@
* Copay Distribution SCSS overrides
*/
/* Colors */
$v-primary-color: #192c3a;
$v-secondary-color: #31465b;
$v-accent-color: #1abb9b;
// Named Color Variables
// --------------------------------------------------
// Named colors makes it easy to reuse colors on various components.
// It's highly recommended to change the default colors
// to match your app's branding. Ionic uses a Sass map of
// colors so you can add, rename and remove colors as needed.
// The "primary" color is the only required color in the map.
$v-text-primary-color: #192c3a;
$v-text-secondary-color: #c2c9d1;
$v-text-accent-color: #1abb9b;
$colors: (
primary: #192c3a,
secondary: #31465b,
danger: #bb331a,
light: #f4f4f4,
dark: #222
);
$v-success-color: #1abb9b;
$v-warning-color: #bb331a;
$text-color: #192c3a;
/* Theme */
$v-default-wallet-color-index: 6;
$v-top-tabs-color: $v-accent-color;
$v-wallet-backup-phrase-color: $v-text-primary-color;
$v-wallet-backup-select-phrase-color: $v-secondary-color;
$v-wallet-backup-select-word-bg: $v-accent-color;
$v-wallet-backup-select-word-color: $v-text-primary-color;
$v-wallet-backup-select-word-disabled-color: $v-accent-color;
$v-tou-bg: $v-secondary-color;
$v-tou-color: $v-text-secondary-color;
$v-icon-border-radius: 3px;
$v-bitcoin-icon: url('../img/app/icon-bitcoin.svg');
$v-button-primary-outline-active-color: $v-text-primary-color;
$v-button-secondary-bg: $v-secondary-color;
$v-button-secondary-color: $v-accent-color;
$v-button-secondary-active-bg: darken($v-secondary-color, 10%);
$v-button-secondary-clear-color: $v-accent-color;
$v-button-secondary-outline-border: $v-accent-color;
$v-button-secondary-outline-color: $v-accent-color;
$v-button-secondary-outline-active-bg: darken($v-accent-color, 10%);
$v-button-secondary-outline-active-color: $v-accent-color;
/* Slide */
$v-slide-bg-color: $v-accent-color;
$v-slider-bg-color: #069074;
$v-slide-text-color: #FFFFFF;
/* Onboarding */
$v-onboarding-welcome-bg: none;
$v-onboarding-color: $v-text-secondary-color;
$v-onboarding-bar-header-color: $v-text-primary-color;
$v-onboarding-bar-header-button-color: $v-accent-color;
$v-onboarding-tour-phone-bg: url(../img/app/onboarding/tour-phone.svg);
$v-onboarding-tour-currency-bg: url(../img/app/onboarding/tour-currency.svg);
$v-onboarding-tour-control-bg: url(../img/app/onboarding/tour-control.svg);
$v-onboarding-push-notification-bg: url(../img/app/onboarding/push-notifications.svg);
$v-onboarding-backup-warning-bg: url(../img/app/backup-warning.svg);
$v-onboarding-button-back-color: $v-accent-color;
$v-onboarding-button-secondary-bg: $v-secondary-color;
$v-onboarding-button-secondary-color: $v-accent-color;
$v-onboarding-button-secondary-active-bg: darken($v-secondary-color, 10%);
$v-onboarding-button-secondary-clear-color: $v-accent-color;
$v-onboarding-button-secondary-outline-border: $v-accent-color;
$v-onboarding-button-secondary-outline-color: $v-accent-color;
$v-onboarding-button-secondary-outline-active-bg: darken($v-accent-color, 10%);
$v-onboarding-button-secondary-outline-active-color: $v-accent-color;
/* Main tabs */
$v-tab-home-selected-icon: url('../img/app/tab-icons/ico-home-selected.svg');
$v-tab-receive-selected-icon: url('../img/app/tab-icons/ico-receive-selected.svg');
$v-tab-settings-selected-icon: url('../img/app/tab-icons/ico-settings-selected.svg');
$v-tab-scan-selected-icon: url('../img/app/tab-icons/ico-scan-selected.svg');
$v-tab-send-selected-icon: url('../img/app/tab-icons/ico-send-selected.svg');

View File

@ -9,7 +9,7 @@
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#4e8ef7">
<meta name="theme-color" content="*THEMECOLOR*">
<!-- cordova.js required for cordova apps -->
<script src="cordova.js"></script>

View File

@ -1,21 +0,0 @@
{
"manifest_version": 2,
"name": "*PACKAGENAME*",
"description": "*DESCRIPTION*",
"version": "*VERSION*",
"permissions": [
"storage",
"unlimitedStorage",
"notifications",
"videoCapture",
"webview"
],
"app": {
"background": {
"scripts": ["initial.js"]
}
},
"icons": {
"128": "assets/img/icon-chrome-128.png"
}
}

View File

@ -5,9 +5,9 @@
"display": "standalone",
"icons": [{
"src": "assets/img/app/logo.png",
"sizes": "512x512",
"sizes": "150x65",
"type": "image/png"
}],
"background_color": "#4e8ef7",
"theme_color": "#4e8ef7"
"background_color": "*THEMECOLOR*",
"theme_color": "*THEMECOLOR*"
}

View File

@ -20,46 +20,6 @@ $app-direction: ltr;
// http://ionicframework.com/docs/theming/overriding-ionic-variables/
// Named Color Variables
// --------------------------------------------------
// Named colors makes it easy to reuse colors on various components.
// It's highly recommended to change the default colors
// to match your app's branding. Ionic uses a Sass map of
// colors so you can add, rename and remove colors as needed.
// The "primary" color is the only required color in the map.
$colors: (
primary: #488aff,
secondary: #32db64,
danger: #f53d3d,
light: #f4f4f4,
dark: #222
);
// TODO: Custom variables (backward compatibilities). Will be REMOVED
$v-primary-color: #192c3a;
$v-secondary-color: #31465b;
$v-accent-color: #1abb9b;
$v-dark-gray: #445 !default;
$v-mid-gray: #667 !default;
$v-light-gray: #9b9bab !default;
$v-title-gray: #c2c9d1 !default;
$v-subtle-gray: darken(#ffffff, 5%) !default;
$v-btn-active-color: #148e76;
$v-background-warning: #ffa500;
$v-background-success: #1abb9b;
$v-onboarding-color: #ffffff !default;
$v-onboarding-bar-header-color: #ffffff !default;
$v-onboarding-bar-header-button-color: #ffffff !default;
$v-onboarding-gradient-top-color: $v-primary-color !default;
$v-onboarding-gradient-bottom-color: $v-secondary-color !default;
$v-onboarding-checkbox-on-border: $v-accent-color;
$v-button-primary-bg: $v-accent-color !default;
$v-visible-radius: 6px !default;
// App iOS Variables
// --------------------------------------------------
@ -67,12 +27,12 @@ $v-visible-radius: 6px !default;
// App Material Design Variables
// --------------------------------------------------
// Material Design only Sass variables can go here
// App Windows Variables
// --------------------------------------------------
// Windows only Sass variables can go here