mirror of https://github.com/trezor/trezor-wallet
parent
03af4fdfce
commit
db8c711ec4
@ -0,0 +1,14 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import styled from 'styled-components';
|
||||||
|
import colors from '~/js/config/colors';
|
||||||
|
|
||||||
|
const StyledLink = styled.a`
|
||||||
|
color: red;
|
||||||
|
text-decoration
|
||||||
|
`;
|
||||||
|
|
||||||
|
const Link = ({ href, name }) => (
|
||||||
|
<Link href={href} />
|
||||||
|
);
|
||||||
|
|
||||||
|
export default StyledLink;
|
@ -0,0 +1,24 @@
|
|||||||
|
import { injectGlobal } from 'styled-components';
|
||||||
|
|
||||||
|
import normalize from 'styled-normalize';
|
||||||
|
|
||||||
|
const baseStyles = () => injectGlobal`
|
||||||
|
${normalize};
|
||||||
|
|
||||||
|
* , *:before , *:after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
*:focus, *:active, *:active:focus, *::selection, *::-moz-selection {
|
||||||
|
outline: 0 !important;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
export default baseStyles;
|
Loading…
Reference in new issue