aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-18 16:15:12 +0800
committerFabio Berger <me@fabioberger.com>2017-12-18 16:15:12 +0800
commitdf9d3e3e16e5a00ea84369691c46a6e4a6a53049 (patch)
tree18dbcd29fa9f5dd41dc4c4072aaafe9e2026e5d6 /packages/website/ts/utils
parent98c01c2f8097c849c53d87a4946edfd4fba94495 (diff)
downloaddexon-sol-tools-df9d3e3e16e5a00ea84369691c46a6e4a6a53049.tar.gz
dexon-sol-tools-df9d3e3e16e5a00ea84369691c46a6e4a6a53049.tar.zst
dexon-sol-tools-df9d3e3e16e5a00ea84369691c46a6e4a6a53049.zip
Consolidate all custom colors and material-ui colors into a colors module
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r--packages/website/ts/utils/colors.ts30
-rw-r--r--packages/website/ts/utils/constants.ts1
2 files changed, 30 insertions, 1 deletions
diff --git a/packages/website/ts/utils/colors.ts b/packages/website/ts/utils/colors.ts
new file mode 100644
index 000000000..c6a8547d1
--- /dev/null
+++ b/packages/website/ts/utils/colors.ts
@@ -0,0 +1,30 @@
+import {colors as materialUiColors} from 'material-ui/styles';
+
+export const colors = {
+ ...materialUiColors,
+ offWhite: 'rgb(245, 245, 245)',
+ beigeWhite: '#E4E4E4',
+ grayishPink: 'rgb(230, 229, 229)',
+ lightestGray: '#F0F0F0',
+ lightGray: '#BBBBBB',
+ gray: '#A5A5A5',
+ darkGray: '#818181',
+ darkerGray: '#393939',
+ heroGray: '#404040',
+ projectsGray: '#343333',
+ landingLinkGray: '#919191',
+ darkestGray: 'rgb(39, 39, 39)',
+ dharmaDarkGray: 'rgb(37, 37, 37)',
+ lightBlue: '#60a4f4',
+ darkBlue: '#4D5481',
+ lightPurple: '#a81ca6',
+ purple: '#690596',
+ red: '#e91751',
+ turquois: '#058789',
+ orange: '#e69d00',
+ lightestGreen: 'rgb(137, 199, 116)',
+ lightGreen: 'rgb(77, 197, 92)',
+ limeGreen: 'rgb(102, 222, 117)',
+ green: '#4da24b',
+ brightGreen: 'rgb(0, 195, 62)',
+};
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index fb81dd9a9..f001181ce 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -26,7 +26,6 @@ export const constants = {
BITLY_ACCESS_TOKEN: 'ffc4c1a31e5143848fb7c523b39f91b9b213d208',
BITLY_ENDPOINT: 'https://api-ssl.bitly.com',
BLOG_URL: 'https://blog.0xproject.com/latest',
- CUSTOM_BLUE: '#60a4f4',
DEFAULT_DERIVATION_PATH: `44'/60'/0'`,
ETHER_FAUCET_ENDPOINT: 'https://faucet.0xproject.com',
FEE_RECIPIENT_ADDRESS: '0x0000000000000000000000000000000000000000',