diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index c87ce283..a3a86a1f 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -105,6 +105,10 @@ def get_darkmode_state(): css_dark_mode = request.cookies.get('css_dark_mode', 'false') return 'true' if css_dark_mode and strtobool(css_dark_mode) else 'false' +@app.template_global() +def get_css_version(): + return __version__ + # We use the whole watch object from the store/JSON so we can see if there's some related status in terms of a thread # running or something similar. @app.template_filter('format_last_checked_time') diff --git a/changedetectionio/static/styles/scss/styles.scss b/changedetectionio/static/styles/scss/styles.scss index 30b2f6f2..68b95337 100644 --- a/changedetectionio/static/styles/scss/styles.scss +++ b/changedetectionio/static/styles/scss/styles.scss @@ -15,6 +15,7 @@ body { color: var(--color-text); background: var(--color-background-page); + font-family: Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif; } .visually-hidden { diff --git a/changedetectionio/static/styles/styles.css b/changedetectionio/static/styles/styles.css index a970395a..3b7a87d8 100644 --- a/changedetectionio/static/styles/styles.css +++ b/changedetectionio/static/styles/styles.css @@ -390,7 +390,8 @@ html[data-darkmode="true"] #toggle-light-mode .icon-dark { body { color: var(--color-text); - background: var(--color-background-page); } + background: var(--color-background-page); + font-family: Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif; } .visually-hidden { clip: rect(0 0 0 0); diff --git a/changedetectionio/templates/base.html b/changedetectionio/templates/base.html index d2da7aca..92cf242d 100644 --- a/changedetectionio/templates/base.html +++ b/changedetectionio/templates/base.html @@ -8,10 +8,10 @@