1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-12 09:38:09 +00:00
trezor-wallet/src/support/styles/index.js
2019-03-18 18:23:40 +01:00

54 lines
1.2 KiB
JavaScript

import { createGlobalStyle } from 'styled-components';
import { colors } from 'trezor-ui-components';
import { FONT_WEIGHT } from 'config/variables';
import tooltipStyles from './Tooltip';
import animationStyles from './Animations';
const baseStyles = createGlobalStyle`
html, body {
width: 100%;
min-height: 100vh;
position: relative;
font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
font-weight: ${FONT_WEIGHT.NORMAL};
font-size: 14px;
color: ${colors.TEXT};
}
* , *:before , *:after {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
}
*::selection, *::-moz-selection, *:focus, *:active, *:active:focus, {
outline: 0 !important;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a {
text-decoration: none;
cursor: pointer;
}
a:focus,
button:focus,
input:focus,
textarea:focus {
outline: 0;
}
#trezor-wallet-root {
min-height: 100vh;
}
${animationStyles};
${tooltipStyles};
`;
export default baseStyles;