tabby-glass-menu 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/index.js +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ the menu too.
|
|
|
13
13
|
Every context menu opened by Tabby or by other plugins goes through the same
|
|
14
14
|
place, so all of them are replaced, with the same items and actions:
|
|
15
15
|
checkboxes, radio items, disabled items and submenus. Separators are left
|
|
16
|
-
out, and the menu uses the
|
|
17
|
-
|
|
16
|
+
out, and the menu uses the system UI font, so it follows it when you change
|
|
17
|
+
it.
|
|
18
18
|
|
|
19
19
|
## Install
|
|
20
20
|
|
package/index.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Every menu built by Tabby or by other plugins goes through the same method,
|
|
13
13
|
* so all of them are covered. Same items, same actions: labels,
|
|
14
14
|
* checkboxes, radio items, disabled items, submenus, keyboard navigation.
|
|
15
|
-
* Separators are left out, and the menu uses the
|
|
15
|
+
* Separators are left out, and the menu uses the system UI font.
|
|
16
16
|
* The menu is part of the window, so it can't extend past its edges: near an
|
|
17
17
|
* edge it opens towards the inside.
|
|
18
18
|
*
|
|
@@ -69,8 +69,9 @@ const CSS = `
|
|
|
69
69
|
-webkit-backdrop-filter: blur(var(--tgm-blur));
|
|
70
70
|
backdrop-filter: blur(var(--tgm-blur));
|
|
71
71
|
color: var(--tgm-fg);
|
|
72
|
-
/* the system UI font
|
|
73
|
-
|
|
72
|
+
/* the system UI font (Chromium reads it from the GTK settings on Linux),
|
|
73
|
+
so the menu follows it when it changes */
|
|
74
|
+
font-family: system-ui, sans-serif;
|
|
74
75
|
font-size: 13px;
|
|
75
76
|
line-height: 1.35;
|
|
76
77
|
border: 1px solid rgba(255, 255, 255, 0.06);
|