Add integration test and fix hovering over the wire
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import Theme from "../themes/common/theme";
|
||||
import { backgroundColor, border, borderColor, shadow, text } from "./components";
|
||||
import { backgroundColor, border, borderColor, popoverShadow, text } from "./components";
|
||||
|
||||
export default function contextMenu(theme: Theme) {
|
||||
return {
|
||||
background: backgroundColor(theme, 300, "base"),
|
||||
cornerRadius: 6,
|
||||
padding: 6,
|
||||
shadow: shadow(theme),
|
||||
shadow: popoverShadow(theme),
|
||||
border: border(theme, "primary"),
|
||||
item: {
|
||||
padding: { left: 4, right: 4, top: 2, bottom: 2 },
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import Theme from "../themes/common/theme";
|
||||
import { backgroundColor, border, shadow, text } from "./components";
|
||||
import { backgroundColor, border, popoverShadow, text } from "./components";
|
||||
|
||||
export default function tooltip(theme: Theme) {
|
||||
return {
|
||||
@@ -7,7 +7,7 @@ export default function tooltip(theme: Theme) {
|
||||
border: border(theme, "secondary"),
|
||||
padding: { top: 4, bottom: 4, left: 8, right: 8 },
|
||||
margin: { top: 6, left: 6 },
|
||||
shadow: shadow(theme),
|
||||
shadow: popoverShadow(theme),
|
||||
cornerRadius: 6,
|
||||
text: text(theme, "sans", "secondary", { size: "xs", weight: "bold" }),
|
||||
keystroke: {
|
||||
|
||||
Reference in New Issue
Block a user