Rework darkest color in base16, shadows, and add hoverPopover styleTree
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user