From 65579c023670c09f39b4f7a733d7b703888d9d99 Mon Sep 17 00:00:00 2001
From: Steve Klebanoff <steve.klebanoff@gmail.com>
Date: Wed, 12 Dec 2018 13:43:08 -0800
Subject: Abstract SectionHeader and make 12px per Chris's comment and figma
 design

---
 packages/instant/src/components/order_details.tsx | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

(limited to 'packages/instant/src/components/order_details.tsx')

diff --git a/packages/instant/src/components/order_details.tsx b/packages/instant/src/components/order_details.tsx
index c069a8bcc..4aa375017 100644
--- a/packages/instant/src/components/order_details.tsx
+++ b/packages/instant/src/components/order_details.tsx
@@ -10,6 +10,7 @@ import { BaseCurrency } from '../types';
 import { format } from '../util/format';
 
 import { AmountPlaceholder } from './amount_placeholder';
+import { SectionHeader } from './section_header';
 
 import { Container } from './ui/container';
 import { Flex } from './ui/flex';
@@ -157,10 +158,12 @@ export class OrderDetails extends React.Component<OrderDetailsProps> {
             choice === BaseCurrency.ETH ? this.props.onBaseCurrencySwitchEth : this.props.onBaseCurrencySwitchUsd;
         const isSelected = this.props.baseCurrency === choice;
 
-        const textStyle: TextProps = { onClick, fontSize: '12px ' };
+        const textStyle: TextProps = { onClick, fontSize: '12px' };
         if (isSelected) {
             textStyle.fontColor = ColorOption.primaryColor;
             textStyle.fontWeight = 700;
+        } else {
+            textStyle.fontColor = ColorOption.lightGrey;
         }
         return <Text {...textStyle}>{choice}</Text>;
     }
@@ -168,19 +171,13 @@ export class OrderDetails extends React.Component<OrderDetailsProps> {
     private _renderHeader(): React.ReactNode {
         return (
             <Flex justify="space-between">
-                <Text
-                    letterSpacing="1px"
-                    fontColor={ColorOption.primaryColor}
-                    fontWeight={600}
-                    textTransform="uppercase"
-                    fontSize="14px"
-                >
-                    Order Details
-                </Text>
+                <SectionHeader>Order Details</SectionHeader>
                 <Container>
                     {this._baseCurrencyChoice(BaseCurrency.ETH)}
-                    <Container marginLeft="3px" marginRight="3px" display="inline">
-                        <Text fontSize="12px">/</Text>
+                    <Container marginLeft="5px" marginRight="5px" display="inline">
+                        <Text fontSize="12px" fontColor={ColorOption.feintGrey}>
+                            /
+                        </Text>
                     </Container>
                     {this._baseCurrencyChoice(BaseCurrency.USD)}
                 </Container>
-- 
cgit v1.2.3

