如何在 LibreOffice 中完全启用深色模式
LibreOffice 深色模式
![](/data/attachment/album/202012/07/083812n0zgss9qt175pm9z.jpg)


[LibreOffice](https://www.libreoffice.org) 是一款自由开源的跨平台办公生产力软件。如果你没有充分利用它，那么必须看下 [LibreOffice 小技巧](https://itsfoss.com/libreoffice-tips/)。


甚至在非编程人员中，深色主题也越来越受欢迎。它减轻了眼睛的压力，特别适合长时间使用屏幕。有人认为，这使文本看起来清晰明了，有助于提高生产率。


如今，某些 Linux 发行版例如 [Ubuntu 带有深色模式](https://itsfoss.com/dark-mode-ubuntu/)，使你的系统具有更暗的色彩。当你打开<ruby> 深色模式 <rt>  dark mode </rt></ruby>时，某些应用将自动切换到深色模式。


LibreOffice 也会这样，但你编辑的主区域除外：


![LibreOffice semi dark mode matching with the system theme](/data/attachment/album/202012/07/084009a9f904449z46dxz9.png)


你可以更改它。如果要让 LibreOffice 进入完全深色模式，只需更改一些设置。让我告诉你如何做。


### 如何在 LibreOffice 中完全启用深色模式


如前所述，你需要先启用系统范围的深色模式。这样可以确保窗口颜色（或标题栏）与应用内深色完全融合。


接下来，打开套件中的**任意** LibreOffice 应用，例如 **Writer**。然后从菜单中，依次点击 **Tools -> Options -> Application Colors**，然后选择 **Document background 和 Application background** 为 **Black** 或 **Automatic**（任意适合你的方式）。


![](/data/attachment/album/202012/07/083939y8cmmokapap6aoz2.png)


如果图标不是深色，那么可以从菜单（如下图所示）中更改它们，**Tools -> Options -> View** ，我在 MX Linux 上的个人选择是 Ubuntu 的 [Yaru](https://extensions.libreoffice.org/en/extensions/show/yaru-icon-theme) 图标样式（如果你使用的图标包为深色版本，请选择它） 。


![](/data/attachment/album/202012/07/083946olxmuigslmoujs3f.png)


当然，你也可以尝试其他 Linux 发行版的 [icon 主题](https://itsfoss.com/best-icon-themes-ubuntu-16-04/)。


最终结果应如下所示：


![](/data/attachment/album/202012/07/083949n7f5sa9zwcxlalil.png)


#### LibreOffice flatpak 软件包的其他技巧


如果你使用的是 LibreOffice 套件的 [Flatpak 软件包](https://itsfoss.com/what-is-flatpak/)，那么 LibreOffice 的标题区域（或菜单区域）可能看起来是白色的。在这种情况下，你可以尝试进入 **Tools -> Options -> Personalization**，然后选择 “**灰色主题**”，如下截图所示。


![](/data/attachment/album/202012/07/083952tcqqt1cnqqwc67bt.png)


它并不完全是黑色的，但应该可以使外观看起来更好。希望可以帮助你切换到深色主题的 LibreOffice 体验！


#### 总结


深色主题逐渐开始在我们的台式机中占主导地位，它具有现代品味并减少了眼睛疲劳，尤其是在弱光条件下。


LibreOffice 使你可以自由地将工作环境切换为深色主题或保留浅色主题元素。实际上，你将有大量的自定义选项来调整你喜欢的内容。你是否已在 LibreOffice 上切换为深色主题？你首选哪种颜色组合？在下面的评论中让我们知道！




---


via: <https://itsfoss.com/libreoffice-dark-mode/>


作者：[Dimitrios Savvopoulos](https://itsfoss.com/author/dimitrios/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

Want to use LibreOffice in complete dark mode? Here's what you need to do for that in Linux.

[LibreOffice](http://www.libreoffice.org/?ref=itsfoss.com) is a free and open-source cross-platform office productivity software. If you’re not making the most of it, the [LibreOffice Tips](https://itsfoss.com/libreoffice-tips/) article is a must-read.

The dark theme is getting popular even among non-programmers. It is less stressing on the eyes, specially for extended use of the screen. Some people believe that it makes the texts look crisp and clear and that helps improve their productivity.

Some Linux distributions like [Ubuntu come with dark mode](https://itsfoss.com/dark-mode-ubuntu/) these days, giving your systems a darker tint. When you turn on the dark mode, some applications will automatically switch to dark mode.

LibreOffice also does that, except the main area where you write:

![The editor area in the default settings of LibreOffice is in light mode](https://itsfoss.com/content/images/2024/03/default-light-mode-in-the-editor-area-of-LibreOffice-writer.png)

You can change that. If you want to go complete dark mode with LibreOffice, you just have to change a few settings. Let me show you how to do that.

## Method 1: Enable complete dark mode in LibreOffice Automatically

As I mentioned earlier, you need to enable a system-wide dark mode first. This will ensure that the window color (or the title bar) blends well with the in-app dark color. On Ubuntu, you can do this by going to **Settings → Appearance → Toggle Dark Mode**.

![Enable system-wide dark mode in Ubuntu through the system settings application](https://itsfoss.com/content/images/2024/03/enable-system-wide-dark-mode-in-ubuntu-through-system-settings.png)

Next, open ** any** LibreOffice tool from the suite, such as

**Writer**. Then from the menu, click

**Tools → Options**.

![From the LibreOffice Menubar, select Tools and then click on Options](https://itsfoss.com/content/images/2024/03/from-the-toolbar-select-tools-options.png)


*Tools → Options*In the **Options** window, go to the **Application Colors** tab and change the color scheme to **LibreOffice Dark**.

![Set the application color scheme as LibreOffice Dark and click on Apply button](https://itsfoss.com/content/images/2024/03/set-libre-office-dark-as-the-application-color-scheme.png)

Now, click on **Apply** to apply the changes.

### Dark Mode on Latest LibreOffice Releases

There is a slight change for the process on the latest releases of LibreOffice, like version 7.6. First, go to **Tools → Options → Application Colors**. Here, set the scheme to **Automatic**.

Now, on the adjacent **Automatic** field, set the theme as **System Theme**. Click on Apply.

![Set the Automatic theme to System Theme](https://itsfoss.com/content/images/2024/03/set-the-scheme-to-automatic-and-set-automatic-to-system-theme.png)

This will make LibreOffice automatically change according to the system theme. That is, when it is dark mode, LibreOffice will be dark and vice versa.

You can also set LibreOffice to permanent dark mode, by changing the **Automatic** value from **System Themes** to **Dark**.

![Set the Automatic theme to Dark](https://itsfoss.com/content/images/2024/03/set-the-scheme-to-automatic-and-set-automatic-to-dark.png)

## Method 2: Manually Change Colors

Not fond of the default dark theme in LibreOffice? Don't worry! You can always change the themes manually to your liking.

Open a LibreOffice tool from the suite, such as **Writer**. From the menu, click **Tools→ Options**.

![From the LibreOffice Menubar, select Tools and then click on Options](https://itsfoss.com/content/images/2024/03/from-the-toolbar-select-tools-options-1.png)


*Tools → Options*From **Application Colors**, select **Document background & Application** background as **Black** or **Automatic** (whichever works for you).

![Set a custom colors for LibreOffice document areas](https://itsfoss.com/content/images/2024/03/set-custom-colorts.png)

Also, change the colors for other areas too, like font color, table boundaries, etc.

Sometimes, the icons may not be visible when you change the color scheme.

![Icons are not visible in LibreOffice tool bar after a color scheme change](https://itsfoss.com/content/images/2024/03/icons-not-visible.png)

You can change them from as shown in the image below. Go to **Tools → Options**. From the options window, go to the **View** tab. My personal choice, on MX Linux, is the [Yaru](https://extensions.libreoffice.org/en/extensions/show/yaru-icon-theme?ref=itsfoss.com) icon style from Ubuntu (if you have a dark version of the icon pack, select that).

![Set the icon theme to dark in dark mode](https://itsfoss.com/content/images/2024/03/set-the-icon-theme-to-dark-in-dark-mode.png)

Of course, you can also try some other [icon themes](https://itsfoss.com/best-icon-themes-ubuntu-16-04/) available for Linux distros. Alternatively, you can just click on the “Install icons button” to install some icon theme extensions on LibreOffice.

![Add new icons as extensions from LibreOffice](https://itsfoss.com/content/images/2024/03/add-new-icon-themes-as-extensions.png)

Here, a pitch-black background is chosen for the document background. The result should look like this:

![Pitch black theme applied to the editor in LibreOffice](https://itsfoss.com/content/images/2024/03/pitch-black.png)

## Additional tip for LibreOffice Flatpak/Snap package

If you’re using the [Flatpak package](https://itsfoss.com/what-is-flatpak/) or [Snap package](https://itsfoss.com/install-snap-linux/) of LibreOffice suite, the header area (or the menu area) of LibreOffice may look different. In that case, you can try navigating to **Tools→ Options→ Personalization** and then select the “**Grey theme**” as shown in the screenshot below.Additional tip for LibreOffice Flatpak/Snap package.

If you are using Flatpak package of LibreOffice, you can easily manage the dark theme of the main window. Just follow our dedicated guide on [theming Flatpak applications](https://itsfoss.com/flatpak-app-apply-theme/) with GTK themes.

At the same time, if you are using the [Snap package](https://itsfoss.com/install-snap-linux/) of LibreOffice suite, you may not be able to change the look of the main window, apart from what the default is.

So, sometimes, the header area (or the menu area) of LibreOffice may look different. In that case, you can try navigating to **Tools→ Options→ Personalization** and then select the “**Grey theme**” as shown in the screenshot below.

![Set the LibreOffice theme to preinstalled grey](https://itsfoss.com/content/images/2024/03/set-header-bar-as-grey.png)

It isn’t completely black, but it should make things look better. Hope that helps you switch to a dark theme LibreOffice experience!

## Conclusion

Dark themes have slowly started to dominate our desktops, giving a modern taste and reducing the eye strain, especially in low light conditions.

LibreOffice gives you the freedom to switch your working environment to a fully dark theme or to keep light themed elements. In fact, you get a decent amount of customization options to tweak what you prefer. Have you switched to a dark theme on LibreOffice? Which color combination is your preferred? Let us know in the comments below!