ObsidianPluginStylesOptions
The stylesheet pipeline of ObsidianPluginFeatureOptions.
Import:
import type { ObsidianPluginStylesOptions } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-features';Signature:
export interface ObsidianPluginStylesOptionsProperties
| Property | Type | Description |
|---|---|---|
| cssModules? | boolean | Whether 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? | boolean | Whether every stylesheet goes through the project's PostCSS configuration (postcss.config.*, .postcssrc*, or postcss in package.json). |
| tailwind? | boolean | Whether every stylesheet goes through Tailwind CSS 4 (@tailwindcss/postcss), so @import "tailwindcss"; expands to the utilities the sources use. |
Links to this page: