2024-08-26 13:35:45 -06:00
# EverForest Ant Dark (EFAD) Trilium Theme
2025-04-08 09:20:34 -06:00
Dark theme for [Trilium Notes ](https://github.com/zadam/trilium ) (OG Trilium) and [TriliumNext ](https://github.com/TriliumNext/Notes ) inspired by [Everforest ](https://github.com/Fausto-Korpsvart/Everforest-GTK-Theme ) and [Ant Dark ](https://github.com/EliverLara/Ant/tree/master/kde/Dark ).
2024-10-12 00:19:55 -06:00
2025-04-07 21:47:58 -06:00

2024-08-26 13:28:00 -06:00
2024-10-12 00:22:35 -06:00
## Features
### Native Styles
* Dark theme
* High contrast
* Scrolling tables with sticky headers on both axes
2025-04-08 01:46:00 -06:00
* Vertical floating buttons for less content overlap
* Different styles for different types of links
2024-10-12 00:22:35 -06:00
* Custom fonts
* Earthy colors
### Enhanced Addon Styles
2025-04-07 21:47:58 -06:00
_See 'Usage Instructions' for information on how to enable these.*_
* Zen mode (with right panel enabled)*
* Matching code note and code block syntax highlight*
2024-10-12 00:22:35 -06:00
* Position shown in TOC
* And much more!
2025-04-07 21:47:58 -06:00
_*If you are using TriliumNext, zen mode and code block syntax highlight are already natively available in the application. No extra steps are required for these addons unless you want to disable the right panel in zen mode. Please see the usage instructions below if this is the case._
2024-10-11 22:39:32 -06:00
## Usage Instructions
2025-04-08 17:12:13 +00:00
### Installation
2025-04-07 21:47:58 -06:00
* Download and install the latest version of Trilium or TriliumNext
2024-10-11 22:39:32 -06:00
* Download the latest release of EverForest Ant Dark
2025-04-07 21:47:58 -06:00
* OG_EFAD if you use the original Trilium Notes
* Next_EFAD if you use TriliumNext
2025-04-08 09:20:34 -06:00
* In your Trilium instance right click a note you want to import the theme into
2024-10-11 22:39:32 -06:00
* Select "Import into note" in the context menu
* Uncheck "Safe import" and upload the zip file you just downloaded
* Click on the Trilium logo in the upper left corner and select Options -> Appearance
* Under "Theme", choose EverForest Ant Dark
* Enjoy!
2024-10-12 00:24:59 -06:00
### Enabling Addon Features
#### Zen Mode
* Create a 'JS frontend' code note
* Add the `#widget` attribute to 'Owned Attributes' (the button with three lines and a checkmark)
* Add the following code (created by [Nriver ](https://github.com/Nriver/awesome-trilium/issues/44 ))) to the note
2025-04-07 21:47:58 -06:00
2024-10-12 00:24:59 -06:00
```js
api.addButtonToToolbar({
title: 'Zen mode',
icon: 'spa',
action: function() {
$("body").toggleClass("zen-mode");
},
shortcut: 'alt+z'
});
```
2025-04-08 09:20:34 -06:00
* Reload (<kbd>Ctrl+R</kbd> or <kbd>F5</kbd>) Trilium to enable the script
2024-10-12 00:24:59 -06:00
##### Usage
2025-04-08 09:20:34 -06:00
Press <kbd>Alt+Z</kbd> or the zen (spa) button in the launcher (left most panel) to enable/disable zen mode.
2024-10-12 00:24:59 -06:00
There are two types of zen mode available:
1. Right panel enabled
2. Right panel disabled
2025-04-08 09:20:34 -06:00
The right panel is enabled by default in text notes. If you would like to disable this in OG Trilium, you can either add the following code in a new CSS note or uncomment it in the theme:
2024-10-12 00:24:59 -06:00
2024-10-12 01:44:37 -06:00
```css
/*hide right pane*/
.zen-mode #right -pane {
display: none !important;
}
```
2025-04-08 06:20:10 +00:00
https://github.com/user-attachments/assets/41c35ac6-6791-4b51-b1d3-8a3a79b8b5e9
2025-04-08 00:08:46 -06:00
In TriliumNext, you will need to find and comment out this code:
```css
/*show right pane*/
body.zen div.gutter {
display: block !important;
}
body.zen div#right -pane:not(.hidden-int) {
display: flex !important;
}
```
2024-10-12 00:24:59 -06:00
2025-04-08 06:20:10 +00:00
https://github.com/user-attachments/assets/f995b2f9-b983-4fba-b460-5ce23c9637c9
2025-04-08 09:20:34 -06:00
##### Additional Features
2025-04-07 21:47:58 -06:00
* Window control buttons are still accessible in zen mode*
2025-04-08 09:20:34 -06:00
* Zen button is still accessible in zen mode for a more accessible zen mode exit*
2024-10-12 00:24:59 -06:00
* Bottom panel widgets are not visible in zen mode
* Optional disabling of right panel in zen mode
2025-04-07 21:47:58 -06:00
_*Natively available in TriliumNext_
2024-10-12 00:24:59 -06:00
#### Show Position in TOC and Syntax Highlight
Please go to each addon's respective page for instructions on how to enable these addons.
* [Show Position in TOC ](https://github.com/SiriusXT/trilium-show-position-in-toc )
* [Syntax Highlight ](https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget )
2025-04-08 00:08:46 -06:00
## Screenshots
2025-04-08 09:20:34 -06:00
The following screenshots are from TriliumNext. Most of the features shown are also available in either OG Trilium or can be included via addons. However, some features, like cards (excluding blockquotes) and <kbd>kbd</kbd>, are only available in TriliumNext.
2024-08-26 13:35:45 -06:00
2025-04-08 06:20:10 +00:00
https://github.com/user-attachments/assets/a2395d8b-c9ea-4675-b5c3-e590d5af68ee
2025-04-08 00:31:37 -06:00

2025-04-08 06:20:10 +00:00
2025-04-08 00:31:37 -06:00

2025-04-08 06:20:10 +00:00
2025-04-08 00:31:37 -06:00
https://github.com/user-attachments/assets/cf5c499e-9287-402a-b0f7-dfd35bda75f1
2025-04-08 06:20:10 +00:00
2024-10-12 01:19:18 -06:00
## Credits and Resources
### Fonts
2024-10-12 16:58:47 -06:00
* Jost: https://indestructibletype.com/Jost.html
* JetBrainsMono: https://www.jetbrains.com/lp/mono/
2024-10-12 01:19:18 -06:00
### Desktop Themes
#### Ant Dark
2024-10-12 16:58:47 -06:00
* KDE: https://store.kde.org/p/1464285/
* GitHub: https://github.com/EliverLara/Ant/tree/master/kde/Dark
2024-10-12 01:19:18 -06:00
2024-08-26 13:28:00 -06:00
#### EverForest
2024-08-26 13:38:47 -06:00
*Note: There are several EverForest Firefox themes, but the one I personally like and use is listed below.*
2024-08-26 13:28:00 -06:00
2024-08-26 13:35:45 -06:00
* Gnome: https://www.gnome-look.org/p/1695467
2024-08-26 19:03:43 -06:00
* GitHub (Gnome): https://github.com/Fausto-Korpsvart/Everforest-GTK-Theme
2024-08-26 13:35:45 -06:00
* Firefox: https://addons.mozilla.org/en-US/firefox/addon/everforest_theme/
2024-08-26 19:03:43 -06:00
#### Zafiro Icon Theme
*Note: I only have GitHub and KDE listed below, but this set is also available for other desktop environments as well.*
* GitHub: https://github.com/zayronxio/Zafiro-icons
* KDE: https://store.kde.org/p/1209330
2024-10-11 22:39:32 -06:00
### Addons Featured in the Screenshots and Videos
* [Breadcrumbs ](https://github.com/rauenzi/Trilium-Breadcrumbs )
* [Scratchpad ](https://github.com/zadam/trilium/discussions/1613#discussioncomment-638984 )
* [Show Position in TOC ](https://github.com/SiriusXT/trilium-show-position-in-toc )
2025-04-07 21:47:58 -06:00
* [Syntax Highlight ](https://github.com/antoniotejada/Trilium-SyntaxHighlightWidget )
2024-10-11 22:39:32 -06:00
* [Theme Switch ](https://github.com/madodig/trilium-widget-theme-switch )
* [Trilium Chat ](https://github.com/soulsands/trilium-chat )
* WordCount (Featured in the [Demo Document ](https://github.com/zadam/trilium/wiki/Document#demo-document ))
* [Zen Mode ](https://github.com/Nriver/awesome-trilium/issues/44 )
2025-04-08 09:20:34 -06:00
Find more addons made by the Trilium community at [Nriver's Awesome Trilium ](https://github.com/Nriver/awesome-trilium?tab=readme-ov-file#%EF%B8%8F-widgets ), and check out my other themes [Ocean ](https://github.com/Lolabird/ocean-dark-trilium-theme ) and [Stellar Dark ](https://github.com/Lolabird/stellar-dark-theme-trilium ) while you're at it!