Browse Source

Remove old colors

master
meriadec 7 years ago
parent
commit
f3cb3940bf
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/components/AccountPage.js
  2. 4
      src/components/Breadcrumb/Step.js
  3. 2
      src/components/DashboardPage/AccountCard.js
  4. 4
      src/components/ReceiveBox.js
  5. 2
      src/components/SelectAccount/index.js
  6. 2
      src/components/TopBar.js
  7. 2
      src/components/TransactionsList/index.js
  8. 4
      src/components/base/Button/index.js
  9. 2
      src/components/base/CheckBox/index.js
  10. 4
      src/components/base/Input/index.js
  11. 2
      src/components/base/Modal/index.js
  12. 2
      src/components/base/Select/Triangles.js
  13. 8
      src/components/base/Select/index.js
  14. 2
      src/components/base/Tabs/index.js
  15. 2
      src/styles/theme.js

2
src/components/AccountPage.js

@ -72,7 +72,7 @@ class AccountPage extends PureComponent<Props> {
<Button <Button
style={{ width: 50 }} style={{ width: 50 }}
icon="sliders-h" icon="sliders-h"
color="mouse" color="fog"
onClick={() => openModal(MODAL_SETTINGS_ACCOUNT, { account })} onClick={() => openModal(MODAL_SETTINGS_ACCOUNT, { account })}
/> />
</Box> </Box>

4
src/components/Breadcrumb/Step.js

@ -8,7 +8,7 @@ import Box from 'components/base/Box'
const Wrapper = styled(Box).attrs({ const Wrapper = styled(Box).attrs({
align: 'center', align: 'center',
justify: 'center', justify: 'center',
color: p => (p.isActive ? 'wallet' : 'mouse'), color: p => (p.isActive ? 'wallet' : 'fog'),
})` })`
width: 40px; width: 40px;
flex-shrink: 0; flex-shrink: 0;
@ -19,7 +19,7 @@ const Wrapper = styled(Box).attrs({
const Number = styled(Box).attrs({ const Number = styled(Box).attrs({
align: 'center', align: 'center',
justify: 'center', justify: 'center',
color: p => (p.isActive ? 'white' : 'mouse'), color: p => (p.isActive ? 'white' : 'fog'),
bg: p => (p.isActive ? 'wallet' : 'pearl'), bg: p => (p.isActive ? 'wallet' : 'pearl'),
})` })`
width: 20px; width: 20px;

2
src/components/DashboardPage/AccountCard.js

@ -36,7 +36,7 @@ const AccountCard = ({
</Box> </Box>
</Box> </Box>
</Box> </Box>
<Bar size={1} color="argile" /> <Bar size={2} color="fog" />
<Box grow justifyContent="center" color="dark"> <Box grow justifyContent="center" color="dark">
<FormattedVal <FormattedVal
alwaysShowSign={false} alwaysShowSign={false}

4
src/components/ReceiveBox.js

@ -24,7 +24,7 @@ export const AddressBox = styled(Box).attrs({
p: 2, p: 2,
})` })`
border-radius: 3px; border-radius: 3px;
border: 1px solid ${p => p.theme.colors.mouse}; border: 1px solid ${p => p.theme.colors.fog};
cursor: text; cursor: text;
text-align: center; text-align: center;
user-select: text; user-select: text;
@ -33,7 +33,7 @@ export const AddressBox = styled(Box).attrs({
const Action = styled(Box).attrs({ const Action = styled(Box).attrs({
alignItems: 'center', alignItems: 'center',
color: 'mouse', color: 'fog',
flex: 1, flex: 1,
flow: 1, flow: 1,
fontSize: 0, fontSize: 0,

2
src/components/SelectAccount/index.js

@ -29,7 +29,7 @@ const renderItem = item => (
</Text> </Text>
</Box> </Box>
<Box> <Box>
<Text color="mouse" fontSize={4}> <Text color="fog" fontSize={4}>
{formatBTC(item.balance)} {formatBTC(item.balance)}
</Text> </Text>
</Box> </Box>

2
src/components/TopBar.js

@ -46,7 +46,7 @@ const Inner = styled(Box).attrs({
const Bar = styled.div` const Bar = styled.div`
height: 15px; height: 15px;
width: 1px; width: 1px;
background: #ff0000; background: ${p => p.theme.colors.fog};
` `
const Activity = styled.div` const Activity = styled.div`

2
src/components/TransactionsList/index.js

@ -58,7 +58,7 @@ const TransactionRaw = styled(Box).attrs({
horizontal: true, horizontal: true,
alignItems: 'center', alignItems: 'center',
})` })`
border-bottom: 1px solid ${p => p.theme.colors.argile}; border-bottom: 1px solid ${p => p.theme.colors.fog};
height: 68px; height: 68px;
&:last-child { &:last-child {

4
src/components/base/Button/index.js

@ -14,7 +14,7 @@ const Base = styled.button`
${fontSize}; ${fontSize};
${fontWeight}; ${fontWeight};
border-radius: 5px; border-radius: 5px;
border: ${p => (p.primary ? '' : `1px solid ${p.theme.colors.mouse}`)}; border: ${p => (p.primary ? '' : `1px solid ${p.theme.colors.fog}`)};
cursor: ${p => (p.disabled ? 'default' : 'pointer')}; cursor: ${p => (p.disabled ? 'default' : 'pointer')};
height: 40px; height: 40px;
box-shadow: ${p => (p.withShadow ? 'rgba(0, 0, 0, 0.2) 0 3px 10px' : '')}; box-shadow: ${p => (p.withShadow ? 'rgba(0, 0, 0, 0.2) 0 3px 10px' : '')};
@ -57,7 +57,7 @@ function getProps({ disabled, icon, primary }: Object) {
), ),
...props(disabled, { ...props(disabled, {
color: 'white', color: 'white',
bg: 'argile', bg: 'fog',
withShadow: false, withShadow: false,
}), }),
} }

2
src/components/base/CheckBox/index.js

@ -36,7 +36,7 @@ const Base = styled(Tabbable).attrs({
transition: all ease-in 0.1s; transition: all ease-in 0.1s;
&:focus { &:focus {
border-color: ${p => p.theme.colors.mouse}; border-color: ${p => p.theme.colors.fog};
} }
` `

4
src/components/base/Input/index.js

@ -12,7 +12,7 @@ const Base = styled.input.attrs({
})` })`
${space}; ${space};
${fontFamily}; ${fontFamily};
border: 1px solid ${p => p.theme.colors.mouse}; border: 1px solid ${p => p.theme.colors.fog};
border-radius: 3px; border-radius: 3px;
display: flex; display: flex;
width: 100%; width: 100%;
@ -20,7 +20,7 @@ const Base = styled.input.attrs({
background: ${p => p.theme.colors.white}; background: ${p => p.theme.colors.white};
&::placeholder { &::placeholder {
color: ${p => p.theme.colors.mouse}; color: ${p => p.theme.colors.fog};
} }
&:focus { &:focus {

2
src/components/base/Modal/index.js

@ -94,7 +94,7 @@ const Body = styled(Box).attrs({
const CloseContainer = styled(Box).attrs({ const CloseContainer = styled(Box).attrs({
p: 4, p: 4,
color: 'mouse', color: 'fog',
})` })`
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;

2
src/components/base/Select/Triangles.js

@ -28,6 +28,6 @@ const Triangles = ({ size, color }: { size?: number, color?: string }) => (
</Box> </Box>
) )
Triangles.defaultProps = { size: 5, color: 'mouse' } Triangles.defaultProps = { size: 5, color: 'fog' }
export default Triangles export default Triangles

8
src/components/base/Select/index.js

@ -41,7 +41,7 @@ const TriggerBtn = styled(Box).attrs({
})` })`
min-height: 64px; min-height: 64px;
${space}; ${space};
border: 1px solid ${p => p.theme.colors.mouse}; border: 1px solid ${p => p.theme.colors.fog};
border-radius: 3px; border-radius: 3px;
display: flex; display: flex;
width: 100%; width: 100%;
@ -63,7 +63,7 @@ const Item = styled(Box).attrs({
const ItemWrapper = styled(Box)` const ItemWrapper = styled(Box)`
& + & { & + & {
border-top: 1px solid ${p => p.theme.colors.mouse}; border-top: 1px solid ${p => p.theme.colors.fog};
} }
` `
@ -71,7 +71,7 @@ const Dropdown = styled(Box).attrs({
mt: 1, mt: 1,
})` })`
border-radius: 3px; border-radius: 3px;
border: 1px solid ${p => p.theme.colors.mouse}; border: 1px solid ${p => p.theme.colors.fog};
box-shadow: rgba(0, 0, 0, 0.05) 0 2px 2px; box-shadow: rgba(0, 0, 0, 0.05) 0 2px 2px;
left: 0; left: 0;
position: absolute; position: absolute;
@ -246,7 +246,7 @@ class Select extends PureComponent<Props> {
{selectedItem && renderSelected ? ( {selectedItem && renderSelected ? (
renderSelected(selectedItem) renderSelected(selectedItem)
) : ( ) : (
<Text color="mouse">{placeholder}</Text> <Text color="fog">{placeholder}</Text>
)} )}
</Box> </Box>
<FloatingTriangles> <FloatingTriangles>

2
src/components/base/Tabs/index.js

@ -10,7 +10,7 @@ import Box, { Tabbable } from 'components/base/Box'
const WrapperTab = styled(Box).attrs({ const WrapperTab = styled(Box).attrs({
horizontal: true, horizontal: true,
})` })`
border-bottom: 1px solid ${p => p.theme.colors.argile}; border-bottom: 1px solid ${p => p.theme.colors.fog};
` `
const Tab = styled(Tabbable).attrs({ const Tab = styled(Tabbable).attrs({

2
src/styles/theme.js

@ -63,8 +63,6 @@ export const fontFamilies = {
export const colors = { export const colors = {
transparent: 'transparent', transparent: 'transparent',
argile: '#ff0000',
mouse: '#ff0000',
pearl: '#ff0000', pearl: '#ff0000',
// new colors // new colors

Loading…
Cancel
Save