Rework darkest color in base16, shadows, and add hoverPopover styleTree

This commit is contained in:
Keith Simmons
2022-06-07 11:47:38 -07:00
parent 0c4f798a2d
commit 02249dc2e8
8 changed files with 128 additions and 99 deletions
+20
View File
@@ -0,0 +1,20 @@
import Theme from "../themes/common/theme";
import { backgroundColor, border, popoverShadow } from "./components";
export default function HoverPopover(theme: Theme) {
return {
background: backgroundColor(theme, 500),
cornerRadius: 8,
padding: {
left: 8,
right: 8,
top: 4,
bottom: 4
},
shadow: popoverShadow(theme),
border: border(theme, "primary"),
margin: {
left: -14,
},
}
}