From 9ca9f63046fe342602d8b66f104e983c1ba5a810 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Thu, 2 Jun 2022 08:36:42 +0200 Subject: [PATCH] Match figma styling for tooltips --- styles/src/styleTree/tooltip.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/styles/src/styleTree/tooltip.ts b/styles/src/styleTree/tooltip.ts index 3fc7bd012b..228d510ddd 100644 --- a/styles/src/styleTree/tooltip.ts +++ b/styles/src/styleTree/tooltip.ts @@ -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" }) } } \ No newline at end of file