You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added KeyboardShortcut component for consistent key display (#190)
* Updated user manual and themes marketplace documentation
* Added KeyboardShortcut component for consistent key display
* Removed unnecessary state for isMac
Visual Studio Code (VS Code) is a popular and powerful code editor that works well for editing Zen Browser documentation, especially with the right extensions.
7
8
@@ -27,7 +28,7 @@ To get the best experience editing `.mdx` files in VS Code, we recommend install
27
28
### Installation
28
29
29
30
1. Open VS Code.
30
-
2. Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side of the window or by pressing `Ctrl+Shift+X` (Windows/Linux) or `Cmd+Shift+X` (macOS).
31
+
2. Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side of the window or by pressing <KeyboardShortcutshortcut="Ctrl + Shift + X" />.
31
32
3. Search for `mdx`.
32
33
4. Click **Install** on the MDX extension by unifiedjs.
@@ -70,7 +70,7 @@ Your support helps the team maintain and enhance Zen Browser for everyone!
70
70
Use shortcuts to perform Split View actions faster!
71
71
</Callout>
72
72
73
-
1. Select multiple tabs by left-clicking them while holding the `Ctrl`key, or left-click 2 tabs while holding the `Shift` key to select all tabs in between
73
+
1. Select multiple tabs by left-clicking them while holding the <KeyboardShortcutshortcut="Ctrl" /> key, or left-click 2 tabs while holding the <KeyboardShortcutshortcut="Shift" /> key to select all tabs in between
74
74
2. Right click a tab, and select `Split x Tabs`
75
75
3. Change the view mode by pressing the `[|]` button in the top address bar
-**Note:** You can use the **Inspect** button to hover over and select elements on the page. This allows you to learn about the `id`, `class`, or other attributes of elements, which you can then target in your `userChrome.css` file.
55
-
3. To apply your changes, save the file by clicking **Save** or by pressing `Ctrl + S`.
56
+
3. To apply your changes, save the file by clicking **Save** or by pressing <KeyboardShortcutshortcut="Ctrl + S" />.
56
57
57
58
Any changes you make to the `userChrome.css` file will be applied immediately to Zen Browser.
58
59
Use this file to customize various UI elements, such as colors, fonts, and the layout.
Copy file name to clipboardExpand all lines: content/docs/themes-store/themes-marketplace-preferences.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -244,7 +244,7 @@ You can also have negative conditions
244
244
245
245
<Callout type="warn" title="Attention">
246
246
`property` fields defined in `preferences.json` using the `"dropdown"` type will have one key difference when used in your mod's CSS: <strong>dots (`.`) in the `property` name are replaced with hyphens (`-`)</strong>.
247
-
<br/><br/>
247
+
248
248
E.g. `mod.mymod.background_color` becomes `mod-mymod-background_color` in the CSS file.
249
249
This transformation ensures that the property can be used as an attribute selector or inside a media query.
250
250
</Callout>
@@ -358,7 +358,7 @@ String preferences can be detected in your CSS using the `var(--property)` opera
358
358
359
359
<Callouttype="warn"title="Attention">
360
360
`property` fields defined in `preferences.json` using the `"string"` type will have one key difference when used in your mod's CSS: <strong>dots (`.`) in the `property` name are replaced with hyphens (`-`)</strong>.
361
-
<br/><br/>
361
+
362
362
E.g. `mod.mymod.background_color` becomes `mod-mymod-background_color` in the CSS file.
363
363
This transformation ensures that the property can be used as an attribute selector or inside a media query.
Zen, as a fork of Firefox, inherits its webpage bookmarking system primarily from Firefox itself, with some additional Zen enhancements. Zen offers two vertical tab layouts: **Single toolbar layout**, which integrates a compact address bar into the vertical tabs toolbar, and **Multiple toolbars layout**, featuring a traditional, full-size address bar in a separate horizontal toolbar. This guide covers the basics of creating and managing bookmarks, tailored to your chosen Zen layout.
8
9
@@ -29,7 +30,7 @@ To bookmark a page, find and click on the bookmark icon in the address bar. A po
29
30
30
31
31
32
<Callouttype="info"title="Tips:">
32
-
While you could use your mouse to click the bookmark icon, we recommend using the keyboard shortcut `Ctrl/Cmd + D` for bookmarking, especially in **Single toolbar layout**.
33
+
While you could use your mouse to click the bookmark icon, we recommend using the keyboard shortcut <KeyboardShortcutshortcut="Ctrl + D" /> for bookmarking, especially in **Single toolbar layout**.
33
34
</Callout>
34
35
35
36
Alternatively, you can bookmark a single tab by right-clicking it and selecting `"Bookmark Tab..."` from the context menu, which opens a detailed bookmarking dialog with options for *tagging* and *keywords*.
@@ -47,7 +48,7 @@ You can find your recently added bookmarks through Zen's application menu. Click
47
48
### Bookmarks Toolbar and Bookmarks Menu
48
49
49
50
Taken from the default behavior of Gecko, Zen offers 3 locations (or, groups) for bookmarks:
50
-
-**Bookmarks Toolbar**: This can be considered a public location for bookmarks, displayed in the browser's [chrome](https://developer.mozilla.org/en-US/docs/Glossary/Chrome). You typically find it beneath the main browser toolbar, which is featured in **Multiple toolbars layout** in Zen, while in **Single toolbar layout**, hovering your cursor to the top edge will display the hidden Bookmarks Toolbar, next to your window controls. To toggle the visibility of your Bookmarks Toolbar, use the shortcut `Ctrl/Cmd + Shift + B`
51
+
-**Bookmarks Toolbar**: This can be considered a public location for bookmarks, displayed in the browser's [chrome](https://developer.mozilla.org/en-US/docs/Glossary/Chrome). You typically find it beneath the main browser toolbar, which is featured in **Multiple toolbars layout** in Zen, while in **Single toolbar layout**, hovering your cursor to the top edge will display the hidden Bookmarks Toolbar, next to your window controls. To toggle the visibility of your Bookmarks Toolbar, use the shortcut <KeyboardShortcutshortcut="Ctrl + Shift + B" />
@@ -64,14 +65,14 @@ Taken from the default behavior of Gecko, Zen offers 3 locations (or, groups) fo
64
65
65
66
### Bookmarks Sidebar
66
67
67
-
Your bookmarks are also available via what is known as the [Firefox Sidebar](https://support.mozilla.org/kb/use-firefox-sidebar-access-bookmarks-history-synced). The Sidebar can be opened by adding a Sidebar button to your controls, or preferably by using the shortcut `Ctr/Cmd + B` to open the Bookmarks Sidebar. You can find all of your bookmarks here including entries from both Bookmarks Toolbar and Bookmarks Menu, in the form of a tree structure explorer with access to a searching function at the top.
68
+
Your bookmarks are also available via what is known as the [Firefox Sidebar](https://support.mozilla.org/kb/use-firefox-sidebar-access-bookmarks-history-synced). The Sidebar can be opened by adding a Sidebar button to your controls, or preferably by using the shortcut <KeyboardShortcutshortcut="Ctrl + B" /> to open the Bookmarks Sidebar. You can find all of your bookmarks here including entries from both Bookmarks Toolbar and Bookmarks Menu, in the form of a tree structure explorer with access to a searching function at the top.
The Firefox Library is a unified manager for Bookmarks, History, and Downloads. You can access the Library by the shortcut `Ctrl/Cmd + Shift + O` or from the application menu `"Bookmarks"`>`"Manage bookmarks"`. While most of its functions here have already been offered via the Bookmarks Sidebar, the Library is important for your purpose of Importing and Backing up Zen's bookmarks.
75
+
The Firefox Library is a unified manager for Bookmarks, History, and Downloads. You can access the Library by the shortcut <KeyboardShortcutshortcut="Ctrl + Shift + O" /> or from the application menu `"Bookmarks"`>`"Manage bookmarks"`. While most of its functions here have already been offered via the Bookmarks Sidebar, the Library is important for your purpose of Importing and Backing up Zen's bookmarks.
Compact Mode is one of Zen's main feature that let you hide all browser toolbars and give wider view for the website you're currently visit.
7
8
8
-
You can activate this feature by right click on empty area on the `toolbar > "Compact Mode" > "Enable compact mode"`, or use `Alt + Ctrl/Cmd + C` keyboard shortcut.
9
+
You can activate this feature by right click on empty area on the `toolbar > "Compact Mode" > "Enable compact mode"`, or use <KeyboardShortcutshortcut="Alt + Ctrl + C" /> keyboard shortcut.
9
10
10
11
{
11
12
<divalign="center">
@@ -28,8 +29,8 @@ In Multiple Toolbar or Collapsed Toolbar mode, you can choose which bar to hide.
28
29
29
30
You can also use these extra shortcuts to show the hidden bars, suitable for heavy keyboard users. Unlike usual hovering gesture, showing sidebar/toolbar using these shortcuts is done persistently, until you pressed the shortcut again to hide it.
30
31
31
-
-**Toggle Floating Sidebar**: `Alt + Ctrl/Cmd + S` - Show the tab sidebar for all toolbar modes
32
-
-**Toggle Floating Toolbar**: `Alt + Ctrl/Cmd + W` - Show the top toolbar for Multiple & Collapsed Toolbar mode
32
+
-**Toggle Floating Sidebar**: <KeyboardShortcutshortcut="Alt + Ctrl + S" /> - Show the tab sidebar for all toolbar modes
33
+
-**Toggle Floating Toolbar**: <KeyboardShortcutshortcut="Alt + Ctrl + W" /> - Show the top toolbar for Multiple & Collapsed Toolbar mode
33
34
34
35
<Callout>
35
36
_All shortcuts can be modified via `Settings > Keyboard Shortcuts`._
Extensions are a small software piece that enhance and personalize a browser by adding or modifying browser function and features. Example of commonly installed extensions includes ad blockers, easy reader mode, privacy and tracking managers, media downloaders, password managers, and tweaks for commonly used websites.
7
8
@@ -25,7 +26,7 @@ If you haven't installed any extensions yet, clicking the Extensions button will
25
26
Add-Ons Manager is a page that primarily let you see extension details, manage its preferences, assign shortcuts, disable and remove extensions. You can access Add-Ons Manager by:
26
27
- Open the extension button > Click `Manage extensions`.
27
28
- Open the main menu > Click "Add-ons and themes".
Select "Extensions" and you can see the list of your installed extensions. You can click on each extensions name to expand the details, or click toggle in each extensions to disable or enable it.
Zen's Glance lets you preview websites on top of your current tab, without fully switching to it. By default, you can create a Glance view by holding `Alt` as trigger key when clicking a link in a regular tab. In Essentials and pinned tabs, Glance will be automatically created when clicking a link outside current website, without having to pressing the trigger key.
7
+
Zen's Glance lets you preview websites on top of your current tab, without fully switching to it. By default, you can create a Glance view by holding <KeyboardShortcutshortcut="Alt" /> as trigger key when clicking a link in a regular tab. In Essentials and pinned tabs, Glance will be automatically created when clicking a link outside current website, without having to pressing the trigger key.
7
8
8
9
{
9
10
<divalign="center">
@@ -20,6 +21,6 @@ Once Glance appeared, there's three buttons on its top left side:
20
21
- Expand button to move the website into a new tab.
21
22
- Split button to add the website as a split tab.
22
23
23
-
You can disable/enable Glance and change the trigger method (from `Alt + Click`to `Ctrl + Click`or `Shift + Click`) by opening `Settings` > `Look and Feel` > `Glance`.
24
+
You can disable/enable Glance and change the trigger method (from <KeyboardShortcutshortcut="Alt + Click" /> to <KeyboardShortcutshortcut="Ctrl + Click" /> or <KeyboardShortcutshortcut="Shift + Click" />) by opening `Settings` > `Look and Feel` > `Glance`.
24
25
25
26
With Glance, you can take a quick look of websites, move on if you're done with the site, and go back to your previous surfing activities easily.
With **Picture-in-Picture (PiP)** in **Zen**, you can pop videos out of webpages into a clean, always-on-top floating window. Whether you're working, browsing, or just casually scrolling, PiP keeps your video visible without disrupting your flow.
7
8
@@ -30,7 +31,7 @@ On pages with a single video, Zen displays a PiP icon in the **address bar**.
30
31
You can also launch PiP by **right-clicking** on the video.
31
32
32
33
- Some platforms like YouTube use custom menus.
33
-
In that case, use **Shift + Right-Click** or **double right-click** to access Zen’s native menu.
34
+
In that case, use <KeyboardShortcutshortcut="Shift + Right-Click" /> or **double right-click** to access Zen’s native menu.
0 commit comments