UNPKG

950 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8// Using "globalStyles" to not interfere with "global"
9var globalStyles = function globalStyles(_ref) {
10 var palette = _ref.palette;
11 return {
12 '@global': {
13 html: {
14 boxSizing: 'border-box',
15 height: '100%',
16 background: '#f2f2f2',
17 fontFamily: 'Roboto, Helvetica, Arial, sans-serif'
18 },
19 body: {
20 height: '100%',
21 margin: 0
22 },
23 '*, *:before, *:after': {
24 boxSizing: 'inherit'
25 },
26 '#app': {
27 height: '100%',
28 display: 'flex',
29 flexDirection: 'column'
30 },
31 a: {
32 color: palette.primary.main,
33 textDecoration: 'none',
34 '&:hover': {
35 textDecoration: 'underline',
36 textUnderlinePosition: 'under'
37 }
38 }
39 }
40 };
41};
42
43var _default = globalStyles;
44exports.default = _default;
\No newline at end of file