Rebalance text and icon color usage...
...to better differentiate between primary, secondary and muted.
This commit is contained in:
parent
4ff007eaab
commit
01eed2c844
8 changed files with 31 additions and 31 deletions
|
@ -18,7 +18,7 @@ export default function contextMenu(theme: Theme) {
|
|||
item: {
|
||||
padding: { left: 4, right: 4, top: 2, bottom: 2 },
|
||||
cornerRadius: 6,
|
||||
label: text(theme, "sans", "secondary", { size: "sm" }),
|
||||
label: text(theme, "sans", "primary", { size: "sm" }),
|
||||
keystroke: {
|
||||
...text(theme, "sans", "muted", { size: "sm", weight: "bold" }),
|
||||
padding: { left: 3, right: 3 },
|
||||
|
@ -29,7 +29,7 @@ export default function contextMenu(theme: Theme) {
|
|||
},
|
||||
active: {
|
||||
background: backgroundColor(theme, 300, "active"),
|
||||
text: text(theme, "sans", "primary", { size: "sm" }),
|
||||
text: text(theme, "sans", "active", { size: "sm" }),
|
||||
},
|
||||
activeHover: {
|
||||
background: backgroundColor(theme, 300, "hovered"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue