MCPcopy Create free account
hub / github.com/apollographql/fullstack-tutorial / styles

Function styles

start/client/src/styles.js:14–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12};
13
14const styles = () =>
15 injectGlobal({
16 [["html", "body"]]: {
17 height: "100%",
18 },
19 body: {
20 margin: 0,
21 padding: 0,
22 fontFamily: "'Source Sans Pro', sans-serif",
23 backgroundColor: colors.background,
24 color: colors.text,
25 },
26 "#root": {
27 display: "flex",
28 flexDirection: "column",
29 minHeight: "100%",
30 },
31 "*": {
32 boxSizing: "border-box",
33 },
34 [["h1", "h2", "h3", "h4", "h5", "h6"]]: {
35 margin: 0,
36 fontWeight: 600,
37 },
38 h1: {
39 fontSize: 48,
40 lineHeight: 1,
41 },
42 h2: {
43 fontSize: 40,
44 },
45 h3: {
46 fontSize: 36,
47 },
48 h5: {
49 fontSize: 16,
50 textTransform: "uppercase",
51 letterSpacing: 4,
52 },
53 });
54
55export default styles;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected