Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DDW-731] Remove non-formatted files #1445

Merged
merged 2 commits into from
Jul 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Changelog

### Fixes

- Removes files pushed without running Prettier ([PR 1445](https://github.com/input-output-hk/daedalus/pull/1445))
- Improved Stake pool tooltip positioning ([PR 1429](https://github.com/input-output-hk/daedalus/pull/1429))
- Moved the Tooltip logic from `StakePools.js` into `StakePoolsList.js` ([PR 1431](https://github.com/input-output-hk/daedalus/pull/1431))
- Added fine adjustments to the Stake Pools screen. ([PR 1420](https://github.com/input-output-hk/daedalus/pull/1420))
Expand Down
148 changes: 99 additions & 49 deletions source/renderer/app/themes/daedalus/cardano.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const rpAutocomplete = {
'--rp-autocomplete-placeholder-color': 'rgba(94, 96, 102, 0.5)',
'--rp-autocomplete-selected-word-box-bg-color': 'rgba(44, 187, 105, 0.9)',
'--rp-autocomplete-selected-word-text-color': '#fafbfc',
'--rp-autocomplete-selected-words-font-family': 'NotoSans-Regular, NotoSansCJKjp-Regular',
'--rp-autocomplete-selected-words-font-family':
'NotoSans-Regular, NotoSansCJKjp-Regular',
};

// BUBBLE
Expand Down Expand Up @@ -183,27 +184,32 @@ const rpCardanoTheme = {
const CARDANO_THEME_CONFIG = {
aboutWindow: {
'--theme-about-window-background-color': 'rgba(32, 34, 37, 0.96)',
'--theme-about-window-header-bottom-border-color': 'rgba(233, 244, 254, 0.3)',
'--theme-about-window-header-bottom-border-color':
'rgba(233, 244, 254, 0.3)',
'--theme-about-window-daedalus-icon-color': '#e9f4fe',
'--theme-about-window-cardano-icon-color': '#e9f4fe',
'--theme-about-window-title-varsion-color': '#e9f4fe',
'--theme-about-window-title-stroke-color': '#e9f4fe',
'--theme-about-window-content-color': '#fafbfc',
'--theme-about-window-content-text-color': 'rgba(250, 251, 252, 0.7)',
'--theme-about-window-content-bottom-border-color': 'rgba(233, 244, 254, 0.3)',
'--theme-about-window-content-bottom-border-color':
'rgba(233, 244, 254, 0.3)',
'--theme-about-window-icon-close-button-color': '#fff',
'--theme-about-window-icon-close-hover-background': 'rgba(0, 0, 0, 0.2)',
},
adaRedemption: {
'--theme-ada-redemption-headline-color': '#5e6066',
'--theme-ada-redemption-instructions-color': '#5e6066',
'--theme-ada-redemption-success-overlay-background-color': 'rgba(44, 187, 105, 0.88)',
'--theme-ada-redemption-success-overlay-background-color':
'rgba(44, 187, 105, 0.88)',
'--theme-ada-redemption-success-overlay-border-color': '#fafbfc',
'--theme-ada-redemption-success-overlay-message-color': '#fafbfc',
'--theme-ada-redemption-success-overlay-button-text-color': '#fafbfc',
'--theme-ada-redemption-success-overlay-button-text-color-hover': '#2cbb69',
'--theme-ada-redemption-success-overlay-button-background-color-hover': '#fafbfc',
'--theme-ada-redemption-disclaimer-background-color': 'rgba(171, 23, 0, 0.94)',
'--theme-ada-redemption-success-overlay-button-background-color-hover':
'#fafbfc',
'--theme-ada-redemption-disclaimer-background-color':
'rgba(171, 23, 0, 0.94)',
'--theme-ada-redemption-disclaimer-text-color': '#fafbfc',
'--theme-ada-redemption-disclaimer-checkbox-color-check': '#fafbfc',
'--theme-ada-redemption-disclaimer-checkbox-color-checked': '#fafbfc',
Expand All @@ -218,11 +224,16 @@ const CARDANO_THEME_CONFIG = {
'--theme-block-consolidation-text-highlight-color': '#fafbfc',
'--theme-block-consolidation-epochs-text-color': '#202225',
'--theme-block-consolidation-indicator-text-color': '#fafbfc',
'--theme-block-consolidation-indicator-container-background-color': 'rgba(0, 0, 0, 0.1)',
'--theme-block-consolidation-indicator-epochs-behind-background-color-1': '#fafbfc',
'--theme-block-consolidation-indicator-epochs-behind-background-color-2': 'rgba(250, 251, 252, 0)',
'--theme-block-consolidation-stripe-dark-1-background-color': 'rgba(224, 229, 234, 0.3)',
'--theme-block-consolidation-stripe-dark-2-background-color': 'rgba(250, 251, 252, 0.3)',
'--theme-block-consolidation-indicator-container-background-color':
'rgba(0, 0, 0, 0.1)',
'--theme-block-consolidation-indicator-epochs-behind-background-color-1':
'#fafbfc',
'--theme-block-consolidation-indicator-epochs-behind-background-color-2':
'rgba(250, 251, 252, 0)',
'--theme-block-consolidation-stripe-dark-1-background-color':
'rgba(224, 229, 234, 0.3)',
'--theme-block-consolidation-stripe-dark-2-background-color':
'rgba(250, 251, 252, 0.3)',
'--theme-block-consolidation-stripe-light-1-background-color': '#e0e5ea',
'--theme-block-consolidation-stripe-light-2-background-color': '#fafbfc',
'--theme-block-consolidation-button-background-color': 'rgba(0, 0, 0, 0.1)',
Expand All @@ -246,7 +257,8 @@ const CARDANO_THEME_CONFIG = {
'--theme-button-attention-background-color': '#ea4c5b',
'--theme-button-attention-background-color-hover': '#ec5d6b',
'--theme-button-attention-background-color-active': '#d34452',
'--theme-button-attention-background-color-disabled': 'rgba(234, 76, 91, 0.3)',
'--theme-button-attention-background-color-disabled':
'rgba(234, 76, 91, 0.3)',
'--theme-button-attention-text-color-disabled': '#fafbfc',
'--theme-button-attention-text-color': '#fafbfc',
'--theme-button-attention-outline-color': '#ff707e',
Expand All @@ -255,12 +267,14 @@ const CARDANO_THEME_CONFIG = {
'--theme-button-disclaimer-background-color': '#ab1700',
'--theme-button-disclaimer-background-color-hover': '#fafbfc',
'--theme-button-disclaimer-background-color-active': '#fafbfc',
'--theme-button-disclaimer-background-color-disabled': 'rgba(171, 23, 0, .3)',
'--theme-button-disclaimer-background-color-disabled':
'rgba(171, 23, 0, .3)',
'--theme-button-disclaimer-text-color-disabled': 'rgba(250, 251, 252, .3)',
'--theme-button-disclaimer-text-color': '#fafbfc',
'--theme-button-disclaimer-outline-color': 'rgba(250, 251, 252, .3)',
'--theme-button-disclaimer-border-color': '#fafbfc',
'--theme-button-disclaimer-border-color-disabled': 'rgba(250, 251, 252, .3)',
'--theme-button-disclaimer-border-color-disabled':
'rgba(250, 251, 252, .3)',
},
buttonFlat: {
'--theme-button-flat-background-color': '#f0f3f5',
Expand All @@ -275,7 +289,8 @@ const CARDANO_THEME_CONFIG = {
'--theme-button-primary-background-color': '#2cbb69',
'--theme-button-primary-background-color-hover': '#56c887',
'--theme-button-primary-background-color-active': '#239554',
'--theme-button-primary-background-color-disabled': 'rgba(44, 187, 105, 0.3)',
'--theme-button-primary-background-color-disabled':
'rgba(44, 187, 105, 0.3)',
'--theme-button-primary-text-color-disabled': '#fafbfc',
'--theme-button-primary-text-color': '#fafbfc',
'--theme-button-primary-outline-color': '#35de7e',
Expand All @@ -289,26 +304,37 @@ const CARDANO_THEME_CONFIG = {
'--theme-data-migration-layer-box-shadow-color': 'rgba(0, 0, 0, 0.25)',
'--theme-data-migration-layer-button-background-color-hover': '#fafbfc',
'--theme-data-migration-layer-text-color': '#fafbfc',
'--theme-data-migration-layer-text-opacity-color': 'rgba(250, 251, 252, 0.5)',
'--theme-data-migration-layer-text-opacity-color':
'rgba(250, 251, 252, 0.5)',
},
delegationSetupWizard: {
'--theme-delegation-steps-choose-wallet-custom-value-color': '#5e6066',
'--theme-delegation-steps-choose-wallet-description-color': 'rgba(94, 96, 102, 0.8)',
'--theme-delegation-steps-choose-wallet-description-highlighted-color': '#5e6066',
'--theme-delegation-steps-choose-wallet-error-message-color': 'rgba(234, 76, 91, 1)',
'--theme-delegation-steps-choose-wallet-error-message-light-color': 'rgba(234, 76, 91, 0.7)',
'--theme-delegation-steps-choose-wallet-error-select-options-color': '#5e6066',
'--theme-delegation-steps-choose-wallet-description-color':
'rgba(94, 96, 102, 0.8)',
'--theme-delegation-steps-choose-wallet-description-highlighted-color':
'#5e6066',
'--theme-delegation-steps-choose-wallet-error-message-color':
'rgba(234, 76, 91, 1)',
'--theme-delegation-steps-choose-wallet-error-message-light-color':
'rgba(234, 76, 91, 0.7)',
'--theme-delegation-steps-choose-wallet-error-select-options-color':
'#5e6066',
'--theme-delegation-steps-choose-wallet-steps-indicator-color': '#5e6066',
'--theme-delegation-steps-intro-content-text-color': 'rgba(94, 96, 102, 0.8)',
'--theme-delegation-steps-intro-content-text-color':
'rgba(94, 96, 102, 0.8)',
'--theme-delegation-steps-intro-divider-border-color': '#dfe4e8',
'--theme-delegation-steps-intro-link-color': 'rgba(28, 172, 99, 1)',
'--theme-delegation-steps-intro-list-label-color': '#5e6066',
'--theme-delegation-steps-intro-list-numbers-color': '#5e6066',
'--theme-delegation-steps-intro-list-optional-label-color': 'rgba(94, 96, 102, 0.5)',
'--theme-delegation-steps-not-available-description-text-color': 'rgba(94, 96, 102, 0.8)',
'--theme-delegation-steps-not-available-description-highlight-text-color': '#5e6066',
'--theme-delegation-steps-intro-list-optional-label-color':
'rgba(94, 96, 102, 0.5)',
'--theme-delegation-steps-not-available-description-text-color':
'rgba(94, 96, 102, 0.8)',
'--theme-delegation-steps-not-available-description-highlight-text-color':
'#5e6066',
'--theme-delegation-steps-not-available-icon-color': 'rgb(94, 96, 102)',
'--theme-delegation-steps-not-available-subtitle-text-color': 'rgba(94, 96, 102, 1)',
'--theme-delegation-steps-not-available-subtitle-text-color':
'rgba(94, 96, 102, 1)',
},
dialog: {
'--theme-dialog-choice-tabs-text-color': '#5e6066',
Expand Down Expand Up @@ -349,7 +375,8 @@ const CARDANO_THEME_CONFIG = {
'--theme-icon-ada-redemption-certificate-color': '#9eabbb',
'--theme-icon-ada-redemption-no-wallets': '#5e6066',
'--theme-icon-ada-summary-wallet-amount-symbol-color': '#5e6066',
'--theme-icon-ada-summary-wallet-pending-confirmation-symbol-color': '#5e6066',
'--theme-icon-ada-summary-wallet-pending-confirmation-symbol-color':
'#5e6066',
'--theme-icon-add-wallet-dialog-big-button-color': '#ababab',
'--theme-icon-copy-address-color': '#5e6066',
'--theme-icon-back-button-color': '#5e6066',
Expand Down Expand Up @@ -385,7 +412,8 @@ const CARDANO_THEME_CONFIG = {
},
manualUpdate: {
'--theme-manual-update-overlay-background-color': 'rgba(32, 34, 37, 0.96)',
'--theme-manual-update-overlay-button-background-color': 'rgba(0, 0, 0, 0.1)',
'--theme-manual-update-overlay-button-background-color':
'rgba(0, 0, 0, 0.1)',
'--theme-manual-update-overlay-button-background-color-hover': '#fafbfc',
'--theme-manual-update-overlay-button-border-color': '#fafbfc',
'--theme-manual-update-overlay-button-text-color-hover': '#202225',
Expand Down Expand Up @@ -423,9 +451,12 @@ const CARDANO_THEME_CONFIG = {
'--theme-network-window-transparent-color': 'transparent',
'--theme-network-window-border-color': 'rgba(255, 255, 255, 0.25)',
'--theme-network-window-button-text-color': '#282c31',
'--theme-network-window-button-background-color': 'rgba(250, 251, 252, 0.4)',
'--theme-network-window-button-background-color-hover': 'rgba(250, 251, 252, 0.6)',
'--theme-network-window-button-background-color-active': 'rgba(250, 251, 252, 0.8)',
'--theme-network-window-button-background-color':
'rgba(250, 251, 252, 0.4)',
'--theme-network-window-button-background-color-hover':
'rgba(250, 251, 252, 0.6)',
'--theme-network-window-button-background-color-active':
'rgba(250, 251, 252, 0.8)',
},
nodeUpdate: {
'--theme-node-update-background-color': '#efefef',
Expand All @@ -436,9 +467,12 @@ const CARDANO_THEME_CONFIG = {
'--theme-node-update-accept-button-background-color': '#56c887',
'--theme-node-update-accept-button-background-color-hover': '#2cbb69',
'--theme-node-update-accept-button-background-color-active': '#239554',
'--theme-node-update-deny-button-background-color': 'rgba(86, 200, 135, 0.3)',
'--theme-node-update-deny-button-background-color-hover': 'rgba(44, 187, 105, 0.3)',
'--theme-node-update-deny-button-background-color-active': 'rgba(35, 149, 84, 0.3)',
'--theme-node-update-deny-button-background-color':
'rgba(86, 200, 135, 0.3)',
'--theme-node-update-deny-button-background-color-hover':
'rgba(44, 187, 105, 0.3)',
'--theme-node-update-deny-button-background-color-active':
'rgba(35, 149, 84, 0.3)',
'--theme-node-update-button-text-color': '#fafbfc',
},
notification: {
Expand All @@ -447,19 +481,26 @@ const CARDANO_THEME_CONFIG = {
'--theme-legacy-badge-background-color': '#ab1700',
'--theme-legacy-notification-background-color': '#ab2712',
'--theme-legacy-notification-learn-more-button-text-color': '#fafbfc',
'--theme-legacy-notification-learn-more-button-background-color': 'rgba(250, 251, 252, 0.2)',
'--theme-legacy-notification-learn-more-button-background-color-hover': 'rgba(250, 251, 252, 0.3)',
'--theme-legacy-notification-learn-more-button-background-color-active': 'rgba(250, 251, 252, 0.4)',
'--theme-legacy-notification-learn-more-button-background-color':
'rgba(250, 251, 252, 0.2)',
'--theme-legacy-notification-learn-more-button-background-color-hover':
'rgba(250, 251, 252, 0.3)',
'--theme-legacy-notification-learn-more-button-background-color-active':
'rgba(250, 251, 252, 0.4)',
'--theme-legacy-notification-move-button-text-color': '#ab2712',
'--theme-legacy-notification-move-button-background-color': '#fafbfc',
'--theme-legacy-notification-move-button-background-color-hover': 'rgba(250, 251, 252, 0.9)',
'--theme-legacy-notification-move-button-background-color-active': 'rgba(250, 251, 252, 0.8)',
'--theme-legacy-notification-move-button-background-color-hover':
'rgba(250, 251, 252, 0.9)',
'--theme-legacy-notification-move-button-background-color-active':
'rgba(250, 251, 252, 0.8)',
'--theme-legacy-notification-title-color': '#fafbfc',
'--theme-legacy-notification-description-color': '#fafbfc',
},
paperWallet: {
'--theme-paper-wallet-create-certificate-dialog-explorer-link-color': '#5e6066',
'--theme-paper-wallet-create-certificate-dialog-explorer-link-background-color': 'rgba(68, 91, 124, 0.05)',
'--theme-paper-wallet-create-certificate-dialog-explorer-link-color':
'#5e6066',
'--theme-paper-wallet-create-certificate-dialog-explorer-link-background-color':
'rgba(68, 91, 124, 0.05)',
},
progressBar: {
'--theme-progress-bar-background-color': 'rgba(255, 255, 255, 0.3)',
Expand All @@ -476,12 +517,14 @@ const CARDANO_THEME_CONFIG = {
'--theme-report-issue-button-background-color': '#2cbb69',
'--theme-report-issue-button-background-color-hover': '#56c887',
'--theme-report-issue-button-background-color-active': '#239554',
'--theme-report-issue-connecting-background-color': 'rgba(250, 251, 252, 0.05)',
'--theme-report-issue-connecting-background-color':
'rgba(250, 251, 252, 0.05)',
'--theme-report-issue-connecting-text-color': '#fafbfc',
'--theme-report-issue-syncing-background-color': 'rgba(94, 96, 102, 0.05)',
'--theme-report-issue-syncing-text-color': '#5e6066',
'--theme-report-issue-syncing-download-logs-text-color': '#fafbfc',
'--theme-report-issue-syncing-download-logs-text-color-connecting': '#fafbfc',
'--theme-report-issue-syncing-download-logs-text-color-connecting':
'#fafbfc',
},
scrollbar: {
'--theme-scrollbar-thumb-background': '#c8ccce',
Expand Down Expand Up @@ -525,7 +568,9 @@ const CARDANO_THEME_CONFIG = {
'--theme-staking-stake-pool-glow-color': '#7cfeb54c',
'--theme-staking-stake-pool-slug-color': '#5e6066',
'--theme-staking-stake-pool-retirement-background-color': '#ea4c5b',
'--theme-staking-stake-pool-tooltip-background-color': `${chroma('#FFFFFF').alpha(0.97)}`,
'--theme-staking-stake-pool-tooltip-background-color': `${chroma(
'#FFFFFF'
).alpha(0.97)}`,
'--theme-staking-stake-pool-tooltip-border-color': '#c6cdd6',
'--theme-staking-stake-pool-tooltip-shadow-color': 'rgba(0, 0, 0, 0.25)',
'--theme-staking-stake-pool-tooltip-text-color': '#5e6066',
Expand All @@ -534,12 +579,17 @@ const CARDANO_THEME_CONFIG = {
'--theme-staking-stake-pool-tooltip-table-param-color': '#5e6066',
'--theme-staking-stake-pool-tooltip-retirement-text-color': '#fafbfc',
'--theme-staking-stake-pool-tooltip-retirement-background-color': '#ea4c5b',
'--theme-staking-stake-pool-tooltip-delegate-button-background-color': '#2cbb69',
'--theme-staking-stake-pool-tooltip-delegate-button-hover-background-color': '#56c887',
'--theme-staking-stake-pool-tooltip-delegate-button-active-background-color': '#239554',
'--theme-staking-stake-pool-tooltip-delegate-button-background-color':
'#2cbb69',
'--theme-staking-stake-pool-tooltip-delegate-button-hover-background-color':
'#56c887',
'--theme-staking-stake-pool-tooltip-delegate-button-active-background-color':
'#239554',
'--theme-staking-stake-pool-tooltip-delegate-button-text-color': '#fafbfc',
'--theme-staking-stake-pool-tooltip-delegate-button-inverse-text-color': '#fafbfc',
'--theme-staking-stake-pool-tooltip-delegate-button-border-color': 'transparent',
'--theme-staking-stake-pool-tooltip-delegate-button-inverse-text-color':
'#fafbfc',
'--theme-staking-stake-pool-tooltip-delegate-button-border-color':
'transparent',
},
staking: {
'--theme-staking-background-color': 'rgba(32, 34, 37, 0.1)',
Expand Down
Loading