Skip to content

ObsidianPluginStylesOptions

The stylesheet pipeline of ObsidianPluginFeatureOptions.

Import:

import type { ObsidianPluginStylesOptions } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-features';

Signature:

export interface ObsidianPluginStylesOptions

Properties

PropertyTypeDescription
cssModules?booleanWhether a *.module.css file is a CSS module: its class names are scoped, and importing it gives the scoped names by their original ones.
postcss?booleanWhether every stylesheet goes through the project's PostCSS configuration (postcss.config.*, .postcssrc*, or postcss in package.json).
tailwind?booleanWhether every stylesheet goes through Tailwind CSS 4 (@tailwindcss/postcss), so @import "tailwindcss"; expands to the utilities the sources use.

Links to this page: