mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
Match figma styling for tooltips
This commit is contained in:
parent
0e1307fb23
commit
9ca9f63046
1 changed files with 4 additions and 4 deletions
|
@ -4,11 +4,11 @@ import { backgroundColor, border, shadow, text } from "./components";
|
|||
export default function tooltip(theme: Theme) {
|
||||
return {
|
||||
background: backgroundColor(theme, 500),
|
||||
border: border(theme, "primary"),
|
||||
padding: 6,
|
||||
margin: { top: 8, left: 8 },
|
||||
border: border(theme, "secondary"),
|
||||
padding: { top: 4, bottom: 4, left: 8, right: 8 },
|
||||
margin: { top: 6, left: 6 },
|
||||
shadow: shadow(theme),
|
||||
cornerRadius: 6,
|
||||
...text(theme, "sans", "primary", { size: "xs" })
|
||||
...text(theme, "sans", "secondary", { size: "xs", weight: "bold" })
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue