From 81d91df4deb21a6eb2d64a3516212db6f7d51eba Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 27 Oct 2022 02:49:53 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=200.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 8 ++ manifest.json | 2 +- package.json | 2 +- tasks-snippet.css | 2 +- theme.css | 267 ++++++++++++++++++++++------------------------ 5 files changed, 138 insertions(+), 143 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8de8fc..40d0bda 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.6.0](https://github.com/ebullient/obsidian-theme-ebullientworks/compare/0.5.9...0.6.0) + +- 🔥 Rename tasks-snippet post 1.0 [`be5ca5e`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/be5ca5e1b4616679066d4665acdb664308526982) +- 🎨 Light mode callout title contrast [`765bf6c`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/765bf6ccc8f3b86ae59de1ee08ad7920a0cdedef) +- 📝 Clarify README, update images [`7d711fa`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/7d711fa56ffb6cc46d9dac128a66245f5db3efad) + #### [0.5.9](https://github.com/ebullient/obsidian-theme-ebullientworks/compare/0.5.8...0.5.9) +> 16 October 2022 + - 🐛 🎨 1.0 mobile theme adjustments [`da14cf3`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/da14cf3305d49b1d74e28062694013d463b2b8c9) - 🎨 Contrast for fantasy calendar [`e46286a`](https://github.com/ebullient/obsidian-theme-ebullientworks/commit/e46286ac2c7a142ebb91b6ac801a5fc10884e214) diff --git a/manifest.json b/manifest.json index ca74f58..85453e9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Ebullientworks", - "version": "0.5.9", + "version": "0.6.0", "minAppVersion": "0.16.0", "author": "Ebullientworks", "authorUrl": "https://github.com/ebullient" diff --git a/package.json b/package.json index bd5f85c..9958f1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-theme-ebullientworks", - "version": "0.5.9", + "version": "0.6.0", "private": true, "description": "An Obsidian Theme", "author": "Erin Schnabel", diff --git a/tasks-snippet.css b/tasks-snippet.css index c9267dc..77d50e4 100644 --- a/tasks-snippet.css +++ b/tasks-snippet.css @@ -1,6 +1,6 @@ @charset "UTF-8"; /* -Ebullientworks tasks 0.5.9 by @ebullient +Ebullientworks tasks 0.6.0 by @ebullient */ :root { --checkbox-checked: rgb(139, 167, 145); diff --git a/theme.css b/theme.css index ab8104e..009125c 100644 --- a/theme.css +++ b/theme.css @@ -1,6 +1,6 @@ @charset "UTF-8"; /* -Ebullientworks 0.5.9 by @ebullient +Ebullientworks 0.6.0 by @ebullient This is a dark and light theme for Obsidian. @@ -1485,198 +1485,163 @@ body { border-radius: var(--callout-radius); } -.rendered-widget .callout[data-callout=abstract], -.rendered-widget .callout[data-callout=summary], -.rendered-widget .callout[data-callout=tldr], -.markdown-rendered .callout[data-callout=abstract], -.markdown-rendered .callout[data-callout=summary], -.markdown-rendered .callout[data-callout=tldr], -.markdown-preview-section .callout[data-callout=abstract], -.markdown-preview-section .callout[data-callout=summary], -.markdown-preview-section .callout[data-callout=tldr] { +.callout[data-callout=abstract], +.callout[data-callout=summary], +.callout[data-callout=tldr] { --callout-color: var(--ebw-callout-abstract); } -.rendered-widget .callout[data-callout=note], -.markdown-rendered .callout[data-callout=note], -.markdown-preview-section .callout[data-callout=note] { + +.callout[data-callout=note] { --callout-color: var(--ebw-callout-note); } -.rendered-widget .callout[data-callout=info], -.rendered-widget .callout[data-callout=todo], -.markdown-rendered .callout[data-callout=info], -.markdown-rendered .callout[data-callout=todo], -.markdown-preview-section .callout[data-callout=info], -.markdown-preview-section .callout[data-callout=todo] { + +.callout[data-callout=info], +.callout[data-callout=todo] { --callout-color: var(--ebw-callout-info); } -.rendered-widget .callout[data-callout=tip], -.rendered-widget .callout[data-callout=hint], -.rendered-widget .callout[data-callout=important], -.markdown-rendered .callout[data-callout=tip], -.markdown-rendered .callout[data-callout=hint], -.markdown-rendered .callout[data-callout=important], -.markdown-preview-section .callout[data-callout=tip], -.markdown-preview-section .callout[data-callout=hint], -.markdown-preview-section .callout[data-callout=important] { + +.callout[data-callout=tip], +.callout[data-callout=hint], +.callout[data-callout=important] { --callout-color: var(--ebw-callout-tip); } -.rendered-widget .callout[data-callout=success], -.rendered-widget .callout[data-callout=check], -.rendered-widget .callout[data-callout=done], -.markdown-rendered .callout[data-callout=success], -.markdown-rendered .callout[data-callout=check], -.markdown-rendered .callout[data-callout=done], -.markdown-preview-section .callout[data-callout=success], -.markdown-preview-section .callout[data-callout=check], -.markdown-preview-section .callout[data-callout=done] { + +.callout[data-callout=success], +.callout[data-callout=check], +.callout[data-callout=done] { --callout-color: var(--ebw-callout-success); } -.rendered-widget .callout[data-callout=question], -.rendered-widget .callout[data-callout=help], -.rendered-widget .callout[data-callout=faq], -.markdown-rendered .callout[data-callout=question], -.markdown-rendered .callout[data-callout=help], -.markdown-rendered .callout[data-callout=faq], -.markdown-preview-section .callout[data-callout=question], -.markdown-preview-section .callout[data-callout=help], -.markdown-preview-section .callout[data-callout=faq] { + +.callout[data-callout=question], +.callout[data-callout=help], +.callout[data-callout=faq] { --callout-color: var(--ebw-callout-question); } -.rendered-widget .callout[data-callout=warning], -.rendered-widget .callout[data-callout=caution], -.rendered-widget .callout[data-callout=attention], -.markdown-rendered .callout[data-callout=warning], -.markdown-rendered .callout[data-callout=caution], -.markdown-rendered .callout[data-callout=attention], -.markdown-preview-section .callout[data-callout=warning], -.markdown-preview-section .callout[data-callout=caution], -.markdown-preview-section .callout[data-callout=attention] { + +.callout[data-callout=warning], +.callout[data-callout=caution], +.callout[data-callout=attention] { --callout-color: var(--ebw-callout-warning); } -.rendered-widget .callout[data-callout=failure], -.rendered-widget .callout[data-callout=fail], -.rendered-widget .callout[data-callout=missing], -.markdown-rendered .callout[data-callout=failure], -.markdown-rendered .callout[data-callout=fail], -.markdown-rendered .callout[data-callout=missing], -.markdown-preview-section .callout[data-callout=failure], -.markdown-preview-section .callout[data-callout=fail], -.markdown-preview-section .callout[data-callout=missing] { + +.callout[data-callout=failure], +.callout[data-callout=fail], +.callout[data-callout=missing] { --callout-color: var(--ebw-callout-failure); } -.rendered-widget .callout[data-callout=danger], -.rendered-widget .callout[data-callout=error], -.markdown-rendered .callout[data-callout=danger], -.markdown-rendered .callout[data-callout=error], -.markdown-preview-section .callout[data-callout=danger], -.markdown-preview-section .callout[data-callout=error] { + +.callout[data-callout=danger], +.callout[data-callout=error] { --callout-color: var(--ebw-callout-danger); } -.rendered-widget .callout[data-callout=bug], -.markdown-rendered .callout[data-callout=bug], -.markdown-preview-section .callout[data-callout=bug] { + +.callout[data-callout=bug] { --callout-color: var(--ebw-callout-bug); } -.rendered-widget .callout[data-callout=example], -.markdown-rendered .callout[data-callout=example], -.markdown-preview-section .callout[data-callout=example] { + +.callout[data-callout=example] { --callout-color: var(--ebw-callout-example); } -.rendered-widget .callout[data-callout=excerpt], -.rendered-widget .callout[data-callout=quote], -.rendered-widget .callout[data-callout=cite], -.markdown-rendered .callout[data-callout=excerpt], -.markdown-rendered .callout[data-callout=quote], -.markdown-rendered .callout[data-callout=cite], -.markdown-preview-section .callout[data-callout=excerpt], -.markdown-preview-section .callout[data-callout=quote], -.markdown-preview-section .callout[data-callout=cite] { + +.callout[data-callout=excerpt], +.callout[data-callout=quote], +.callout[data-callout=cite] { --callout-color: var(--ebw-callout-quote); } -.rendered-widget .callout[data-callout=reference], -.markdown-rendered .callout[data-callout=reference], -.markdown-preview-section .callout[data-callout=reference] { + +.callout[data-callout=reference] { --callout-color: var(--ebw-callout-reference); } -.rendered-widget .callout[data-callout=toc], -.markdown-rendered .callout[data-callout=toc], -.markdown-preview-section .callout[data-callout=toc] { + +.callout[data-callout=toc] { --callout-color: var(--ebw-callout-toc); } -.rendered-widget .callout-title, -.markdown-rendered .callout-title, -.markdown-preview-section .callout-title { + +.theme-light .callout[data-callout=info], +.theme-light .callout[data-callout=todo], +.theme-light .callout[data-callout=note], +.theme-light .callout[data-callout=excerpt], +.theme-light .callout[data-callout=quote], +.theme-light .callout[data-callout=cite] { + --callout-title-color: var(--blue-5); +} +.theme-light .callout[data-callout=bug], +.theme-light .callout[data-callout=example], +.theme-light .callout[data-callout=abstract], +.theme-light .callout[data-callout=summary], +.theme-light .callout[data-callout=tldr] { + --callout-title-color: var(--purple-5); +} +.theme-light .callout[data-callout=question], +.theme-light .callout[data-callout=help], +.theme-light .callout[data-callout=faq], +.theme-light .callout[data-callout=tip], +.theme-light .callout[data-callout=hint], +.theme-light .callout[data-callout=important] { + --callout-title-color: var(--teal-5); +} +.theme-light .callout[data-callout=success], +.theme-light .callout[data-callout=check], +.theme-light .callout[data-callout=done] { + --callout-title-color: var(--green-5); +} +.theme-light .callout[data-callout=warning], +.theme-light .callout[data-callout=caution], +.theme-light .callout[data-callout=attention] { + --callout-title-color: var(--yellow-5); +} +.theme-light .callout[data-callout=danger], +.theme-light .callout[data-callout=error], +.theme-light .callout[data-callout=failure], +.theme-light .callout[data-callout=fail], +.theme-light .callout[data-callout=missing] { + --callout-title-color: var(--red-5); +} +.theme-light .callout[data-callout=toc], +.theme-light .callout[data-callout=reference] { + --callout-title-color: var(--gray-dark-4); +} + +.callout-title { font-family: var(--ebw-font-callout-title); } -.rendered-widget .callout-title-inner, -.markdown-rendered .callout-title-inner, -.markdown-preview-section .callout-title-inner { + +.callout-title-inner { flex: 2; } -.rendered-widget .callout-content, -.markdown-rendered .callout-content, -.markdown-preview-section .callout-content { + +.callout-content { background-color: var(--background-primary); } -.rendered-widget .callout-content > :first-child, -.markdown-rendered .callout-content > :first-child, -.markdown-preview-section .callout-content > :first-child { +.callout-content > :first-child { margin-top: 0.5em; } -.rendered-widget .callout-content > :last-child, -.markdown-rendered .callout-content > :last-child, -.markdown-preview-section .callout-content > :last-child { +.callout-content > :last-child { margin-bottom: 0.5em; } -.rendered-widget blockquote, -.markdown-rendered blockquote, -.markdown-preview-section blockquote { - overflow-x: auto; - padding: var(--callout-content-padding); -} -.rendered-widget blockquote > :first-child, -.markdown-rendered blockquote > :first-child, -.markdown-preview-section blockquote > :first-child { - margin-top: 0.5em; -} -.rendered-widget blockquote > :last-child, -.markdown-rendered blockquote > :last-child, -.markdown-preview-section blockquote > :last-child { - margin-bottom: 0.5em; -} -.rendered-widget .callout[data-callout=reference] .callout-content, -.markdown-rendered .callout[data-callout=reference] .callout-content, -.markdown-preview-section .callout[data-callout=reference] .callout-content { + +.callout[data-callout=reference] .callout-content { white-space: pre-wrap; font-family: var(--font-monospace); font-size: var(--font-smallest); color: var(--text-muted); } -.rendered-widget .callout[data-callout=reference] .callout-content p, -.markdown-rendered .callout[data-callout=reference] .callout-content p, -.markdown-preview-section .callout[data-callout=reference] .callout-content p { +.callout[data-callout=reference] .callout-content p { margin-block: 0; } -.rendered-widget .callout[data-callout=reference] .callout-content p:not(:first-child), -.markdown-rendered .callout[data-callout=reference] .callout-content p:not(:first-child), -.markdown-preview-section .callout[data-callout=reference] .callout-content p:not(:first-child) { +.callout[data-callout=reference] .callout-content p:not(:first-child) { margin-block-end: 0.5em; } -.rendered-widget .callout[data-callout=toc].callout, -.markdown-rendered .callout[data-callout=toc].callout, -.markdown-preview-section .callout[data-callout=toc].callout { + +.callout[data-callout=toc].callout { float: right; margin-left: 0.5em; min-width: 150px; } -.rendered-widget .callout[data-callout=toc] .callout-content, -.markdown-rendered .callout[data-callout=toc] .callout-content, -.markdown-preview-section .callout[data-callout=toc] .callout-content { +.callout[data-callout=toc] .callout-content { padding-right: 0.5em; } -.rendered-widget .callout[data-callout=toc] .callout-content ul, -.markdown-rendered .callout[data-callout=toc] .callout-content ul, -.markdown-preview-section .callout[data-callout=toc] .callout-content ul { +.callout[data-callout=toc] .callout-content ul { display: block; margin-block-start: 0.5em; margin-block-end: 0.5em; @@ -1685,6 +1650,28 @@ body { padding-inline-start: 30px; } +.admonition { + margin: 1em 0; + padding: var(--callout-padding); +} + +.rendered-widget blockquote, +.markdown-rendered blockquote, +.markdown-preview-section blockquote { + overflow-x: auto; + padding: var(--callout-content-padding); +} +.rendered-widget blockquote > :first-child, +.markdown-rendered blockquote > :first-child, +.markdown-preview-section blockquote > :first-child { + margin-top: 0.5em; +} +.rendered-widget blockquote > :last-child, +.markdown-rendered blockquote > :last-child, +.markdown-preview-section blockquote > :last-child { + margin-bottom: 0.5em; +} + div.popover .callout[data-callout=toc] { display: none; }