Skip to content

Trilium Notes theme to go with Everforest and Ant Dark linux desktop themes.

Notifications You must be signed in to change notification settings

Lolabird/everforest-ant-dark-trilium-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EverForest Ant Dark (EFAD) Trilium Theme

This is a Trilium Notes theme to go with Everforest and Ant Dark Linux desktop themes.

Text Showcase

Features

Native Styles

  • Dark theme
  • High contrast
  • Scrolling tables with sticky headers on both axes
  • Vertical floating buttons that have much less overlap with content of notes
  • Custom fonts
  • Earthy colors

Enhanced Addon Styles

See 'Usage Instructions' for information on how to enable these.

  • Zen Mode
  • Matching syntax highlight in text notes
  • Position shown in TOC
  • And much more!

Usage Instructions

  • Download the latest version of Trilium
  • Download the latest release of EverForest Ant Dark
  • In your trilium instance right click a note you want to import the theme into
  • 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!

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)) to the note
    api.addButtonToToolbar({
        title: 'Zen mode',
        icon: 'spa',
        action: function() {
            $("body").toggleClass("zen-mode");
        },
        shortcut: 'alt+z'
    });
  • Reload (ctrl+r or F5) Trilium to enable the script
Usage

Press alt+z or the zen (spa) button in the launcher (left most panel) to enable/disable zen mode.

There are two types of zen mode available:

  1. Right panel enabled
  2. Right panel disabled

Right panel is enabled by default. If you would like to disable it, you can either add the following code in a new CSS note or uncomment it in the Stellar Dark theme as seen in the video below.

/*hide right pane*/
.zen-mode #right-pane {
    display: none !important;
}
EFAD_Zen.mp4
Added Features
  • Window control buttons are still accessible in zen mode
  • Zen button is still accessible in zen mode for easy disabling in case you don't remember the shortcut
  • Bottom panel widgets are not visible in zen mode
  • Optional disabling of right panel in zen mode

Show Position in TOC and Syntax Highlight

Please go to each addon's respective page for instructions on how to enable these addons.

Screenshots and Videos

Selection Showcase

EFAD_Tables.mp4

Map Showcase

Code Showcase

EFAD_Code_Hover.mp4

Text Note Syntax Highlight Showcase

Credits and Resources

Fonts

Desktop Themes

Ant Dark

EverForest

Note: There are several EverForest Firefox themes, but the one I personally like and use is listed below.

Zafiro Icon Theme

Note: I only have GitHub and KDE listed below, but this set is also available for other desktop environments as well.

Addons Featured in the Screenshots and Videos

Find more addons made by the Trilium community at Nriver's Awesome Trilium, and check out my other theme Stellar Dark while you're at it!!