From 6b699f58ad73ff1d032bc47d9d76f70fd71396b7 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Mon, 18 Nov 2024 09:22:21 +0100 Subject: [PATCH 1/3] simplified color scheme selection --- blag/static/style.css | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/blag/static/style.css b/blag/static/style.css index f00afd6..8e5c332 100644 --- a/blag/static/style.css +++ b/blag/static/style.css @@ -1,33 +1,16 @@ @import "code-light.css" (prefers-color-scheme: light); @import "code-dark.css" (prefers-color-scheme: dark); -@media (prefers-color-scheme: light) { - :root { - --background: #FFFFFF; - --background-dim: #f5f7f9; - - --foreground: #2B303A; - --foreground-dim: #576379; - --foreground-heavy: #191C22; - - --primary-color: #375287; - } +:root { + color-scheme: light dark; + --background: light-dark(#FFFFFF, #2B363B); + --background-dim: light-dark(#f5f7f9, #2F3C42); + --foreground: light-dark(#2B303A, #f0f2f3); + --foreground-dim: light-dark(#576379, #d5d5d5); + --foreground-heavy: light-dark(#191C22, #f2f4f5); + --primary-color: light-dark(#375287, #A1C5FF); } -@media (prefers-color-scheme: dark) { - :root { - --background: #2B363B; - --background-dim: #2F3C42; - - --foreground: #f0f2f3; - --foreground-dim: #d5d5d5; - --foreground-heavy: #f2f4f5; - - --primary-color: #A1C5FF; - } -} - - html { font-size: 18px; font-family: serif; From ef18685cef0b354137e039b3e68d220e654f55c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:19:20 +0000 Subject: [PATCH 2/3] Bump the all group across 1 directory with 10 updates Bumps the all group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.39` | `9.5.49` | | [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.26.1` | `0.27.0` | | [twine](https://github.com/pypa/twine) | `5.1.1` | `6.0.1` | | [wheel](https://github.com/pypa/wheel) | `0.44.0` | `0.45.1` | | [pytest](https://github.com/pytest-dev/pytest) | `8.3.3` | `8.3.4` | | [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `5.0.0` | `6.0.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.6.9` | `0.8.4` | | [mypy](https://github.com/python/mypy) | `1.11.2` | `1.14.0` | | [types-markdown](https://github.com/python/typeshed) | `3.7.0.20240822` | `3.7.0.20241204` | | [jinja2](https://github.com/pallets/jinja) | `3.1.4` | `3.1.5` | Updates `mkdocs-material` from 9.5.39 to 9.5.49 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.39...9.5.49) Updates `mkdocstrings[python]` from 0.26.1 to 0.27.0 - [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases) - [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md) - [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.26.1...0.27.0) Updates `twine` from 5.1.1 to 6.0.1 - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/v5.1.1...6.0.1) Updates `wheel` from 0.44.0 to 0.45.1 - [Release notes](https://github.com/pypa/wheel/releases) - [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst) - [Commits](https://github.com/pypa/wheel/compare/0.44.0...0.45.1) Updates `pytest` from 8.3.3 to 8.3.4 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4) Updates `pytest-cov` from 5.0.0 to 6.0.0 - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0) Updates `ruff` from 0.6.9 to 0.8.4 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.6.9...0.8.4) Updates `mypy` from 1.11.2 to 1.14.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.11.2...v1.14.0) Updates `types-markdown` from 3.7.0.20240822 to 3.7.0.20241204 - [Commits](https://github.com/python/typeshed/commits) Updates `jinja2` from 3.1.4 to 3.1.5 - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocstrings[python] dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: twine dependency-type: direct:development update-type: version-update:semver-major dependency-group: all - dependency-name: wheel dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: pytest-cov dependency-type: direct:development update-type: version-update:semver-major dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: types-markdown dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: jinja2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 18 +++++++++--------- requirements.txt | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index d441bd4..3bf2a90 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,11 @@ build==1.2.2.post1 mkdocs==1.6.1 -mkdocs-material==9.5.39 -mkdocstrings[python]==0.26.1 -twine==5.1.1 -wheel==0.44.0 -pytest==8.3.3 -pytest-cov==5.0.0 -ruff==0.6.9 -mypy==1.11.2 -types-markdown==3.7.0.20240822 +mkdocs-material==9.5.49 +mkdocstrings[python]==0.27.0 +twine==6.0.1 +wheel==0.45.1 +pytest==8.3.4 +pytest-cov==6.0.0 +ruff==0.8.4 +mypy==1.14.0 +types-markdown==3.7.0.20241204 diff --git a/requirements.txt b/requirements.txt index 9a8eb4d..9a67d85 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ markdown==3.7 feedgenerator==2.1.0 -jinja2==3.1.4 +jinja2==3.1.5 pygments==2.18.0 From 85e57a7ef2ae5889650c74d432278554e414c424 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Fri, 3 Jan 2025 10:46:22 +0100 Subject: [PATCH 3/3] added py313 to github actions test suite --- .github/workflows/python-package.yaml | 1 + CHANGELOG.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index a605a6d..aa0eb5c 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -20,6 +20,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a21ca3..0bd0a3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [unreleased] + +* Added Python 3.13 to github actions + ## [2.3.2] -- 2024-10-13 * Ignore FileNotFoundError when trying to get the last modified time of files