Skip to main content

load_stylesheet

Function load_stylesheet 

Source
pub fn load_stylesheet() -> Stylesheet
Expand description

Load the user stylesheet for the current environment.

Prefers $XDG_CONFIG_HOME/tree-space/main.css; when that is missing the shipped default is used. On first launch the default is written out first (see [ensure_default_stylesheet]) so a file always exists to edit.