improves: Make command menu larger, darken toolbar, order image + link higher up menu

This commit is contained in:
Tom Moor committed 2022-02-10 20:15:28 -08:00
1 parent 590c23d539
commit 25568c101c
3 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -614,7 +614,7 @@ export const Wrapper = styled.div<{
pointer-events: none;
white-space: nowrap;
width: 300px;
max-height: 224px;
max-height: 324px;
overflow: hidden;
overflow-y: auto;
+13 -13
View File
@@ -71,6 +71,19 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] {
{
name: "separator",
},
{
name: "image",
title: dictionary.image,
icon: ImageIcon,
keywords: "picture photo",
},
{
name: "link",
title: dictionary.link,
icon: LinkIcon,
shortcut: `${metaDisplay} k`,
keywords: "link url uri href",
},
{
name: "table",
title: dictionary.table,
@@ -104,19 +117,6 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] {
keywords: "page print break line",
attrs: { markup: "***" },
},
{
name: "image",
title: dictionary.image,
icon: ImageIcon,
keywords: "picture photo",
},
{
name: "link",
title: dictionary.link,
icon: LinkIcon,
shortcut: `${metaDisplay} k`,
keywords: "link url uri href",
},
{
name: "separator",
},
+1 -1
View File
@@ -149,7 +149,7 @@ export const light = {
inputBorderFocused: colors.slate,
listItemHoverBackground: colors.warmGrey,
toolbarHoverBackground: colors.black,
toolbarBackground: colors.lightBlack,
toolbarBackground: colors.almostBlack,
toolbarInput: colors.white10,
toolbarItem: colors.white,
tableDivider: colors.smokeDark,