From cbe33848482b8d463267fac60be9e3078c7bc164 Mon Sep 17 00:00:00 2001 From: GitHub <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 15 Aug 2023 22:37:19 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=200.7.14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 8 ++++++ manifest.json | 2 +- package-lock.json | 4 +-- package.json | 2 +- publish.css | 2 +- tasks-snippet.css | 2 +- theme.css | 69 ++++++++++++++++++++++++++++++++--------------- 7 files changed, 61 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2acc760..72cdcc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [0.7.14](https://github.com/ebullient/obsidian-theme-ebullientworks/compare/0.7.13...0.7.14) + +- Bump sass from 1.64.2 to 1.65.1 [`#58`](https://github.com/ebullient/obsidian-theme-ebullientworks/pull/58) +- :adhesive_bandage: Fixed Property Title [`#56`](https://github.com/ebullient/obsidian-theme-ebullientworks/pull/56) +- 🎨 metadata/property view fixes [`e0d39a4`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/e0d39a4d5b0666b6d944edf2c679493557b91335) + #### [0.7.13](https://github.com/ebullient/obsidian-theme-ebullientworks/compare/0.7.12...0.7.13) +> 10 August 2023 + - :adhesive_bandage: Fixed Padding for Properties Text Alignment [`#54`](https://github.com/ebullient/obsidian-theme-ebullientworks/pull/54) - 🎨 apply frontmatter float to metadata container, too [`1ae81c6`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/1ae81c686b6ff1b59d72829105cd67141ade6f41) - 🐛 Only move Add Property in source view [`2eff374`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/2eff37434e448ea752ad39cedc9ef466f644bd2d) diff --git a/manifest.json b/manifest.json index 33d04c2..77d167f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Ebullientworks", - "version": "0.7.13", + "version": "0.7.14", "minAppVersion": "0.16.0", "author": "Ebullientworks", "authorUrl": "https://github.com/ebullient", diff --git a/package-lock.json b/package-lock.json index c2fde15..4675fd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "obsidian-theme-ebullientworks", - "version": "0.7.13", + "version": "0.7.14", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "0.7.13", + "version": "0.7.14", "license": "MIT", "devDependencies": { "auto-changelog": "^2.4.0", diff --git a/package.json b/package.json index d3ba35b..c70ea92 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-theme-ebullientworks", - "version": "0.7.13", + "version": "0.7.14", "private": true, "description": "An Obsidian Theme", "author": "Erin Schnabel", diff --git a/publish.css b/publish.css index 6e5cd7c..9773e20 100644 --- a/publish.css +++ b/publish.css @@ -1,7 +1,7 @@ @charset "UTF-8"; @import url("https://fonts.googleapis.com/css2?family=Architects+Daughter&family=IBM+Plex+Sans:wght@300;400;700&display=swap"); /* -Ebullientworks 0.7.13. A dark and light theme for Obsidian. +Ebullientworks 0.7.14. A dark and light theme for Obsidian. https://github.com/ebullient/obsidian-theme-ebullientworks */ diff --git a/tasks-snippet.css b/tasks-snippet.css index 26090e2..b7b4821 100644 --- a/tasks-snippet.css +++ b/tasks-snippet.css @@ -1,6 +1,6 @@ @charset "UTF-8"; /* -Ebullientworks 0.7.13. A dark and light theme for Obsidian. +Ebullientworks 0.7.14. A dark and light theme for Obsidian. https://github.com/ebullient/obsidian-theme-ebullientworks */ diff --git a/theme.css b/theme.css index 980c36c..83559c8 100644 --- a/theme.css +++ b/theme.css @@ -1,7 +1,7 @@ @charset "UTF-8"; @import url("https://fonts.googleapis.com/css2?family=Architects+Daughter&family=IBM+Plex+Sans:wght@300;400;700&display=swap"); /* -Ebullientworks 0.7.13. A dark and light theme for Obsidian. +Ebullientworks 0.7.14. A dark and light theme for Obsidian. https://github.com/ebullient/obsidian-theme-ebullientworks */ @@ -870,21 +870,21 @@ select:focus, body { --metadata-background: transparent; - --metadata-padding: 0 0 var(--size-4-1) 0; + --metadata-padding: 0; --metadata-border-color: var(--background-modifier-border); --metadata-border-radius: 4px; --metadata-border-width: 1px; - --metadata-divider-color: var(--background-primary-alt); + --metadata-divider-color: var(--background-secondary); --metadata-divider-width: 1px; --metadata-gap: 0; - --metadata-property-padding: 0 0 0 var(--size-4-1); + --metadata-property-padding: 0; --metadata-property-radius: var(--radius-s); --metadata-label-font-size: var(--font-smaller); --metadata-input-font-size: var(--font-smaller); } .markdown-source-view .metadata-container .metadata-add-button { - margin-top: var(--size-2-2); + margin-top: var(--size-2-1); padding-left: var(--size-2-2); position: absolute; font-size: var(--font-smaller); @@ -892,20 +892,35 @@ body { top: 0; } -.metadata-container { +.workspace > .workspace-split:not(.mod-root) .workspace-leaf-content[data-type=file-properties] .view-content { + padding: 0; +} +.workspace > .workspace-split:not(.mod-root) .metadata-container { + --metadata-background: transparent; + --metadata-divider-color: var(--background-secondary); + --metadata-border-color: transparent; +} +.workspace > .workspace-split:not(.mod-root) .metadata-container .metadata-property { + background-color: var(--background-primary-alt); +} +.workspace > .workspace-split:not(.mod-root) .metadata-container .metadata-add-button { + margin-top: 0; +} + +.workspace > .workspace-split.mod-root .metadata-container { --input-height: var(--line-height-normal); font-family: var(--font-monospace); margin-left: 25px; margin-block-end: 0; } -.metadata-container .metadata-property-icon, -.metadata-container .metadata-property-key, -.metadata-container .metadata-property-key-input, -.metadata-container .metadata-property-value { +.workspace > .workspace-split.mod-root .metadata-container .metadata-property-icon, +.workspace > .workspace-split.mod-root .metadata-container .metadata-property-key, +.workspace > .workspace-split.mod-root .metadata-container .metadata-property-key-input, +.workspace > .workspace-split.mod-root .metadata-container .metadata-property-value { border-bottom: none; } -.metadata-container .metadata-property, -.metadata-container .metadata-property[data-property-key=tags] { +.workspace > .workspace-split.mod-root .metadata-container .metadata-property, +.workspace > .workspace-split.mod-root .metadata-container .metadata-property[data-property-key=tags] { --pill-remove-color: var(--text-faint); --pill-remove-color-hover: var(--text-accent); --pill-radius: var(--radius-s); @@ -914,25 +929,33 @@ body { --pill-padding-y: 0; --pill-padding-x: var(--size-2-1); } -.metadata-container .metadata-property .multi-select-pill, -.metadata-container .metadata-property[data-property-key=tags] .multi-select-pill { +.workspace > .workspace-split.mod-root .metadata-container .metadata-property .multi-select-pill, +.workspace > .workspace-split.mod-root .metadata-container .metadata-property[data-property-key=tags] .multi-select-pill { line-height: var(--line-height-normal); } -.metadata-container .metadata-property { +.workspace > .workspace-split.mod-root .metadata-container .metadata-property { border-bottom: var(--metadata-divider-width) solid var(--metadata-divider-color); } -.metadata-container .metadata-property .metadata-property-icon { +.workspace > .workspace-split.mod-root .metadata-container .metadata-property .metadata-property-icon { --icon-size: var(--icon-xs); width: var(--icon-s); min-height: var(--line-height-normal); } -.metadata-container .metadata-property .multi-select-container { +.workspace > .workspace-split.mod-root .metadata-container .metadata-property .multi-select-container { padding: 0; } -.metadata-container .metadata-property:last-child { +.workspace > .workspace-split.mod-root .metadata-container .metadata-property .metadata-input-longtext { + padding: var(--pill-padding-x); +} +.workspace > .workspace-split.mod-root .metadata-container .metadata-property:last-child { border-bottom: none; } +.metadata-property-key { + align-items: center; + border-right: var(--metadata-divider-width) solid var(--metadata-divider-color); +} + .metadata-properties-title { margin-bottom: var(--size-4-1); padding: var(--size-4-1); @@ -956,6 +979,12 @@ body { color: var(--secondary-accent-4); } +.metadata-properties-heading { + display: block; + padding: 0; + margin-bottom: 0; +} + body { --h1-size: 2em; --h2-size: 1.8em; @@ -2478,10 +2507,6 @@ div[src$="#small-right"] { .ebullientworks-floating-frontmatter.is-mobile .markdown-rendered .metadata-container:hover .metadata-property[data-property-key=tags] { --pill-background: var(--background-primary); } -.ebullientworks-floating-frontmatter .metadata-input-longtext, -.ebullientworks-floating-frontmatter.is-mobile .metadata-input-longtext { - padding: var(--pill-padding-x); -} body { --table-header-color: var(--text-on-accent);