Skip to content

CustomCSS.getThemePath method

CustomCSS › getThemePath

Unofficial

Convert theme name to its corresponding filepath (relative to vault root).

Signature:

getThemePath(themeName: string): string

Parameters:

Parameter Type Description
themeName string Name of the theme.

Returns: stringString .obsidian/themes/${themeName}/theme.css.