Rebalance text and icon color usage...

...to better differentiate between primary, secondary and muted.
This commit is contained in:
Nate Butler
2022-07-26 15:53:48 -04:00
parent 4ff007eaab
commit 01eed2c844
8 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -9,13 +9,13 @@ export default function tooltip(theme: Theme) {
margin: { top: 6, left: 6 },
shadow: popoverShadow(theme),
cornerRadius: 6,
text: text(theme, "sans", "secondary", { size: "xs", weight: "bold" }),
text: text(theme, "sans", "primary", { size: "xs" }),
keystroke: {
background: backgroundColor(theme, "on500"),
cornerRadius: 4,
margin: { left: 6 },
padding: { left: 4, right: 4 },
...text(theme, "mono", "muted", { size: "xs", weight: "bold" }),
...text(theme, "mono", "secondary", { size: "xs", weight: "bold" }),
},
maxTextWidth: 200,
};