Skip to content

Commit 1daa4b1

Browse files
committed
Reset DevTools text styles.
1 parent ae53aa3 commit 1daa4b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react-async-devtools/src/components.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const Root = props => (
1515
boxShadow: "0 2px 1em #00000022",
1616
background: "white",
1717
padding: "1em",
18+
color: "#000",
1819
fontSize: "1rem",
1920
fontFamily: `-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif`,
2021
...props.style,
@@ -53,6 +54,7 @@ export const Label = props => (
5354
<label
5455
{...props}
5556
style={{
57+
fontSize: "inherit",
5658
display: "block",
5759
marginBottom: "1.5em",
5860
...props.style,
@@ -66,6 +68,7 @@ export const Small = props => (
6668
style={{
6769
display: "block",
6870
marginTop: "0.5em",
71+
fontSize: "0.75em",
6972
textTransform: "uppercase",
7073
opacity: "0.5",
7174
...props.style,
@@ -106,6 +109,7 @@ export const Button = props => (
106109
border: "0",
107110
borderRadius: "0.5em",
108111
background: "#0366d6",
112+
fontSize: "0.75em",
109113
color: "#fff",
110114
...props.style,
111115
}}

0 commit comments

Comments
 (0)