Skip to content

Style Context

A CSS snippet helper. Register local images as CSS variables, quickly set vault backgrounds, expose the current theme on body for theme-specific styling, and auto-add cssclasses per folder. - This plugin has not been manually reviewed by Obsidian staff.

The above warnings are based on limited information and might not always be accurate.

Data

IDstyle-context
AuthorMoy
FundingSupport the Author
Minimum Obsidian Version1.13.0
Official Release Date2026-07-25
Last update2026-10-14

Last Refresh

Obsidian Stats last refreshed the data behind this page on Oct 27, 2026.

Community plugin snapshotOct 26, 2026
Repository clonelast successful checkout Oct 27, 2026
Release acquisitionrelease metadata checked Oct 27, 2026; latest main.js acquired

Quick Links

Changes

DateChanged PropertyOld ValueNew Value
2026-07-25Plugin Added
2026-08-07Plugin Removed
2026-08-07Plugin Re-Added
2026-08-07descriptionAn Obsidian plugin that publishes runtime context as CSS classes and variables. It turns things like your current theme and vault image paths into predictable hooks for your own custom CSS snippets. - This plugin has not been manually reviewed by Obsidian staff.A CSS snippet helper. Register local images as CSS variables, quickly set vault backgrounds, expose the current theme on body for theme-specific styling, and auto-add cssclasses per folder. - This plugin has not been manually reviewed by Obsidian staff.
2026-09-09Plugin Removed
2026-09-09Plugin Re-Added

Repository Data

LicenseMIT in package.json
MIT in LICENSE file
Package Managernpm, pnpm
Uses TypescriptYes
Installed Bundlersesbuild
Installed Testing FrameworksVitest
Has Test FilesYes
Latest Release main.js Size161 KB
Detected ES VersionES2018
Probably MinifiedNo
main.js API Findings9 disclosures
Uses BRAT beta releasesNo
DependenciesNone
Dev Dependencies@eslint/json, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, esbuild, eslint, eslint-plugin-obsidianmd, jsdom, obsidian, stylelint, tslib, typescript, typescript-eslint, vitest

main.js API Findings

These findings come directly from Glass Lint's JavaScript and Obsidian rule catalogs applied to the latest release main.js. The confidence column is Glass Lint's definite/possible match certainty.

DisclosureRule Descriptions
Clipboard AccessWrites clipboard data
Full Vault AccessEnumerates vault files
Lifecycle EventsRegisters Obsidian lifecycle events
Markdown ProcessingUses markdown link helpers
Network AccessConstructs or references URLs
Plugin Storage AccessReads plugin data, Writes plugin data
User Interface AccessRegisters plugin settings UI, Registers ribbon icons, Uses Obsidian menus, Uses Obsidian notices
Vault AccessAccesses Obsidian vault APIs
Workspace AccessRegisters Obsidian workspace events
FindingTypeConfidenceEvidence
Writes clipboard dataInfoDefinitemember_call of "navigator.clipboard.writeText" (5)
Constructs or references URLsInfoDefinitestring_contains of "https://" (5)
Registers Obsidian lifecycle eventsInfoDefinitemember_call of "obsidian.Plugin" (2)
Uses markdown link helpersInfoDefinitemember_call of "obsidian" (5)
Reads plugin dataInfoDefinitemember_call of "obsidian.Plugin"
Writes plugin dataInfoDefinitemember_call of "obsidian.Plugin"
Uses Obsidian menusInfoDefinitemember_call of "obsidian.Menu"
Uses Obsidian noticesInfoDefiniteconstructor of "obsidian.Notice" (9)
Registers ribbon iconsInfoDefinitemember_call of "obsidian.Plugin"
Registers plugin settings UIInfoDefiniteclass of "obsidian.PluginSettingTab", member_call of "obsidian.Plugin"
Accesses Obsidian vault APIsInfoDefinitemember_read of "app.vault" (3)
Enumerates vault filesInfoDefinitemember_call of "app.vault.getAllFolders", member_call of "app.vault.getFiles", member_call of "app.vault.getAbstractFileByPath"
Registers Obsidian workspace eventsInfoDefinitemember_call of "app.workspace.on" (2)

The above data may not be accurate and contain errors. For more information refer to the page about data collection.

Lines of Code

The plugin has a total of 6412 lines of code. The following chart shows the lines of code split by programming language.

Downloads

The following chart shows the total number of downloads of the plugin over time. The second chart shows the delta of downloads per week, which is the number of new downloads per week. New version releases are marked with vertical lines.

Version History

VersionRelease DateNote
0.1.02026-07-27None
0.1.12026-07-27None
0.2.02026-07-27None
0.2.12026-07-28None
0.3.02026-08-08None
0.3.12026-08-08None
0.3.22026-08-09None
0.3.32026-08-09None
0.3.42026-08-09None
0.3.52026-08-09None
0.4.02026-09-10None
0.4.12026-09-10None
0.5.02026-09-20None
0.5.12026-09-25None
0.6.02026-10-06None
0.6.12026-10-06None
0.6.22026-10-15None
0.6.32026-10-15None