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
| ID | style-context |
| Author | Moy |
| Funding | Support the Author |
| Minimum Obsidian Version | 1.13.0 |
| Official Release Date | 2026-07-25 |
| Last update | 2026-10-14 |
Last Refresh
Obsidian Stats last refreshed the data behind this page on Oct 27, 2026.
| Community plugin snapshot | Oct 26, 2026 |
| Repository clone | last successful checkout Oct 27, 2026 |
| Release acquisition | release metadata checked Oct 27, 2026; latest main.js acquired |
Quick Links
Changes
| Date | Changed Property | Old Value | New Value |
|---|---|---|---|
| 2026-07-25 | Plugin Added | ||
| 2026-08-07 | Plugin Removed | ||
| 2026-08-07 | Plugin Re-Added | ||
| 2026-08-07 | description | An 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-09 | Plugin Removed | ||
| 2026-09-09 | Plugin Re-Added |
Repository Data
| License | MIT in package.json MIT in LICENSE file |
| Package Manager | npm, pnpm |
| Uses Typescript | Yes |
| Installed Bundlers | esbuild |
| Installed Testing Frameworks | Vitest |
| Has Test Files | Yes |
Latest Release main.js Size | 161 KB |
| Detected ES Version | ES2018 |
| Probably Minified | No |
| main.js API Findings | 9 disclosures |
| Uses BRAT beta releases | No |
| Dependencies | None |
| 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.
| Disclosure | Rule Descriptions |
|---|---|
| Clipboard Access | Writes clipboard data |
| Full Vault Access | Enumerates vault files |
| Lifecycle Events | Registers Obsidian lifecycle events |
| Markdown Processing | Uses markdown link helpers |
| Network Access | Constructs or references URLs |
| Plugin Storage Access | Reads plugin data, Writes plugin data |
| User Interface Access | Registers plugin settings UI, Registers ribbon icons, Uses Obsidian menus, Uses Obsidian notices |
| Vault Access | Accesses Obsidian vault APIs |
| Workspace Access | Registers Obsidian workspace events |
| Finding | Type | Confidence | Evidence |
|---|---|---|---|
| Writes clipboard data | Info | Definite | member_call of "navigator.clipboard.writeText" (5) |
| Constructs or references URLs | Info | Definite | string_contains of "https://" (5) |
| Registers Obsidian lifecycle events | Info | Definite | member_call of "obsidian.Plugin" (2) |
| Uses markdown link helpers | Info | Definite | member_call of "obsidian" (5) |
| Reads plugin data | Info | Definite | member_call of "obsidian.Plugin" |
| Writes plugin data | Info | Definite | member_call of "obsidian.Plugin" |
| Uses Obsidian menus | Info | Definite | member_call of "obsidian.Menu" |
| Uses Obsidian notices | Info | Definite | constructor of "obsidian.Notice" (9) |
| Registers ribbon icons | Info | Definite | member_call of "obsidian.Plugin" |
| Registers plugin settings UI | Info | Definite | class of "obsidian.PluginSettingTab", member_call of "obsidian.Plugin" |
| Accesses Obsidian vault APIs | Info | Definite | member_read of "app.vault" (3) |
| Enumerates vault files | Info | Definite | member_call of "app.vault.getAllFolders", member_call of "app.vault.getFiles", member_call of "app.vault.getAbstractFileByPath" |
| Registers Obsidian workspace events | Info | Definite | member_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
| Version | Release Date | Note |
|---|---|---|
| 0.1.0 | 2026-07-27 | None |
| 0.1.1 | 2026-07-27 | None |
| 0.2.0 | 2026-07-27 | None |
| 0.2.1 | 2026-07-28 | None |
| 0.3.0 | 2026-08-08 | None |
| 0.3.1 | 2026-08-08 | None |
| 0.3.2 | 2026-08-09 | None |
| 0.3.3 | 2026-08-09 | None |
| 0.3.4 | 2026-08-09 | None |
| 0.3.5 | 2026-08-09 | None |
| 0.4.0 | 2026-09-10 | None |
| 0.4.1 | 2026-09-10 | None |
| 0.5.0 | 2026-09-20 | None |
| 0.5.1 | 2026-09-25 | None |
| 0.6.0 | 2026-10-06 | None |
| 0.6.1 | 2026-10-06 | None |
| 0.6.2 | 2026-10-15 | None |
| 0.6.3 | 2026-10-15 | None |