aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-shared
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-05-18 04:35:20 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-05-19 02:35:13 +0800
commit9ce7be050a04cde0ab5f6e894c70f6f63b0c1fd4 (patch)
treea1efa0bd9617603586f59e3071b85dae40b8a331 /packages/react-shared
parent1d2617c826afaed60dc07e0f767b3530d20f161b (diff)
downloaddexon-sol-tools-9ce7be050a04cde0ab5f6e894c70f6f63b0c1fd4.tar
dexon-sol-tools-9ce7be050a04cde0ab5f6e894c70f6f63b0c1fd4.tar.gz
dexon-sol-tools-9ce7be050a04cde0ab5f6e894c70f6f63b0c1fd4.tar.bz2
dexon-sol-tools-9ce7be050a04cde0ab5f6e894c70f6f63b0c1fd4.tar.lz
dexon-sol-tools-9ce7be050a04cde0ab5f6e894c70f6f63b0c1fd4.tar.xz
dexon-sol-tools-9ce7be050a04cde0ab5f6e894c70f6f63b0c1fd4.tar.zst
dexon-sol-tools-9ce7be050a04cde0ab5f6e894c70f6f63b0c1fd4.zip
Refactor portal specific colors out of react-shared
Diffstat (limited to 'packages/react-shared')
-rw-r--r--packages/react-shared/CHANGELOG.json8
-rw-r--r--packages/react-shared/src/utils/colors.ts13
2 files changed, 8 insertions, 13 deletions
diff --git a/packages/react-shared/CHANGELOG.json b/packages/react-shared/CHANGELOG.json
index 1095c78ee..3e03f81f1 100644
--- a/packages/react-shared/CHANGELOG.json
+++ b/packages/react-shared/CHANGELOG.json
@@ -1,5 +1,13 @@
[
{
+ "version": "0.2.0",
+ "changes": [
+ {
+ "note": "Removed portal specific colors"
+ }
+ ]
+ },
+ {
"timestamp": 1525477860,
"version": "0.1.6",
"changes": [
diff --git a/packages/react-shared/src/utils/colors.ts b/packages/react-shared/src/utils/colors.ts
index 4617fa5dc..71d92c290 100644
--- a/packages/react-shared/src/utils/colors.ts
+++ b/packages/react-shared/src/utils/colors.ts
@@ -48,20 +48,7 @@ const baseColors = {
darkYellow: '#caca03',
};
-const appColors = {
- // wallet specific colors
- walletBoxShadow: 'rgba(56, 59, 137, 0.2)',
- walletBorder: '#ededee',
- walletDefaultItemBackground: '#fbfbfc',
- walletFocusedItemBackground: '#f0f1f4',
- allowanceToggleShadow: 'rgba(0, 0, 0, 0)',
- allowanceToggleOffTrack: '#adadad',
- allowanceToggleOnTrack: baseColors.mediumBlue,
- wrapEtherConfirmationButton: baseColors.mediumBlue,
-};
-
export const colors = {
...materialUiColors,
...baseColors,
- ...appColors,
};