Skip to content

Commit 16bbac2

Browse files
committed
docs: Refine theme token wording
1 parent 7565c0f commit 16bbac2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Embed HTML docs like other Obsidian embeds. Embeds default to about 600px tall;
7272
![[doc.html|600x400]]
7373
```
7474

75-
HTML docs receive a one-way snapshot of Obsidian theme tokens. Use fallbacks so files still work outside Obsidian:
75+
Each iframe receives a one-way snapshot of Obsidian theme styles. HTML docs can use these CSS variables to match light/dark mode, theme colors, and fonts without giving the iframe permission to read Obsidian or the vault. Use fallbacks so files still work outside Obsidian:
7676

7777
```css
7878
:root {
@@ -82,7 +82,7 @@ HTML docs receive a one-way snapshot of Obsidian theme tokens. Use fallbacks so
8282
}
8383
```
8484

85-
Available tokens: `--obsidian-color-scheme`, `--obsidian-bg`, `--obsidian-bg-2`, `--obsidian-text`, `--obsidian-text-muted`, `--obsidian-accent`, `--obsidian-border`, `--obsidian-font`, `--obsidian-font-mono`.
85+
Available CSS variables: `--obsidian-color-scheme`, `--obsidian-bg`, `--obsidian-bg-2`, `--obsidian-text`, `--obsidian-text-muted`, `--obsidian-accent`, `--obsidian-border`, `--obsidian-font`, `--obsidian-font-mono`.
8686

8787
## Obsidian Plugin Docs
8888

0 commit comments

Comments
 (0)