Skip to content

Commit

Permalink
Embedded blocks are now dimmable
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellee committed Sep 14, 2022
1 parent ce40c0c commit 40d25bd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "obsidian-stille",
"name": "Stille",
"version": "1.2.1",
"minAppVersion": "0.13.0",
"version": "1.3.0",
"minAppVersion": "0.15.0",
"description": "Focus on your writing, a section at a time.",
"author": "Michael Lee",
"authorUrl": "https://michaelsoolee.com",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-stille",
"version": "1.2.1",
"version": "1.3.0",
"description": "An Obsidian plugin that helps you focus on your writing, a section at a time.",
"main": "main.js",
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ body.StilleStyle .cm-editor:not(.cm-focused) .cm-line{
opacity: var(--unfocusedLevel);
}

body.StilleStyle .cm-editor .internal-embed,
body.StilleStyle .cm-editor .cm-embed-block {
opacity: var(--unfocusedLevel);
}

body.StilleStyle .cm-editor .cm-active {
opacity: 1.0;
}
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"1.0.3": "0.9.12",
"1.1.0": "0.13.0",
"1.2.0": "0.13.0",
"1.2.1": "0.13.0"
"1.2.1": "0.13.0",
"1.3.0": "0.15.0"
}

0 comments on commit 40d25bd

Please sign in to comment.